CN105573926A - Information processing method and electronic devices - Google Patents

Information processing method and electronic devices Download PDF

Info

Publication number
CN105573926A
CN105573926A CN201510920922.9A CN201510920922A CN105573926A CN 105573926 A CN105573926 A CN 105573926A CN 201510920922 A CN201510920922 A CN 201510920922A CN 105573926 A CN105573926 A CN 105573926A
Authority
CN
China
Prior art keywords
electronic equipment
wireless
interface
radio communication
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.)
Granted
Application number
CN201510920922.9A
Other languages
Chinese (zh)
Other versions
CN105573926B (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

The information discloses an information processing method and electronic devices. The method comprises following steps: detecting whether a third electronic device is connected to the first interface of a first electronic device, wherein the third electronic device can be in paired connection and carry out wireless communication with a second electronic device, the first interface is a universal serial bus interface; when the third electronic device is connected to the first interface, obtaining a wireless communication rule between the second electronic device and the third electronic device; carrying out the wireless communication to the second electronic device through the wireless communication module in the first electronic device according to the wireless communication rule, wherein the wireless communication is not processed by the third electronic device. According to the method provided by the invention, the technical problem in the prior art that the interfaces of the electronic devices are occupied in using a device with a wireless receiver is solved. The technical effect of saving the interfaces of the electronic devices is realized.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of information processing method and electronic equipment.
Background technology
Along with the development of science and technology, the use of electronic equipment is more and more extensive.In order to electronic equipment can be made more portable, many electronic equipments are all tending towards frivolous small and exquisite in design.Meanwhile, in order to keep original function on frivolous small and exquisite equipment, it is quite compact that electronic equipment structurally can arrange.On this compact equipment, external-connected port just seems most valuable, as USB (UniversalSerialBus, USB (universal serial bus)) interface, usually only can arrange one to two.
In the prior art, wireless mouse is all equipped with a wireless receiver, in use, is inserted in by wireless receiver in USB interface, completes and just can use wireless mouse with the pairing of wireless mouse.Similar, Wireless Keyboard or include other wireless receivers and all can take an interface.Like this, when user uses these external equipments, result in the USB interface occupying electronic equipment.Visible, when there is the equipment used containing wireless receiver in prior art, the technical matters of the interface of electronic equipment can be taken.
Summary of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solve the use existed in prior art contain the equipment of wireless receiver time, the technical matters of the interface of electronic equipment can be taken, achieve the technique effect saved electronic equipment interfaces and use.
The embodiment of the present application provides a kind of information processing method on the one hand, comprising:
Whether the first interface detecting the first electronic equipment is connected with the 3rd electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
When described first interface is connected with described 3rd electronic equipment, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by the wireless communication module in described first electronic equipment.
Optionally, the rule of communication between described second electronic equipment of described acquisition and described 3rd electronic equipment, comprising:
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
Optionally, the rule of communication between described second electronic equipment of described acquisition and described 3rd electronic equipment, comprising:
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
Optionally, after whether the first interface of described detection first electronic equipment is connected with the 3rd electronic equipment, described method also comprises:
When described first interface is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
Optionally, to be undertaken by described first electronic equipment after pairing is connected by described wireless communication module and described second electronic equipment described, described method also comprises:
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
Optionally, described second electronic equipment comprises wireless mouse, Wireless Keyboard.
The application provides a kind of electronic equipment on the other hand, comprising:
First interface, for connecting the 3rd electronic equipment, described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
Wireless communication module;
Processor;
Wherein, when described processor for being connected with described 3rd electronic equipment on described first interface, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment; Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by described wireless communication module.
Optionally, described processor is used for:
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
Optionally, described processor is used for:
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
Optionally, described processor also for:
When described first interface is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
Optionally, described processor also for:
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
Optionally, described second electronic equipment comprises wireless mouse, Wireless Keyboard.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
Whether the first detecting unit, be connected with the 3rd electronic equipment on the first interface detecting described electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
First acquiring unit, during for being connected with described 3rd electronic equipment on described first interface, obtains the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
First communication unit, for directly carrying out radio communication, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
One, the scheme in the embodiment of the present application, whether wireless receiver is connected with by the USB interface that detects the first electronic equipment, detect be connected with wireless receiver time, the radio communication obtained between wireless receiver and the second electronic equipment (as wireless mouse, Wireless Keyboard etc.) is regular.Radio communication is carried out with described radio communication rule with described second electronic equipment by the wireless communication module of electronic equipment self, like this, communication take part in just without the need to wireless receiver between described second electronic equipment and electronic equipment, therefore wireless receiver can be taken off in USB interface, save a USB interface.Visible, the scheme in the embodiment of the present application efficiently solves the use existed in prior art when containing the equipment of wireless receiver, can take the technical matters of the interface of electronic equipment, achieves the technique effect saved electronic equipment interfaces and use.
Two, the scheme in the embodiment of the present application, by detecting on described first interface whether be connected with described 3rd electronic equipment, when being connected with the 3rd electronic equipment, obtains the rule of communication between the 3rd electronic equipment and the second electronic equipment.When not being connected with the 3rd electronic equipment, the identification information then sent by the second electronic equipment determines whether described second electronic equipment is the equipment matched with the first electronic equipment, if be paired device, then communicated by the wireless communication module of the first electronic equipment.Visible, the scheme in the embodiment of the present application can the specific wireless apparatus of effectively compatible first electronic equipment and general-purpose wireless device.
Three, the scheme in the embodiment of the present application, when the first electronic equipment and the second electronic equipment carry out radio communication, is encrypted the wireless data of transmission, even if intercepted wireless data by lawless person, also cannot uses, improve the security of wireless transmission.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the present application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The process flow diagram of a kind of information processing method that Fig. 1 provides for the embodiment of the present application one;
The structured flowchart of a kind of electronic equipment that Fig. 2 provides for the embodiment of the present application two;
The structured flowchart of a kind of electronic equipment that Fig. 3 provides for the embodiment of the present application three.
Embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solve the use existed in prior art contain the equipment of wireless receiver time, the technical matters of the interface of electronic equipment can be taken, achieve the technique effect saved electronic equipment interfaces and use.
Technical scheme in the embodiment of the present application is solve above-mentioned technical matters, and general thought is as follows:
Whether the first interface detecting the first electronic equipment is connected with the 3rd electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus); When described first interface is connected with described 3rd electronic equipment, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment; Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by the wireless communication module in described first electronic equipment.
In technique scheme, whether wireless receiver is connected with by the USB interface that detects the first electronic equipment, detect be connected with wireless receiver time, the radio communication obtained between wireless receiver and the second electronic equipment (as wireless mouse, Wireless Keyboard etc.) is regular.Radio communication is carried out with described radio communication rule with described second electronic equipment by the wireless communication module of electronic equipment self, like this, communication take part in just without the need to wireless receiver between described second electronic equipment and electronic equipment, therefore wireless receiver can be taken off in USB interface, save a USB interface.Visible, the scheme in the embodiment of the present application efficiently solves the use existed in prior art when containing the equipment of wireless receiver, can take the technical matters of the interface of electronic equipment, achieves the technique effect saved electronic equipment interfaces and use.
In order to better understand technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can combine mutually.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application provides a kind of information processing method, comprising:
S10: whether the first interface detecting the first electronic equipment is connected with the 3rd electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
S20: when being connected with described 3rd electronic equipment on described first interface, obtains the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
S30: directly carry out radio communication, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by the wireless communication module in described first electronic equipment.
In specific implementation process, described first electronic equipment can be notebook computer, panel computer, or other includes the electronic equipment of USB interface, does not just list one by one at this.In the embodiment of the present application for the first electronic equipment for notebook computer, the implementation procedure of the method in the embodiment of the present application is described in detail.
First, step S10 is performed: whether the first interface detecting the first electronic equipment is connected with the 3rd electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus).
Specifically, when using wireless mouse, Wireless Keyboard, needing to plug respective wireless receiver in the USB interface of electronic equipment, can normally use after successful matching.For another example, some audio frequency apparatuses are furnished with Bluetooth audio receiver, need Bluetooth audio receiver to be inserted in the USB interface of electronic equipment in use.In this application, whether the first interface detecting described first electronic equipment is connected with the 3rd electronic equipment, described 3rd electronic equipment is wireless receiver, described second electronic equipment is the equipment such as wireless mouse, Wireless Keyboard, Baffle Box of Bluetooth, scheme for convenience of explanation in the application, below will for the second electronic equipment for wireless mouse explains.
Next, perform step S20: when being connected with described 3rd electronic equipment on described first interface, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment.
Specifically, with the first electronic equipment for notebook computer, second electronic equipment is wireless mouse is example, in the prior art, wireless launcher is provided with in wireless mouse, wireless launcher converts the information pressed or lift of the movement of mouse on X or Y-axis, mousebutton wireless signal to and sends, and wireless receiver is decoded to signal after receiving this wireless signal, and passes to notebook computer.In order to use the first electronic equipment, namely the wireless communication module that notebook computer is built-in replaces the 3rd electronic equipment, when first interface is connected with wireless receiver, by simulating or learn the radio communication rule obtained between wireless receiver and wireless mouse.Here radio communication rule is communication protocol between wireless mouse and wireless receiver, comprises data encapsulation form, coding and decoding rule, sends data and take frequency range etc.
Next, step S30 is performed: directly carry out radio communication, to make described radio communication without the process of described three electronic equipment with described radio communication rule with described second electronic equipment by the wireless communication module in described first electronic equipment.
Specifically, wireless communication module is provided with in the first electronic equipment in the application, after obtaining the rule of communication between wireless mouse and wireless receiver, described wireless communication module just can replace the function of wireless receiver to communicate with wireless mouse, without the need to processing through wireless receiver again.Like this, just wireless receiver can be taken off in USB interface, save a USB interface.
Further, step S20 includes but not limited to following two kinds of implementations in specific implementation process.
The first implementation
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
Specifically, still for wireless mouse, in the process using wireless mouse, wireless mouse sends after spread spectrum can be adopted to be modulated by the spread spectrum code sequence with high code check.After wireless receiver receives this sequence, adopt identical modulation system to decode to it, spread spectrum code sequence is reduced into raw information.And wireless mouse and wireless receiver need to transmit and receive data in identical passage.Wireless receiver is replaced in order to make the wireless communication module in the first electronic equipment, wireless receiver is needed to obtain the receiving cable of wireless data, decoding process, certainly, can also obtain other rule of communication, the application is not specifically limited.When obtaining described reception rule and/or decoding rule, described wireless communication module just can directly communicate with wireless mouse.
The second implementation
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
Specifically, in order to replace the 3rd electronic equipment by wireless communication module, corresponding relation between notebook computer and wireless mouse can be obtained by the preset instructions of notebook computer end.As, notebook computer end can show some preset instructions, as being moved to the left, accordingly, wireless mouse performs an action according to this preset instructions, and user holds mouse and is moved to the left by mouse, and the action notebook computer end based on mouse can record corresponding position and signal.What enable notebook computer simulate in this way to communicate between wireless mouse transmits and Received signal strength.The signal of simulating to make notebook computer is more accurate, can enrich the instruction set of preset instructions, as the left button that moves right, clicks, double-click left button, scroll up pulley etc.For each preset instructions, the feedback signal of mouse all can be recorded by notebook computer, to use in follow-up communication process.
Further, in specific implementation process, the second electronic equipment can be divided into two large classes, and a kind of is general equipment, and a kind of is the specialized equipment supporting with the first electronic equipment.Still for wireless mouse, the equipment that namely general wireless mouse can what equipment in office can use, namely general wireless mouse all contains wireless receiver.Special wireless mouse is mate with the first electronic equipment the equipment used, in this application, in order to save interface, the wireless communication module that special wireless mouse can directly use the first electronic equipment built-in is as receiver, and therefore special wireless mouse does not have independent wireless receiver.
When communicating with the second special electronic equipment, the method in the application also comprises:
When described first interface is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
Specifically, when not connecting wireless receiver on the first interface of the first electronic equipment, show that the second electronic equipment can directly communicate with wireless communication module, namely the second electronic equipment is the specialized equipment of the first electronic equipment.When the second electronic equipment is wireless mouse, be connected to carry out pairing with the first electronic equipment, wireless mouse can send a wireless signal to the first electronic equipment, includes the identification information of wireless mouse in this wireless signal, as the ID of mouse.This wireless signal can realize by pressing the dial-up button that wireless mouse is arranged, and also independently can be sent by mouse, the application is not specifically limited.In specific implementation process, may there is multiple specialized equipment in the first electronic equipment, and as keyboard special, mouse special 1, mouse special 2 etc., in order to distinguish each equipment, each equipment can have respective identification information.Therefore, when receiving the signal of the identification information containing mouse, this identification information can be determined whether in the default identification information set of the first electronic equipment, if, then show that this mouse is the mouse special of the first electronic equipment.Next, then can communicate to connect according to the rule of communication set in the first electronic equipment and the second electronic equipment.
In addition, in the ID situation knowing wireless mouse, can select directly in the first electronic equipment, to input this ID, such as ID is 8200012, last two 12 of ID represent transmitting channel number, first 8 representation signal interval time of ID, namely every 8ms sends a signal and receives a signal.First electronic equipment can, according to these information, carry out receiving and transmitting.As the first electronic equipment only needs to receive 20ms continuously, just necessarily can receive the signal that wireless mouse sends, after the signal receiving wireless mouse transmission, the signal including pair configuration information can be emitted to wireless mouse by the first electronic equipment, carries out pairing coupling in this way.
Further, the first electronic equipment can also obtain the signal of mouse emitting by searching each channel successively, and determines the initial time that wireless mouse transmits and interval.The time that first electronic equipment is setting transmits, and after wireless mouse receives the signal of the first electronic equipment transmitting, starts to communicate.
In the embodiment of the present application, in order to ensure the communication security between the first electronic equipment and the second electronic equipment, described method also comprises:
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
Specifically, carry out in the process communicated at use wireless device with the first electronic equipment, during as used Wireless Keyboard or being with the wireless mouse of keyboard, often can input the personal informations such as the account name of user, password.If be not encrypted wireless data, after data are tackled by lawless person, be easy to the personal information obtaining user.Therefore, in the embodiment of the present application, specific encryption mode can be consulted between the first electronic equipment and the second electronic equipment, wireless data is encrypted, improve security.
Embodiment two
Based on the inventive concept identical with the embodiment of the present application one, please refer to Fig. 2, the embodiment of the present application two provides a kind of electronic equipment, comprising:
First interface 21, for connecting the 3rd electronic equipment, described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
Wireless communication module 22;
Processor 23;
Wherein, when described processor 23 for being connected with described 3rd electronic equipment on described first interface 21, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment; Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by described wireless communication module 22.
In specific implementation process, described electronic equipment also comprises: storer, I/O interface.Processor 23 can be specifically general central processing unit (CPU), can be that ASIC(Application Specific Integrated Circuit) is (English: ApplicationSpecificIntegratedCircuit, being called for short: ASIC), can be one or more integrated circuit performed for control program.The quantity of storer can be one or more.Storer can comprise ROM (read-only memory) (English: ReadOnlyMemory, be called for short: ROM), random access memory (English: RandomAccessMemory, RAM) and magnetic disk memory be called for short:.Storer, wireless communication module 22 are connected with processor 23 by bus.I/O interface may be used for connecting peripheral apparatus.Instruction can be stored, the instruction that processor 23 can store in execute store in storer.
Further, described processor 23 for:
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
Further, described processor 23 for:
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
Further, described processor 23 also for:
When described first interface 21 is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
Further, described processor 23 also for:
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
Further, described second electronic equipment comprises wireless mouse, Wireless Keyboard.
Various variation pattern in information processing method in previous embodiment one and instantiation are equally applicable to the electronic equipment of the present embodiment, by the aforementioned detailed description to information processing method, those skilled in the art clearly can know the implementation method of electronic equipment in the present embodiment, so succinct in order to instructions, be not described in detail in this.
Embodiment three
Based on the inventive concept identical with the embodiment of the present application one, the embodiment of the present application three provides a kind of electronic equipment, please refer to Fig. 3, comprising:
Whether the first detecting unit 31, be connected with the 3rd electronic equipment on the first interface detecting described electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
First acquiring unit 32, during for being connected with described 3rd electronic equipment on described first interface, obtains the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
First communication unit 33, for directly carrying out radio communication, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment.
Further, described first acquiring unit 32, comprising:
First obtains subelement, for obtaining described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
Further, described first acquiring unit 32, comprising:
First calls subelement, for calling preset instructions;
First process subelement, for based on preset instructions, records the response signal of described second electronic equipment feedback, and wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
First process subelement, for based on the corresponding relation between described preset instructions and described response signal, obtains described rule of communication.
Further, described electronic equipment also comprises:
Second acquisition unit, during for not being connected with described 3rd electronic equipment on described first interface, obtains the identification information in the wireless signal of described second electronic equipment transmission;
First determining unit, for determining whether described identification information is included in default identification information set;
First processing unit, during for being included in described identification information set at described identification information, carrying out pairing by described first communication unit with described second electronic equipment by described first electronic equipment and being connected.
Further, described electronic equipment also comprises:
Second processing unit, for when described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, is encrypted described wireless data.
Various variation pattern in information processing method in previous embodiment one and instantiation are equally applicable to the electronic equipment of the present embodiment, by the aforementioned detailed description to information processing method, those skilled in the art clearly can know the implementation method of electronic equipment in the present embodiment, so succinct in order to instructions, be not described in detail in this.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
One, the scheme in the embodiment of the present application, whether wireless receiver is connected with by the USB interface that detects the first electronic equipment, detect be connected with wireless receiver time, the radio communication obtained between wireless receiver and the second electronic equipment (as wireless mouse, Wireless Keyboard etc.) is regular.Radio communication is carried out with described radio communication rule with described second electronic equipment by the wireless communication module of electronic equipment self, like this, communication take part in just without the need to wireless receiver between described second electronic equipment and electronic equipment, therefore wireless receiver can be taken off in USB interface, save a USB interface.Visible, the scheme in the embodiment of the present application efficiently solves the use existed in prior art when containing the equipment of wireless receiver, can take the technical matters of the interface of electronic equipment, achieves the technique effect saved electronic equipment interfaces and use.
Two, the scheme in the embodiment of the present application, by detecting on described first interface whether be connected with described 3rd electronic equipment, when being connected with the 3rd electronic equipment, obtains the rule of communication between the 3rd electronic equipment and the second electronic equipment.When not being connected with the 3rd electronic equipment, the identification information then sent by the second electronic equipment determines whether described second electronic equipment is the equipment matched with the first electronic equipment, if be paired device, then communicated by the wireless communication module of the first electronic equipment.Visible, the scheme in the embodiment of the present application can the specific wireless apparatus of effectively compatible first electronic equipment and general-purpose wireless device.
Three, the scheme in the embodiment of the present application, when the first electronic equipment and the second electronic equipment carry out radio communication, is encrypted the wireless data of transmission, even if intercepted wireless data by lawless person, also cannot uses, improve the security of wireless transmission.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
Whether the first interface detecting the first electronic equipment is connected with the 3rd electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
When described first interface is connected with described 3rd electronic equipment, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by the wireless communication module in described first electronic equipment.
Optionally, store in described storage medium with step: computer program instructions corresponding to the rule of communication between described second electronic equipment of described acquisition with described 3rd electronic equipment, when being performed, specifically comprises the steps:
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
Optionally, store in described storage medium with step: computer program instructions corresponding to the rule of communication between described second electronic equipment of described acquisition with described 3rd electronic equipment, when being performed, specifically comprises the steps:
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
Optionally, other computer program instructions is also stored in described storage medium, this other computer program instructions with step: whether the first interface of described detection first electronic equipment is connected with after computer program instructions corresponding to the 3rd electronic equipment is performed and is performed, comprise the steps: in implementation
When described first interface is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
Optionally, other computer program instructions is also stored in described storage medium, this other computer program instructions with step: described described first electronic equipment undertaken matching being connected after corresponding computer program instructions is performed by described wireless communication module and described second electronic equipment be performed, comprise the steps: in implementation
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (13)

