CN105573926B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN105573926B
CN105573926B CN201510920922.9A CN201510920922A CN105573926B CN 105573926 B CN105573926 B CN 105573926B CN 201510920922 A CN201510920922 A CN 201510920922A CN 105573926 B CN105573926 B CN 105573926B
Authority
CN
China
Prior art keywords
electronic equipment
wireless communication
wireless
interface
rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510920922.9A
Other languages
Chinese (zh)
Other versions
CN105573926A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510920922.9A priority Critical patent/CN105573926B/en
Publication of CN105573926A publication Critical patent/CN105573926A/en
Application granted granted Critical
Publication of CN105573926B publication Critical patent/CN105573926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of information processing method and electronic equipments, the described method includes: whether being connected with third electronic equipment on the first interface of the first electronic equipment of detection, the third electronic equipment can match with the second electronic equipment and connect and carry out wireless communication, and the first interface is Universal Serial Bus Interface;When being connected with the third electronic equipment on the first interface, the wireless communication rule between second electronic equipment and the third electronic equipment is obtained;It is directly carried out wireless communication with the wireless communication rule with second electronic equipment by the wireless communication module in first electronic equipment, so that processing of the wireless communication without the third electronic equipment.The application provides the above method, and when for solving equipment of the use existing in the prior art containing wireless receiver, the technical issues of occupying the interface of electronic equipment realizes and saves the technical effect that electronic equipment interfaces use.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the continuous development of science and technology, electronic equipment using more and more extensive.In order to make electronic equipment more Add portable, many electronic equipments all tend to be frivolous small and exquisite in design.Meanwhile in order to keep original in frivolous small and exquisite equipment Function, electronic equipment can arrange quite compact in structure.In this compact equipment, external-connected port just seems very Preciousness usually can only be arranged one to two such as USB (UniversalSerialBus, Universal Serial Bus Interface) interface.
In the prior art, wireless mouse is equipped with a wireless receiver, in use, by wireless receiver It is inserted in USB interface, completing the pairing with wireless mouse just can be used wireless mouse.It is similar, Wireless Keyboard or include it He can occupy an interface by wireless receiver.In this case, it when user uses these external equipments, results in and occupies electricity The USB interface of sub- equipment.As it can be seen that electronic equipment can be occupied when equipment of the use containing wireless receiver exists in the prior art Interface the technical issues of.
Summary of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solving existing in the prior art make When with equipment containing wireless receiver, the technical issues of occupying the interface of electronic equipment, realizes and saves electronic equipment and connect The technical effect that mouth uses.
On the one hand the embodiment of the present application provides a kind of information processing method, comprising:
It detects and whether is connected with third electronic equipment on the first interface of the first electronic equipment, the third electronic equipment energy Enough match with the second electronic equipment connects and carries out wireless communication, and the first interface is Universal Serial Bus Interface;
When being connected with the third electronic equipment on the first interface, second electronic equipment and described the are obtained Wireless communication rule between three electronic equipments;
By the wireless communication module in first electronic equipment with the wireless communication rule and second electronics Equipment directly carries out wireless communication, so that processing of the wireless communication without the third electronic equipment.
Optionally, the rule of communication obtained between second electronic equipment and the third electronic equipment, comprising:
Obtain the reception rule and/or solution of the wireless signal that the third electronic equipment sends second electronic equipment Code rule.
Optionally, the rule of communication obtained between second electronic equipment and the third electronic equipment, comprising:
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is institute It states the second electronic equipment and executes the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the rule of communication is obtained.
Optionally, after whether being connected with third electronic equipment on the first interface of the first electronic equipment of the detection, The method also includes:
When being not connected with having the third electronic equipment on the first interface, obtain what second electronic equipment was sent Identification information in wireless signal;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the nothing Line communication module and second electronic equipment carry out pairing connection.
Optionally, first electronic equipment is passed through into the wireless communication module and second electronic equipment described After carrying out pairing connection, the method also includes:
When first electronic equipment and second electronic equipment carry out wireless data transmission, to the wireless data It is encrypted.
Optionally, second electronic equipment includes wireless mouse, Wireless Keyboard.
On the other hand the application provides a kind of first electronic equipment, comprising:
First interface, for connecting third electronic equipment, the third electronic equipment can be matched with the second electronic equipment It connects and carries out wireless communication, the first interface is Universal Serial Bus Interface;
Wireless communication module;
Processor;
Wherein, the processor is used for when being connected with the third electronic equipment on the first interface, described in acquisition Wireless communication rule between second electronic equipment and the third electronic equipment;By the wireless communication module with the nothing Line rule of communication is directly carried out wireless communication with second electronic equipment, so that the wireless communication is without the third electricity The processing of sub- equipment.
Optionally, the processor is used for:
Obtain the reception rule and/or solution of the wireless signal that the third electronic equipment sends second electronic equipment Code rule.
Optionally, the processor is used for:
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is institute It states the second electronic equipment and executes the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the rule of communication is obtained.
Optionally, the processor is also used to:
When being not connected with having the third electronic equipment on the first interface, obtain what second electronic equipment was sent Identification information in wireless signal;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the nothing Line communication module and second electronic equipment carry out pairing connection.
Optionally, the processor is also used to:
When first electronic equipment and second electronic equipment carry out wireless data transmission, to the wireless data It is encrypted.
Optionally, second electronic equipment includes wireless mouse, Wireless Keyboard.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
Whether first detection unit is connected with third electronic equipment on the first interface for detecting the electronic equipment, The third electronic equipment can match with the second electronic equipment and connect and carry out wireless communication, and the first interface is general string Row bus interface;
First acquisition unit when for being connected with the third electronic equipment on the first interface, obtains described the Wireless communication rule between two electronic equipments and the third electronic equipment;
First communication unit, for directly carrying out channel radio with second electronic equipment with the wireless communication rule Letter, so that processing of the wireless communication without the third electronic equipment.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
One, whether the scheme in the embodiment of the present application is connected on the USB interface by detecting the first electronic equipment wireless Receiver, detect be connected with wireless receiver when, obtain wireless receiver and the second electronic equipment (such as wireless mouse, nothing Line keyboard etc.) between wireless communication rule.By the wireless communication module of electronic equipment itself with the wireless communication rule It is carried out wireless communication with second electronic equipment, in this way, the communication between second electronic equipment and electronic equipment is with regard to nothing Taking part in for wireless receiver is needed, therefore wireless receiver can be removed on USB interface, a USB interface has been saved.It can See, when the scheme in the embodiment of the present application efficiently solves equipment of the use existing in the prior art containing wireless receiver, The technical issues of interface of electronic equipment can be occupied, realizes and saves the technical effect that electronic equipment interfaces use.
Two, whether the scheme in the embodiment of the present application is connected with the third electronics on the first interface by detecting Equipment obtains the rule of communication between third electronic equipment and the second electronic equipment when being connected with third electronic equipment.Not When being connected with third electronic equipment, it is to determine second electronic equipment by the identification information that the second electronic equipment is sent then The no equipment to match with the first electronic equipment passes through the wireless communication module of the first electronic equipment if it is paired device It is communicated.As it can be seen that the scheme in the embodiment of the present application can effectively be compatible with the first electronic equipment specific wireless apparatus and General-purpose wireless device.
Three, the scheme in the embodiment of the present application is right when the first electronic equipment and the second electronic equipment carry out wireless communication The wireless data of transmission is encrypted, even if intercepting wireless data by criminal, is not also available, and wireless transmission is improved Safety.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Apply embodiment, for those of ordinary skill in the art, without creative efforts, can also basis mention The attached drawing of confession obtains other attached drawings.
Fig. 1 is a kind of flow chart for information processing method that the embodiment of the present application one provides;
Fig. 2 is the structural block diagram for a kind of electronic equipment that the embodiment of the present application two provides;
Fig. 3 is the structural block diagram for a kind of electronic equipment that the embodiment of the present application three provides.
Specific embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solving existing in the prior art make When with equipment containing wireless receiver, the technical issues of occupying the interface of electronic equipment, realizes and saves electronic equipment and connect The technical effect that mouth uses.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
It detects and whether is connected with third electronic equipment on the first interface of the first electronic equipment, the third electronic equipment energy Enough match with the second electronic equipment connects and carries out wireless communication, and the first interface is Universal Serial Bus Interface;Described When being connected with the third electronic equipment on first interface, obtain between second electronic equipment and the third electronic equipment Wireless communication rule;By the wireless communication module in first electronic equipment with wireless communication rule and described the Two electronic equipments directly carry out wireless communication, so that processing of the wireless communication without the third electronic equipment.
In above-mentioned technical proposal, whether it is connected with wireless receiver on the USB interface by detecting the first electronic equipment, It detects when being connected with wireless receiver, obtains wireless receiver and the second electronic equipment (such as wireless mouse, Wireless Keyboard) Between wireless communication rule.By the wireless communication module of electronic equipment itself with the wireless communication rule and described second Electronic equipment carries out wireless communication, in this way, the communication between second electronic equipment and electronic equipment is just not necessarily to wireless receiving Device takes part in, therefore wireless receiver can be removed on USB interface, has saved a USB interface.As it can be seen that the application When scheme in embodiment efficiently solves equipment of the use existing in the prior art containing wireless receiver, electronics can be occupied The technical issues of interface of equipment, realizes and saves the technical effect that electronic equipment interfaces use.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present application and embodiment In technical characteristic can be combined with each other.
Embodiment one
Referring to FIG. 1, the embodiment of the present application provides a kind of information processing method, comprising:
S10: it whether is connected with third electronic equipment on the first interface of the first electronic equipment of detection, the third electronics is set Standby can match with the second electronic equipment connects and carries out wireless communication, and the first interface is Universal Serial Bus Interface;
S20: when being connected with the third electronic equipment on the first interface, second electronic equipment and institute are obtained State the wireless communication rule between third electronic equipment;
S30: by the wireless communication module in first electronic equipment with the wireless communication rule and described second Electronic equipment directly carries out wireless communication, so that processing of the wireless communication without the third electronic equipment.
In the specific implementation process, first electronic equipment for laptop, tablet computer or other can include There is the electronic equipment of USB interface, is just not listed one by one herein.Using the first electronic equipment as notebook electricity in the embodiment of the present application For brain, it is described in detail come the realization process to the method in the embodiment of the present application.
Firstly, executing step S10: it whether is connected with third electronic equipment on the first interface of the first electronic equipment of detection, The third electronic equipment can match with the second electronic equipment and connect and carry out wireless communication, and the first interface is general string Row bus interface.
Specifically, it when using wireless mouse, Wireless Keyboard, needs to plug on the USB interface of electronic equipment respectively Wireless receiver, can be used normally after successful matching.For another example, some audio frequency apparatuses are furnished with Bluetooth audio receiver, make Used time needs for Bluetooth audio receiver to be inserted on the USB interface of electronic equipment.In this application, first electronics is detected to set Whether third electronic equipment is connected on standby first interface, the third electronic equipment is wireless receiver, and described second Electronic equipment is the equipment such as wireless mouse, Wireless Keyboard, Baffle Box of Bluetooth, for ease of description the scheme in the application, below will It is explained so that the second electronic equipment is wireless mouse as an example.
Next, executing step S20: when being connected with the third electronic equipment on the first interface, described in acquisition Wireless communication rule between second electronic equipment and the third electronic equipment.
Specifically, using the first electronic equipment as laptop, the second electronic equipment be wireless mouse for, existing In technology, it is provided with wireless transmitter in wireless mouse, wireless transmitter is movement of the mouse on X or Y-axis, mousebutton The information pressed or lifted is converted into wireless signal and sends, and wireless receiver carries out signal after receiving the wireless signal Decoding, and pass to laptop.In order to use the first electronic equipment, i.e. wireless communication module built in laptop comes Instead of third electronic equipment, when being connected with wireless receiver on first interface, wireless receiving is obtained by simulating or learning Wireless communication rule between device and wireless mouse.Here wireless communication rule is between wireless mouse and wireless receiver Communication protocol, including data encapsulation format, coding and decoding rule, send data and occupy frequency range etc..
Next, executing step S30: by the wireless communication module in first electronic equipment with the wireless communication It is regular directly to be carried out wireless communication with second electronic equipment, so that the wireless communication is without the third electronic equipment Processing.
Specifically, it is provided with wireless communication module in the first electronic equipment in the application, is obtaining wireless mouse After rule of communication between wireless receiver, the wireless communication module can replace wireless receiver function come with Wireless mouse is communicated, and no longer needs to be handled by wireless receiver.In this case, so that it may which wireless receiver exists It is removed on USB interface, saves a USB interface.
Further, step S20 includes but is not limited to following two implementation in the specific implementation process.
The first implementation
Obtain the reception rule and/or solution of the wireless signal that the third electronic equipment sends second electronic equipment Code rule.
Specifically, still by taking wireless mouse as an example, during using wireless mouse, wireless mouse can be using spread spectrum Technology is sent after being modulated the spread spectrum code sequence with high code rate.After wireless receiver receives the sequence, use Identical modulation system is decoded it, and spread spectrum code sequence is reduced into raw information.And wireless mouse and wireless receiving Device needs send and receive data in identical channel.It is wireless in order to replace the wireless communication module in the first electronic equipment Receiver needs to obtain wireless receiver to the receiving channel of wireless data, decoding process, it is, of course, also possible to it His rule of communication obtains, and the application is not specifically limited.When obtaining, the reception is regular and/or decoding is regular, institute Stating wireless communication module can directly be communicated with wireless mouse.
Second of implementation
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is institute It states the second electronic equipment and executes the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the rule of communication is obtained.
Specifically, in order to which module by wireless communication replaces third electronic equipment, laptop end can be passed through Preset instructions obtain the corresponding relationship between laptop and wireless mouse.Such as, laptop end can show one A little preset instructions, are such as moved to the left, correspondingly, wireless mouse executes movement according to the preset instructions, user holds mouse for mouse Mark is moved to the left, and the movement laptop end based on mouse will record corresponding position and signal.Make pen in this way Remember that this computer can simulate the transmitting signal communicated between wireless mouse and receive signal.In order to enable laptop mould Quasi- signal is more accurate, can enrich the instruction set of preset instructions, such as moves right, clicks left button, double-click left button, scroll up Movable pulley etc..For each preset instructions, laptop can all be recorded the feedback signal of mouse, subsequent logical It is used during letter.
Further, in the specific implementation process, the second electronic equipment can be divided into two major classes, a kind of to set for general Standby, one kind is special equipment matched with the first electronic equipment.Still by taking wireless mouse as an example, general wireless mouse can be The equipment that can be used in any equipment, i.e., general wireless mouse all contain wireless receiver.Dedicated wireless mouse be with First electronic equipment matches the equipment used, and in this application, in order to save interface, dedicated wireless mouse can be used directly Wireless communication module built in first electronic equipment is as receiver, therefore dedicated wireless mouse does not have individual wireless receiving Device.
Method when being communicated with dedicated second electronic equipment, in the application further include:
When being not connected with having the third electronic equipment on the first interface, obtain what second electronic equipment was sent Identification information in wireless signal;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the nothing Line communication module and second electronic equipment carry out pairing connection.
Specifically, when on the first interface of the first electronic equipment without connection wireless receiver, show the second electronics Equipment can be communicated directly with wireless communication module, i.e. the second electronic equipment is the special equipment of the first electronic equipment.When When second electronic equipment is wireless mouse, in order to carry out pairing connection with the first electronic equipment, wireless mouse can be to the first electronics Equipment sends a wireless signal, includes the identification information of wired/wireless mouse in the wireless signal, such as the ID of mouse.The wireless signal It can be realized, can also independently be sent by mouse, the application is not done by pressing the dial-up key being arranged on wireless mouse It is specific to limit.In the specific implementation process, there may be multiple special equipments for the first electronic equipment, such as keyboard special, dedicated mouse Mark 1, mouse special 2 etc., in order to distinguish each equipment, each equipment can have respective identification information.Therefore, contain when receiving When having the signal of the identification information of mouse, can determine whether the identification information whether the first electronic equipment default identification information set In, if showing that the mouse is the mouse special of the first electronic equipment.Next, then can be according to the first electronic equipment In the rule of communication that sets be communicatively coupled with the second electronic equipment.
In addition, can choose the input directly in the first electronic equipment should in the ID for having known wireless mouse ID, for example, ID be 8200012, ID last two 12 expressions launch channel number, first 8 representation signal interval time of ID, I.e. every 8ms sends a signal and receives a signal.First electronic equipment can be received and be sent out according to these information Penetrate signal.If the first electronic equipment only needs continuously to receive 20ms, the signal of wireless mouse transmission just centainly can receive, After the signal for receiving wireless mouse transmission, the first electronic equipment can will include that the signal of pair configuration information emits to nothing Line Mouse carries out pairing matching in this way.
Further, the first electronic equipment can also obtain the signal of mouse emitting by successively searching each channel, And determine initial time and the interval of wireless mouse transmitting signal.First electronic equipment emits signal in the time set, when After wireless mouse receives the signal of the first electronic equipment transmitting, start to be communicated.
In the embodiment of the present application, in order to guarantee the communication security between the first electronic equipment and the second electronic equipment, institute State method further include:
When first electronic equipment and second electronic equipment carry out wireless data transmission, to the wireless data It is encrypted.
Specifically, during being communicated using wireless device with the first electronic equipment, Wireless Keyboard is such as used Or when wireless mouse with keyboard, the personal informations such as account name, password of user are often inputted.If not to wireless data into Row encryption is easy to obtain the personal information of user after data are intercepted by criminal.Therefore, in the embodiment of the present application, It can negotiate specific encryption mode between the first electronic equipment and the second electronic equipment, wireless data is encrypted, is mentioned High security.
Embodiment two
Based on inventive concept identical with the embodiment of the present application one, referring to FIG. 2, the embodiment of the present application two provides one kind First electronic equipment, comprising:
First interface 21, for connecting third electronic equipment, the third electronic equipment can match with the second electronic equipment To connecting and carrying out wireless communication, the first interface is Universal Serial Bus Interface;
Wireless communication module 22;
Processor 23;
Wherein, the processor 23 is used for when being connected with the third electronic equipment on the first interface 21, is obtained Wireless communication rule between second electronic equipment and the third electronic equipment;By the wireless communication module 22 with The wireless communication rule is directly carried out wireless communication with second electronic equipment, so that the wireless communication is without described The processing of third electronic equipment.
In the specific implementation process, the electronic equipment further include: memory, I/O interface.Processor 23 specifically can be General central processing unit (CPU), can be application-specific integrated circuit (English: ApplicationSpecificIntegratedCircuit, referred to as: ASIC), it can be one or more for controlling program The integrated circuit of execution.The quantity of memory can be one or more.Memory may include read-only memory (English: ReadOnlyMemory, referred to as: ROM), random access memory (English: RandomAccessMemory, referred to as: RAM) and magnetic Disk storage.Memory, wireless communication module 22 are connected by bus with processor 23.I/O interface can be used for connecting outer If equipment.It can store instruction in memory, processor 23 can execute the instruction stored in memory.
Further, the processor 23 is used for:
Obtain the reception rule and/or solution of the wireless signal that the third electronic equipment sends second electronic equipment Code rule.
Further, the processor 23 is used for:
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is institute It states the second electronic equipment and executes the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the rule of communication is obtained.
Further, the processor 23 is also used to:
When being not connected with having the third electronic equipment on the first interface 21, obtains second electronic equipment and send Wireless signal in identification information;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the nothing Line communication module and second electronic equipment carry out pairing connection.
Further, the processor 23 is also used to:
When first electronic equipment and second electronic equipment carry out wireless data transmission, to the wireless data It is encrypted.
Further, second electronic equipment includes wireless mouse, Wireless Keyboard.
Various change mode and specific example in information processing method in previous embodiment one are equally applicable to this reality The electronic equipment for applying example, by the aforementioned detailed description to information processing method, those skilled in the art are clear that The implementation method of electronic equipment in the present embodiment, so this will not be detailed here in order to illustrate the succinct of book.
Embodiment three
Based on inventive concept identical with the embodiment of the present application one, the embodiment of the present application three provides a kind of electronic equipment, asks With reference to Fig. 3, comprising:
Whether first detection unit 31 is connected with third electronics on the first interface for detecting the electronic equipment and sets Standby, the third electronic equipment can match with the second electronic equipment and connect and carry out wireless communication, and the first interface is logical Use serial bus interface;
First acquisition unit 32, when for being connected with the third electronic equipment on the first interface, described in acquisition Wireless communication rule between second electronic equipment and the third electronic equipment;
First communication unit 33, for directly carrying out channel radio with second electronic equipment with the wireless communication rule Letter, so that processing of the wireless communication without the third electronic equipment.
Further, the first acquisition unit 32, comprising:
First obtains subelement, the wireless communication sent for obtaining the third electronic equipment to second electronic equipment Number reception rule and/or decoding rule.
Further, the first acquisition unit 32, comprising:
First calls subelement, for calling preset instructions;
First processing subelement, for recording the response signal of the second electronic equipment feedback based on preset instructions, In, the response signal is that second electronic equipment executes the signal sent when the preset instructions;
First processing subelement, for obtaining based on the corresponding relationship between the preset instructions and the response signal The rule of communication.
Further, the electronic equipment further include:
Second acquisition unit, when for being not connected with having the third electronic equipment on the first interface, described in acquisition The identification information in wireless signal that second electronic equipment is sent;
First determination unit, for determining whether the identification information is included in default identification information set;
First processing units are used for when the identification information includes in the identification information set, by described first Electronic equipment carries out pairing connection by first communication unit and second electronic equipment.
Further, the electronic equipment further include:
The second processing unit, for carrying out wireless data transmission in first electronic equipment and second electronic equipment When, the wireless data is encrypted.
Various change mode and specific example in information processing method in previous embodiment one are equally applicable to this reality The electronic equipment for applying example, by the aforementioned detailed description to information processing method, those skilled in the art are clear that The implementation method of electronic equipment in the present embodiment, so this will not be detailed here in order to illustrate the succinct of book.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
One, whether the scheme in the embodiment of the present application is connected on the USB interface by detecting the first electronic equipment wireless Receiver, detect be connected with wireless receiver when, obtain wireless receiver and the second electronic equipment (such as wireless mouse, nothing Line keyboard etc.) between wireless communication rule.By the wireless communication module of electronic equipment itself with the wireless communication rule It is carried out wireless communication with second electronic equipment, in this way, the communication between second electronic equipment and electronic equipment is with regard to nothing Taking part in for wireless receiver is needed, therefore wireless receiver can be removed on USB interface, a USB interface has been saved.It can See, when the scheme in the embodiment of the present application efficiently solves equipment of the use existing in the prior art containing wireless receiver, The technical issues of interface of electronic equipment can be occupied, realizes and saves the technical effect that electronic equipment interfaces use.
Two, whether the scheme in the embodiment of the present application is connected with the third electronics on the first interface by detecting Equipment obtains the rule of communication between third electronic equipment and the second electronic equipment when being connected with third electronic equipment.Not When being connected with third electronic equipment, it is to determine second electronic equipment by the identification information that the second electronic equipment is sent then The no equipment to match with the first electronic equipment passes through the wireless communication module of the first electronic equipment if it is paired device It is communicated.As it can be seen that the scheme in the embodiment of the present application can effectively be compatible with the first electronic equipment specific wireless apparatus and General-purpose wireless device.
Three, the scheme in the embodiment of the present application is right when the first electronic equipment and the second electronic equipment carry out wireless communication The wireless data of transmission is encrypted, even if intercepting wireless data by criminal, is not also available, and wireless transmission is improved Safety.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
It detects and whether is connected with third electronic equipment on the first interface of the first electronic equipment, the third electronic equipment energy Enough match with the second electronic equipment connects and carries out wireless communication, and the first interface is Universal Serial Bus Interface;
When being connected with the third electronic equipment on the first interface, second electronic equipment and described the are obtained Wireless communication rule between three electronic equipments;
By the wireless communication module in first electronic equipment with the wireless communication rule and second electronics Equipment directly carries out wireless communication, so that processing of the wireless communication without the third electronic equipment.
Optionally, stored in the storage medium and step: described to obtain second electronic equipment and the third The corresponding computer program instructions of rule of communication between electronic equipment specifically comprise the following steps: when executed
Obtain the reception rule and/or solution of the wireless signal that the third electronic equipment sends second electronic equipment Code rule.
Optionally, stored in the storage medium and step: described to obtain second electronic equipment and the third The corresponding computer program instructions of rule of communication between electronic equipment specifically comprise the following steps: when executed
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is institute It states the second electronic equipment and executes the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the rule of communication is obtained.
Optionally, other computer program instructions are also stored in the storage medium, the other computer Program instruction is with step: it is corresponding whether to be connected with third electronic equipment on the first interface of the first electronic equipment of the detection Computer program instructions are performed after being performed, and are included the following steps: in implementation procedure
When being not connected with having the third electronic equipment on the first interface, obtain what second electronic equipment was sent Identification information in wireless signal;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the nothing Line communication module and second electronic equipment carry out pairing connection.
Optionally, other computer program instructions are also stored in the storage medium, the other computer Program instruction is with step: described that first electronic equipment is passed through the wireless communication module and second electronic equipment Be performed after the corresponding computer program instructions of pairing connection are performed, includes the following steps: in implementation procedure
When first electronic equipment and second electronic equipment carry out wireless data transmission, to the wireless data It is encrypted.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (13)

