CN109076127A - Detection method, device, electronic equipment and the medium of electronic equipment - Google Patents

Detection method, device, electronic equipment and the medium of electronic equipment Download PDF

Info

Publication number
CN109076127A
CN109076127A CN201880001321.XA CN201880001321A CN109076127A CN 109076127 A CN109076127 A CN 109076127A CN 201880001321 A CN201880001321 A CN 201880001321A CN 109076127 A CN109076127 A CN 109076127A
Authority
CN
China
Prior art keywords
acquisition device
electronic equipment
state
acquisition
attribute information
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
CN201880001321.XA
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.)
Cloudminds Shenzhen Robotics Systems Co Ltd
Cloudminds Inc
Original Assignee
Cloudminds Inc
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 Cloudminds Inc filed Critical Cloudminds Inc
Publication of CN109076127A publication Critical patent/CN109076127A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

Present disclose provides the detection methods of a kind of electronic equipment, including detecting whether the electronic equipment receives the insertion event that acquisition device is inserted into the electronic equipment;If so, judging whether the attribute information of the acquisition equipment matches with the configuration information of electronic equipment storage;If it does, setting available mode for the state of the acquisition device.Present disclose provides additionally provide detection device, electronic equipment and the computer-readable medium of a kind of electronic equipment.

Description