1. an information processing method, comprising:
Whether the first interface detecting the first electronic equipment is connected with the 3rd electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
When described first interface is connected with described 3rd electronic equipment, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by the wireless communication module in described first electronic equipment.
2. the method for claim 1, is characterized in that, the rule of communication between described second electronic equipment of described acquisition and described 3rd electronic equipment, comprising:
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
3. the method for claim 1, is characterized in that, the rule of communication between described second electronic equipment of described acquisition and described 3rd electronic equipment, comprising:
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
4. the method for claim 1, is characterized in that, after whether the first interface of described detection first electronic equipment is connected with the 3rd electronic equipment, described method also comprises:
When described first interface is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
5. method as claimed in claim 4, is characterized in that, to be undertaken by described first electronic equipment after pairing is connected by described wireless communication module and described second electronic equipment described, described method also comprises:
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
6. the method for claim 1, is characterized in that, described second electronic equipment comprises wireless mouse, Wireless Keyboard.
7. an electronic equipment, comprising:
First interface, for connecting the 3rd electronic equipment, described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
Wireless communication module;
Processor;
Wherein, when described processor for being connected with described 3rd electronic equipment on described first interface, obtain the radio communication rule between described second electronic equipment and described 3rd electronic equipment; Directly radio communication is carried out, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second electronic equipment by described wireless communication module.
8. electronic equipment as claimed in claim 7, it is characterized in that, described processor is used for:
Obtain described 3rd electronic equipment to the reception rule of the wireless signal that described second electronic equipment sends and/or decoding rule.
9. electronic equipment as claimed in claim 7, it is characterized in that, described processor is used for:
Call preset instructions;
Based on preset instructions, record the response signal of described second electronic equipment feedback, wherein, described response signal is the signal that described second electronic equipment sends when performing described preset instructions;
Based on the corresponding relation between described preset instructions and described response signal, obtain described rule of communication.
10. electronic equipment as claimed in claim 7, is characterized in that, described processor also for:
When described first interface is not connected with described 3rd electronic equipment, obtain the identification information in the wireless signal of described second electronic equipment transmission;
Determine whether described identification information is included in default identification information set;
When described identification information is included in described identification information set, described first electronic equipment is carried out pairing by described wireless communication module with described second electronic equipment and is connected.
11. electronic equipments as claimed in claim 10, is characterized in that, described processor also for:
When described first electronic equipment and described second electronic equipment carry out Wireless Data Transmission, described wireless data is encrypted.
12. electronic equipments as claimed in claim 7, it is characterized in that, described second electronic equipment comprises wireless mouse, Wireless Keyboard.
13. 1 kinds of electronic equipments, comprising:
Whether the first detecting unit, be connected with the 3rd electronic equipment on the first interface detecting described electronic equipment, and described 3rd electronic equipment can match with the second electronic equipment and is connected and carries out radio communication, and described first interface is USB (universal serial bus);
First acquiring unit, during for being connected with described 3rd electronic equipment on described first interface, obtains the radio communication rule between described second electronic equipment and described 3rd electronic equipment;
First communication unit, for directly carrying out radio communication, to make described radio communication without the process of described 3rd electronic equipment with described radio communication rule with described second 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 true CN105573926A (en) 2016-05-11
CN105573926B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491339A (en) * 2018-03-28 2018-09-04 联想(北京)有限公司 A kind of signal processing method and electronic equipment
CN108717399A (en) * 2018-03-29 2018-10-30 联想(北京)有限公司 A kind of 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