1. a kind of information processing method, comprising:
It detects and whether is connected with third electronic equipment on the first interface of the first electronic equipment, the third electronic equipment can be with The pairing of second electronic equipment is connected and is carried out wireless communication, and the first interface is Universal Serial Bus Interface;
When being connected with the third electronic equipment on the first interface, second electronic equipment and third electricity are obtained Wireless communication rule between sub- equipment;
By the wireless communication module in first electronic equipment with the wireless communication rule and second electronic equipment It directly carries out wireless communication, so that processing of the wireless communication without the third electronic equipment.
2. the method as described in claim 1, which is characterized in that described to obtain second electronic equipment and the third electronics Rule of communication between equipment, comprising:
The reception rule and/or decoding for obtaining the wireless signal that the third electronic equipment sends second electronic equipment are advised Then.
3. the method as described in claim 1, which is characterized in that described to obtain second electronic equipment and the third electronics Rule of communication between equipment, comprising:
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is described the Two electronic equipments execute the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the wireless communication rule is obtained.
4. the method as described in claim 1, which is characterized in that it is described detection the first electronic equipment first interface on whether It is connected with after third electronic equipment, the method also includes:
When being not connected with having the third electronic equipment on the first interface, the wireless of the second electronic equipment transmission is obtained Identification information in signal;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the channel radio Letter module and second electronic equipment carry out pairing connection.
5. method as claimed in claim 4, which is characterized in that first electronic equipment is passed through the channel radio described After letter module and second electronic equipment carry out pairing connection, the method also includes:
When first electronic equipment and second electronic equipment carry out wireless data transmission, the wireless data is carried out Encryption.
6. the method as described in claim 1, which is characterized in that second electronic equipment includes wireless mouse, Wireless Keyboard.
7. a kind of first electronic equipment, comprising:
First interface, for connecting third electronic equipment, the third electronic equipment can be matched with the second electronic equipment and be connected And carry out wireless communication, the first interface is Universal Serial Bus Interface;
Wireless communication module;
Processor;
Wherein, the processor is used for when being connected with the third electronic equipment on the first interface, obtains described second Wireless communication rule between electronic equipment and the third electronic equipment;By the wireless communication module with the channel radio Letter rule is directly carried out wireless communication with second electronic equipment, so that the wireless communication is set without the third electronics Standby processing.
8. the first electronic equipment as claimed in claim 7, which is characterized in that the processor is used for:
The reception rule and/or decoding for obtaining the wireless signal that the third electronic equipment sends second electronic equipment are advised Then.
9. the first electronic equipment as claimed in claim 7, which is characterized in that the processor is used for:
Call preset instructions;
Based on preset instructions, the response signal of the second electronic equipment feedback is recorded, wherein the response signal is described the Two electronic equipments execute the signal sent when the preset instructions;
Based on the corresponding relationship between the preset instructions and the response signal, the wireless communication rule is obtained.
10. the first electronic equipment as claimed in claim 7, which is characterized in that the processor is also used to:
When being not connected with having the third electronic equipment on the first interface, the wireless of the second electronic equipment transmission is obtained Identification information in signal;
Determine whether the identification information is included in default identification information set;
When the identification information includes in the identification information set, first electronic equipment is passed through into the channel radio Letter module and second electronic equipment carry out pairing connection.
11. the first electronic equipment as claimed in claim 10, which is characterized in that the processor is also used to:
When first electronic equipment and second electronic equipment carry out wireless data transmission, the wireless data is carried out Encryption.
12. the first electronic equipment as claimed in claim 7, which is characterized in that second electronic equipment include wireless mouse, Wireless Keyboard.
13. a kind of electronic equipment, comprising:
Whether first detection unit is connected with third electronic equipment on the first interface for detecting the electronic equipment, described Third electronic equipment can match with the second electronic equipment and connect and carry out wireless communication, and the first interface is that general serial is total Line interface;
First acquisition unit when for being connected with the third electronic equipment on the first interface, obtains second electricity Wireless communication rule between sub- equipment and the third electronic equipment;
First communication unit, for directly being carried out wireless communication with the wireless communication rule with second electronic equipment, with Make the wireless communication without the processing of the third electronic equipment.
CN201510920922.9A 2015-12-11 2015-12-11 A kind of information processing method and electronic equipment Active CN105573926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510920922.9A CN105573926B (en) 2015-12-11 2015-12-11 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510920922.9A CN105573926B (en) 2015-12-11 2015-12-11 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105573926A CN105573926A (en) 2016-05-11
CN105573926B true CN105573926B (en) 2018-12-14