Detection method, device, electronic equipment and the medium of electronic equipment
Technical field
This disclosure relates to technical field of electronic equipment, and in particular to the detection method of a kind of electronic equipment, a kind of electronics are set Standby detection device, a kind of electronic equipment and a kind of medium.
Background technique
With the fast development of Internet technology, the renewal speed of electronic equipment is also getting faster.Currently, on the market Occur supporting the electronic equipment of hot plug.For example, the Mobile phone of Google belongs to the mobile phone for supporting hot plug.The electronics Screen, camera, memory space, the battery even camera of equipment can all be replaced by user.The usual mobile phone exists It when booting, needs to detect all parts of mobile phone, and be configured the state of all parts, so that user can be with The state of all parts of mobile phone is understood so that it is convenient to which user repairs or replaces to the component of failure.
But during realizing present inventive concept, at least there are the following problems in the prior art for inventor's discovery: such as For fruit in mobile phone power-on, all parts are all in available mode, but after power-up, since user is during the motion to portion Sub-unit causes connection to disconnect, and in this case, mobile phone does not detect and mark again its state to the section components, Lead to user's functional failure that section components are supported when using mobile phone in this way, to reduce user experience.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The detection method of a kind of electronic equipment that is there is provided according to the embodiment of the present disclosure, the detection device of a kind of electronic equipment, A kind of electronic equipment and a kind of medium are capable of the state of the acquisition device of real-time detection electronic equipment.
The detection method of a kind of electronic equipment is provided according to the first aspect of the disclosure, including the detection electronic equipment is The no insertion event for receiving acquisition device and being inserted into the electronic equipment;If so, judging the attribute information of the acquisition equipment Whether matched with the configuration information of electronic equipment storage;If it does, setting available for the state of the acquisition device State.
In accordance with an embodiment of the present disclosure, this method further include: detect whether the electronic equipment receives the acquisition dress The extraction event set;If so, setting down state for the acquisition device according to the extraction event.
In accordance with an embodiment of the present disclosure, when the state of the acquisition device be down state when, this method further include by Peripheral device relevant to the acquisition device is set as dormant state.
In accordance with an embodiment of the present disclosure, when the use state of the acquisition device becomes available mode from down state When, this method further include: wake up peripheral device relevant to the acquisition device.
In accordance with an embodiment of the present disclosure, this method further include detect the electronic equipment acquisition device whether support heat insert It pulls out;If supported, the attribute information of the acquisition device is recorded.
In accordance with an embodiment of the present disclosure, the attribute information of the acquisition device is stored in user's sky of the electronic equipment Between.
In accordance with an embodiment of the present disclosure, the peripheral device includes connecting the interface of the acquisition device and/or is described The power supply of acquisition device power supply.
The detection device of a kind of electronic equipment is provided according to the second aspect of the disclosure, comprising: detection module, for detecting Whether the electronic equipment receives the insertion event of acquisition device;Judgment module, if so, judging the category of the acquisition equipment Property information whether with the electronic equipment storage configuration information match;Setup module, if it does, by the acquisition device State is set as available mode.
A kind of electronic equipment is provided according to the third aspect of the disclosure, comprising: one or more processors;And storage Device, for storing one or more programs, wherein when one or more of programs are held by one or more of processors When row, so that one or more of processors execute the detection method for the electronic equipment that above-mentioned first aspect provides.
A kind of computer readable storage medium is provided according to the fourth aspect of the disclosure, is stored thereon with executable instruction, The instruction makes processor execute the detection method of the electronic equipment that above-mentioned first aspect provides when being executed by processor.
The detection method of electronic equipment provided by a kind of embodiment of the disclosure, this method can start in electronic equipment Later, the state of acquisition device is judged by the way that whether detection electronic equipment receives the insertion event of acquisition device.Specifically, If it is determined that the electronic equipment receives the insertion event of acquisition device, it can further judge that the attribute information for acquiring equipment is The no configuration information with electronic equipment storage matches, if it does, setting available mode for the state of acquisition device, instead It sets down state for the state of acquisition device, so that user can recognize acquisition in real time if mismatched The state of equipment, and then will not influence the use of user, improve user experience.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
Fig. 1 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the embodiment of the present disclosure;
Fig. 2 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment;
Fig. 3 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment;
Fig. 4 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment;
Fig. 5 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment;
Fig. 6 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment;
Fig. 7 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment;
Fig. 8 diagrammatically illustrates the block diagram of the detection device of the electronic equipment according to the embodiment of the present disclosure;
Fig. 9 diagrammatically illustrates the block diagram of the computer system of the electronic equipment according to the embodiment of the present disclosure.
Specific embodiment
Example embodiment will be described more fully in conjunction with attached drawing now.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps More details fully understand embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that can It is omitted with technical solution of the disclosure one or more in the specific detail, or others side can be used Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
Term "one", " one ", "the" and " described " to indicate there are one or more elements/component part/etc.;With Language " comprising " and " having " is to indicate the open meaning being included and refer to element/composition portion in addition to listing Also may be present except divide/waiting other element/component part/etc.;Term " first " and " second " etc. are only used as label, no It is the quantity limitation to its object.
Fig. 1 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the embodiment of the present disclosure.
As shown in Figure 1, the detection method of electronic equipment includes step S110~step S140.
In step s 110, the insertion event whether electronic equipment receives acquisition device is detected.
In the step s 120, if so, judging whether the attribute information of the acquisition equipment stores with the electronic equipment Configuration information matching.
In step s 130, if it does, setting available mode for the state of the acquisition device.
In step S140, if mismatched, down state is set by the state of the acquisition device.
Whether this method can receive the insertion of acquisition device by detecting electronic equipment after electronic equipment starting Event judges the state of acquisition device.Specifically, if it is determined that the electronic equipment receives the insertion event of acquisition device, can Judge whether the attribute information for acquiring equipment matches with the configuration information of electronic equipment storage with further, if it does, will The state of acquisition device is set as available mode, whereas if mismatching, sets unavailable shape for the state of acquisition device State, so that user can recognize the state of acquisition equipment in real time, and then will not influence the use of user, improve user Experience.
In some embodiments of the present disclosure, electronic equipment can be mobile phone, but be not limited to mobile phone.For example, it may be supporting The mobile phone of acquisition device hot plug.The acquisition device can be with the camera module of mobile phone.
It, can be with the plug state of the acquisition device in real-time detection electronic equipment, when adopting in some embodiments of the present disclosure When acquisition means are inserted into electronic equipment, the service routine of acquisition device has received the insertion event of acquisition device, in such case Under, the service routine of acquisition device can be also used for judging whether the attribute information of the acquisition device matches with what electronic equipment stored Information matches are set, and the state of corresponding acquisition device is set according to judging result.
For example, the service routine of acquisition device can detecte the configuration information of the acquisition device in electronic equipment, electricity is obtained The attribute information of the total quantity for the acquisition device that sub- equipment is currently supported and each acquisition device.For supporting hot plug Acquisition device is not acquired the processes such as the detection of device immediately in electronic equipment starting, but directly skips the process, Be arranged hot plug acquisition device state be it is unavailable, then wait acquisition device service routine receive acquisition device insert After incoming event, the match condition of the attribute information of acquisition device and the configuration information of electronic equipment storage is judged, and according to matching As a result it is available that the state of acquisition device, which is arranged, and notifies corresponding application program.On the contrary, the service routine in acquisition device connects After the extraction event for receiving acquisition device, the state of the service routine setting acquisition device of acquisition device is unavailable, and is notified Corresponding application program.
When acquisition device is extracted from electronic equipment, specific implementation process can refer to Fig. 2.
As shown in Fig. 2, this method further includes step S210 and step S220.
In step S210, the extraction the event whether electronic equipment receives the acquisition device is detected.
In step S220, if so, setting down state for the acquisition device according to the extraction event.
This method can set the state of acquisition device according to the extraction event for receiving acquisition device.For example, if Acquisition device and electronic equipment interfaces poor contact or acquisition device break down, can be in order to user by the above method Maintenance in time or replacement acquisition device.
In some embodiments of the present disclosure, when acquisition device is extracted from electronic equipment, the service routine of acquisition device Have received the extraction event of acquisition device, the service routine of acquisition device can be according to the extraction event by the shape of acquisition device State is set as down state, and the acquisition device under down state cannot use its corresponding function.
Fig. 3 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment.
As shown in figure 3, this method further includes step S310 when the state of the acquisition device is down state.
In step s 110, the insertion event whether electronic equipment receives acquisition device is detected.
In the step s 120, if so, judging whether the attribute information of the acquisition equipment stores with the electronic equipment Configuration information matching.
In step s 130, if it does, setting available mode for the state of the acquisition device.
In step S140, if mismatched, down state is set by the state of the acquisition device.
It in step s310, will be related to the acquisition device when the state of the acquisition device is down state Peripheral device be set as dormant state.
In the method, when the configuration information of the attribute information of the acquisition device of insertion electronic equipment and electronic equipment not The state of the acquisition device is set down state by timing, and will peripheral device setting relevant to the acquisition device For dormant state, facilitate to save electricity for electronic equipment in this way, to increase the stand-by time of electronic equipment.
In some embodiments of the present disclosure, peripheral device may include connecting the interface of acquisition device and/or filling for acquisition Set the power supply of power supply.
Fig. 4 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment.
As shown in figure 4, this method further includes step S410 when the state of the acquisition device is down state.
In step S210, the extraction the event whether electronic equipment receives the acquisition device is detected.
In step S220, if so, setting down state for the acquisition device according to the extraction event.
It, will be related to the acquisition device when the state of the acquisition device is down state in step S410 Peripheral device be set as dormant state.
In the method, if electronic equipment receives the extraction event of the acquisition device, which is set It is set to down state, and sets dormant state for peripheral device relevant to the acquisition device, is facilitated in this way as electronics Equipment saves electricity, to increase the stand-by time of electronic equipment.
In some embodiments of the present disclosure, peripheral device may include connecting the interface of acquisition device and/or filling for acquisition Set the power supply of power supply.
Fig. 5 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment.
As shown in figure 5, this method further includes when the state of the acquisition device becomes available mode from down state Step S510.
In step s 110, the insertion event whether electronic equipment receives acquisition device is detected.
In the step s 120, if so, judging whether the attribute information of the acquisition equipment stores with the electronic equipment Configuration information matching.
In step s 130, if it does, setting available mode for the state of the acquisition device.
In step S140, if mismatched, down state is set by the state of the acquisition device.
It in step s310, will be related to the acquisition device when the state of the acquisition device is down state Peripheral device be set as dormant state.
In step S510, when the state of the acquisition device becomes available mode from down state, wakes up and adopt The relevant peripheral device of acquisition means.
In the method, when the configuration information of the attribute information of the acquisition device of insertion electronic equipment and electronic equipment not Timing sets down state for the state of the acquisition device, and peripheral device relevant to acquisition device is set as stopping Dormancy state, in this case, if user is over time, user has replaced new acquisition device, and this is adopted at this time The attribute information of acquisition means is matched with the configuration information that electronic equipment stores, and the down state of acquisition device is revised as can be used State, while peripheral device relevant to acquisition device is waken up, to realize the state of intelligentized control method peripheral device.
In some embodiments of the present disclosure, if the attribute information of the acquisition device of insertion electronic equipment and electronic equipment When configuration information mismatches, user can obtain the electronics and set by checking the configuration information of the acquisition device of electronic equipment storage The standby acquisition device that can support which type is so that it is convenient to which user quickly finds the acquisition device of electronic equipment support.
Fig. 6 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment.
As shown in fig. 6, this method further includes when the state of the acquisition device becomes available mode from down state Step S610.
In step S210, the extraction the event whether electronic equipment receives the acquisition device is detected.
In step S220, if so, setting down state for the acquisition device according to the extraction event.
It, will be related to the acquisition device when the state of the acquisition device is down state in step S410 Peripheral device be set as dormant state.
In step S610, when the state of the acquisition device becomes available mode from down state, wakes up and adopt The relevant peripheral device of acquisition means.
In the method, when electronic equipment receives the extraction event of the acquisition device, by the shape of the acquisition device State is set as down state, and sets dormant state for peripheral device relevant to acquisition device, in this case, such as Acquisition device over time, and is inserted into electronic equipment by fruit user, and the down state of acquisition device is revised as can be used State, while peripheral device relevant to acquisition device is waken up, to realize the state of intelligentized control method peripheral device.
In some embodiments of the present disclosure, peripheral device may include connecting the interface of acquisition device and/or filling for acquisition Set the power supply of power supply.
Fig. 7 diagrammatically illustrates the flow chart of the detection method of the electronic equipment according to the disclosure another embodiment.
As shown in fig. 7, this method further includes step S710 and step S720.
In step S710, whether the acquisition device for detecting the electronic equipment supports hot plug.
In step S720, if supported, the attribute information of the acquisition device is recorded.
Whether the acquisition device that this method can detecte electronic equipment supports hot plug, if supported, records the acquisition The attribute information of device is so that it is convenient to accumulate which acquisition device the electronic equipment specifically supports.
In some embodiments of the present disclosure, the attribute information of acquisition device can include but is not limited to resolution ratio, pixel, height Clear camera shooting, size sensor, sensor type, shooting performance, interface parameters, Flashing Light Parameters, lens parameters, spectrum assignment etc. Deng.
The user's space of electronic equipment is stored in the attribute information of some embodiments of the present disclosure, acquisition device.For example, The attribute information of acquisition device can store in the camera realization frame of user's space.
In some embodiments of the present disclosure, acquisition device can be realized by being stored in the control instruction of kernel spacing Function.For example, control instruction can store in the camera realization frame of kernel spacing, which may be implemented to take a picture The functions such as take pictures, image of machine.
For example, during implementing the detection method for the electronic equipment that the disclosure provides, the operating system of electronic equipment Camera in kernel realizes that frame can read the configuration information of the camera stored in user's space, and according to camera Configuration information starts the driving of the processor peripheral hardware of operation support camera module operation.Support the camera module of hot plug, The not driving of the processor peripheral hardware of starting operation support camera module operation immediately in electronic equipment starting, but protect Hold resting state.After camera services program receives the insertion event of camera module, starting detection module detection When, restart the driving of the processor peripheral hardware of operation support camera module operation, with the mistake for supporting camera module to detect Journey.After camera services program receives the extraction event of camera module, the processing of camera module operation will be supported Device peripheral device is set as suspend mode.It, will after camera services program receives the insertion event of camera module again The processor peripheral device for supporting the camera module to run is set as awakening mode, to support the operation to camera module.
Fig. 8 diagrammatically illustrates the block diagram of the detection device of the electronic equipment according to the embodiment of the present disclosure.
As shown in figure 8, the detection device 800 of electronic equipment includes detection module 810, judgment module 820 and setup module 830。
Specifically, whether detection module 810 receive the insertion event of acquisition device for detecting the electronic equipment.
Judgment module 820, if so, judging what whether the attribute information of the acquisition equipment stored with the electronic equipment Configuration information matching.
Setup module 830, if it does, setting available mode for the state of the acquisition device.
The detection device 800 of the electronic equipment can be after electronic equipment starting, by detecting whether electronic equipment connects The insertion event of acquisition device is received to judge the state of acquisition device.Specifically, if it is determined that the electronic equipment, which receives, to be adopted The insertion event of acquisition means, can further judge to acquire equipment attribute information whether with electronic equipment storage with confidence Breath matching, if it does, available mode is set by the state of acquisition device, whereas if mismatching, by the shape of acquisition device State is set as down state, so that user can recognize the state of acquisition equipment in real time, and then will not influence user Use, improve user experience.
According to an embodiment of the invention, the detection device 800 of electronic equipment can be used to implement above-mentioned FIG. 1 to FIG. 7 description Electronic equipment detection method.
Since the modules of the detection device 800 of the electronic equipment of example embodiments of the present invention can be used to implement The step of stating the example embodiment of the detection method of electronic equipment, therefore for undisclosed thin in apparatus of the present invention embodiment Section please refers to the embodiment of the detection method of the above-mentioned electronic equipment of the present invention.
Fig. 9 diagrammatically illustrates the block diagram of the computer system of the electronic equipment according to the embodiment of the present disclosure.
Below with reference to Fig. 9, it illustrates the computer systems 900 for the electronic equipment for being suitable for being used to realize the embodiment of the present invention Structural schematic diagram.The computer system 900 of electronic equipment shown in Fig. 9 is only an example, should not be to the embodiment of the present invention Function and use scope bring any restrictions.
As shown in figure 9, computer system 900 includes central processing unit (CPU) 901, it can be read-only according to being stored in Program in memory (ROM) 902 or be loaded into the program in random access storage device (RAM) 903 from storage section 908 and Execute various movements appropriate and processing.In RAM 903, it is also stored with various programs and data needed for system operatio.CPU 901, ROM 902 and RAM903 is connected with each other by bus 904.Input/output (I/O) interface 905 is also connected to bus 904。
I/O interface 905 is connected to lower component: the importation 906 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 907 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 908 including hard disk etc.; And the communications portion 909 of the network interface card including LAN card, modem etc..Communications portion 909 via such as because The network of spy's net executes communication process.Driver 910 is also connected to I/O interface 905 as needed.Detachable media 911, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 910, in order to read from thereon Computer program be mounted into storage section 908 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 909, and/or from detachable media 911 are mounted.When the computer program is executed by central processing unit (CPU) 901, executes and limited in the system of the application Above-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment. Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs When standby execution, so that the electronic equipment realizes the detection method such as above-mentioned electronic equipment as described in the examples.
For example, the electronic equipment may be implemented as shown in Figure 1: step S110, detecting the electronic equipment is The no insertion event for receiving acquisition device;Step S120, if so, judge it is described acquisition equipment attribute information whether with institute State the configuration information matching of electronic equipment storage;Step S130, if it does, setting available for the state of the acquisition device State;Step S140 sets down state for the state of the acquisition device if mismatched.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. the detection method of a kind of electronic equipment, comprising:
Detect the insertion event whether electronic equipment receives acquisition device;
If so, judging whether the attribute information of the acquisition equipment matches with the configuration information of electronic equipment storage;
If it does, setting available mode for the state of the acquisition device.
2. according to the method described in claim 1, further include:
Detect the extraction the event whether electronic equipment receives the acquisition device;
If so, setting down state for the acquisition device according to the extraction event.
3. the method according to claim 1, wherein when the state of the acquisition device be down state when, This method further include:
Dormant state is set by peripheral device relevant to the acquisition device.
4. the method according to claim 1, wherein when the use state of the acquisition device is by down state When becoming available mode, this method further include:
Wake up peripheral device relevant to the acquisition device.
5. according to the method described in claim 1, further include:
Whether the acquisition device for detecting the electronic equipment supports hot plug;
If supported, the attribute information of the acquisition device is recorded.
6. according to the method described in claim 5, it is characterized in that, the attribute information of the acquisition device is stored in the electronics The user's space of equipment.
7. the method according to claim 3 or 4, which is characterized in that the peripheral device includes connecting the acquisition device Interface and/or for the acquisition device power supply power supply.
8. the detection device of a kind of electronic equipment, comprising:
Whether detection module receives the insertion event of acquisition device for detecting the electronic equipment;
Judgment module, if so, judge the acquisition equipment attribute information whether with electronic equipment storage with confidence Breath matching;
Setup module, if it does, setting available mode for the state of the acquisition device.
9. a kind of electronic equipment, comprising:
One or more processors;And
Storage device, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of Processor executes method described in any one according to claim 1~7.
10. a kind of computer-readable medium, is stored thereon with executable instruction, which hold processor when being executed by processor Method described in capable any one according to claim 1~7.
CN201880001321.XA 2018-08-10 2018-08-10 Detection method, device, electronic equipment and the medium of electronic equipment Pending CN109076127A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/099944 WO2020029244A1 (en) 2018-08-10 2018-08-10 Method and apparatus for detecting electronic device, and electronic device and medium