Cited By (4)

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

Also Published As

Publication number Publication date
CN105573926B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
US10165613B2 (en) Control method for bluetooth communication and bluetooth low energy communication
CN104320161B (en) Method and system for rapid Bluetooth pairing
US20130178163A1 (en) Systems for Facilitating Wireless Communication and Related Methods
CN103997570A (en) Pairing method and system for mobile terminals and mobile terminals
CN108650671B (en) Method, device, mobile terminal, storage medium and system for establishing Bluetooth connection
WO2018075139A1 (en) Devices and methods for connecting wireless communication devices
CN104683002A (en) Method and device for pairing Bluetooth equipment
CN104285210A (en) Method, apparatus and system of recovering operating system on portable communication device
KR20200141702A (en) Electronic device for displaying inquiry list of external electronic device in bluetooth network environment and method thereof
CN103517451A (en) Device for achieving Bluetooth connecting request quick automatic sending and device for receiving connecting request
US10558604B2 (en) Communication interface transaction security
CN106547435A (en) Input equipment and its control method
EP2892004A2 (en) Interactive processing method and device and electronic apparatus
CN111615099A (en) eSIM card interaction control method and related equipment
CN105573926A (en) Information processing method and electronic devices
CN105511587B (en) Method and device for controlling radio frequency link
EP3046371B1 (en) Method for exchanging information between a group of emitter receiver devices
US9400898B2 (en) Device and method for determining redundancies in near field communication tag detection
CN106604204B (en) Method and system for remotely controlling terminal application through Bluetooth
CN105574400A (en) Information processing method and electronic device
US20190391670A1 (en) Terminal control method, system and setting adaptation apparatus
CN107708183B (en) Decoding algorithm determination method, device, terminal and storage medium
CN113766406A (en) Method, system and device for testing earphone
CN103237359B (en) A kind of method and device connecting terminal
CN108153676A (en) Debugging management method, apparatus, storage medium and terminal device

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