Family

ID=55884087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510920922.9A Active CN105573926B (en) 2015-12-11 2015-12-11 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105573926B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491339B (en) * 2018-03-28 2021-09-14 联想(北京)有限公司 Signal processing method and electronic equipment
CN108717399B (en) * 2018-03-29 2022-03-25 联想(北京)有限公司 Processing method, system and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2472733A1 (en) * 2009-08-27 2012-07-04 ZTE Corporation Bluetooth function providing method and terminal for computer
CN103324295A (en) * 2012-03-20 2013-09-25 深圳维盛半导体科技有限公司 Method, device and system for realizing computer peripheral equipment wireless communication identity ID identifying code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2472733A1 (en) * 2009-08-27 2012-07-04 ZTE Corporation Bluetooth function providing method and terminal for computer
CN103324295A (en) * 2012-03-20 2013-09-25 深圳维盛半导体科技有限公司 Method, device and system for realizing computer peripheral equipment wireless communication identity ID identifying code

Also Published As

Publication number Publication date
CN105573926A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN112217831B (en) Information interaction method, device and equipment for Internet of things equipment
KR101351575B1 (en) System and method for data processing using earphone port
US20140282045A1 (en) Method and apparatus of remote management of computer system using voice and gesture based input
US20140208112A1 (en) Providing an encrypted account credential from a first device to a second device
CN104917612B (en) Auth method and device
CN104025696A (en) Methods and apparatus to control accessories
CN103650409A (en) Information processing apparatus, information processing method and computer program
EP3828744B1 (en) Contactless user authentication method
CN107943722A (en) It is a kind of that the method and system for passing screen are realized based on USB device
CN104469503B (en) The initial method of a kind of electronic equipment and its external equipment, device
CN106255102B (en) Terminal equipment identification method and related equipment
US9935927B2 (en) System and method for low energy double authentication between mobile device and server nodes
CN104951684A (en) Fingerprint encryption and decryption method and terminal
KR101588993B1 (en) Protocol translating adapter
CN103955739A (en) Bluetooth film SIM card and method for accessing mobile phone SIM card
CN106547435A (en) Input equipment and its control method
CN105573926B (en) A kind of information processing method and electronic equipment
CN110992528A (en) Intelligent door lock binding method and equipment based on identification code and storage medium
CN105022948A (en) Control method of intelligent watch, intelligent watch and terminal
CN109065017B (en) Voice data generation method and related device
CN104125593B (en) A kind of information processing method and electronic equipment
EP2717135A1 (en) Method for simulating key input using capacitive stylus, capacitive stylus and terminal
CN103237359B (en) A kind of method and device connecting terminal
CN110072218A (en) The method of wireless communication device and its communication partner
US9354699B2 (en) Input device and related method

Legal Events

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