Publications (1)

Publication Number Publication Date
CN109076127A true CN109076127A (en) 2018-12-21

Family

ID=64789334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880001321.XA Pending CN109076127A (en) 2018-08-10 2018-08-10 Detection method, device, electronic equipment and the medium of electronic equipment

Country Status (2)

Country Link
CN (1) CN109076127A (en)
WO (1) WO2020029244A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393791A (en) * 2011-07-06 2012-03-28 杭州华三通信技术有限公司 Device and method for realizing power supply control on hardware modules
CN103809879A (en) * 2014-02-20 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
CN103870376A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Electronic device extension board card detection method and electronic device
CN104750355A (en) * 2013-12-31 2015-07-01 三星电子株式会社 Screen display method and electronic device supporting same
CN107153621A (en) * 2017-04-20 2017-09-12 青岛海信电器股份有限公司 device identification method and device
CN107608739A (en) * 2017-09-18 2018-01-19 广州视源电子科技股份有限公司 The method, apparatus and equipment of program on a kind of automatic running HID device
CN107918550A (en) * 2016-10-08 2018-04-17 中标软件有限公司 A kind of method for USB device history service condition of auditing under linux system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393791A (en) * 2011-07-06 2012-03-28 杭州华三通信技术有限公司 Device and method for realizing power supply control on hardware modules
CN103870376A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Electronic device extension board card detection method and electronic device
CN104750355A (en) * 2013-12-31 2015-07-01 三星电子株式会社 Screen display method and electronic device supporting same
CN103809879A (en) * 2014-02-20 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
CN107918550A (en) * 2016-10-08 2018-04-17 中标软件有限公司 A kind of method for USB device history service condition of auditing under linux system
CN107153621A (en) * 2017-04-20 2017-09-12 青岛海信电器股份有限公司 device identification method and device
CN107608739A (en) * 2017-09-18 2018-01-19 广州视源电子科技股份有限公司 The method, apparatus and equipment of program on a kind of automatic running HID device

Also Published As

Publication number Publication date
WO2020029244A1 (en) 2020-02-13

Similar Documents

Publication Publication Date Title
US10380050B2 (en) Electronic device configured to communicate with an external electronic device using a USB connector
CN107101665B (en) Motion information providing method and electronic device supporting the same
CN105426141B (en) Information processing method and electronic device supporting the same
US10257416B2 (en) Apparatus and method for setting camera
CN110264935B (en) Display driving method, display driving integrated circuit and electronic device
US20170046111A1 (en) Electronic device and information sharing method thereof
CN105653084B (en) Screen configuration method, electronic device and storage medium
US10503390B2 (en) Electronic device and photographing method
EP3101509A1 (en) Electronic device and method for controlling execution of application in electronic device
US20150244185A1 (en) Method and apparatus for power sharing
US10366029B2 (en) Data transceiving method and device
US20180063361A1 (en) Electronic device and method of providing image acquired by image sensor to application
WO2017010792A1 (en) Card registration method for payment service and mobile electronic device implementing the same
US10999501B2 (en) Electronic device and method for controlling display of panorama image
CN108605261B (en) Electronic device and operation method thereof
US9965822B2 (en) Electronic device and method for processing a plurality of image pieces
US20160286132A1 (en) Electronic device and method for photographing
US10705681B2 (en) Electronic device and display method for selecting an area of an icon
US11217207B2 (en) Electronic device and method for controlling display thereof
US9942467B2 (en) Electronic device and method for adjusting camera exposure
US20170006224A1 (en) Camera operating method and electronic device implementing the same
WO2018111039A1 (en) Method for charging electronic device, electronic device, and storage medium
US10613724B2 (en) Control method for selecting and pasting content
US10187506B2 (en) Dual subscriber identity module (SIM) card adapter for electronic device that allows for selection between SIM card(s) via GUI display
US20160041864A1 (en) Method for processing data and electronic device therefor

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221