CN106714085A - Information exchange method and electronic device - Google Patents

Information exchange method and electronic device Download PDF

Info

Publication number
CN106714085A
CN106714085A CN201611208234.0A CN201611208234A CN106714085A CN 106714085 A CN106714085 A CN 106714085A CN 201611208234 A CN201611208234 A CN 201611208234A CN 106714085 A CN106714085 A CN 106714085A
Authority
CN
China
Prior art keywords
information
target
electronic device
communication module
role
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.)
Withdrawn
Application number
CN201611208234.0A
Other languages
Chinese (zh)
Inventor
杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd
Original Assignee
BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd filed Critical BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd
Priority to CN201611208234.0A priority Critical patent/CN106714085A/en
Publication of CN106714085A publication Critical patent/CN106714085A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention discloses an information exchange method and an electronic device. The method comprises the steps that the information exchange request of a target electronic device is acquired, wherein the information exchange request comprises the target device information of the target electronic device; according to the target device information and the local device information, the role information of the local and the target electronic device in information exchange is determined respectively; and based on the role information, information exchange with the target electronic device is carried out for target information corresponding to the information exchange request. According to the method, the role information of the local and the target electronic device in information exchange is determined based on the target device information of the target electronic device and the local device information; roles in information exchange can be determined without manual operation; and the information exchange efficiency is improved.

Description

Method and electronic equipment that a kind of information is exchanged
Technical field
The application is related to field of computer technology, more particularly to a kind of method that exchanges of information and electronic equipment.
Background technology
With continuing to develop for terminal technology, the information of user is more and more in terminal device, and information content is also increasing, Information of picture that the information of the electronic business card of such as user, user shoot etc..And often to some between user and user Information enters row information exchange, to share the information of other side each other, for example, between user can with electronic name card exchanging, so as to Family knows one another and contacts.
In order to improve the safe and efficient of information exchange, generally, (NFC skills can be based on using close range wireless communication modes The close range wireless communication modes of art or the close range wireless communication modes based on Bluetooth technology etc.) enter row information exchange, specifically Ground, the user for entering row information exchange can make an appointment role of two users in information exchanging process (in such as two users , used as service end, the terminal device of which user is used as client etc. for the terminal device of which user), then, based on about Fixed role, selectes two roles of terminal device by way of manual operation, after selecting, can click on determination button, two Individual terminal device is based on artificial selected role and enters row information exchange.
However, enter row information through the above way exchanging, it is necessary to enter two users of row information exchange beforehand through artificial The mode of operation establishes the role of information exchange, and because manually-operated process is generally cumbersome, and artificial operation can take greatly The overall time that partial information is exchanged, so that information exchange is less efficient.
The content of the invention
The embodiment of the present application provides method and the electronic equipment that a kind of information is exchanged, and is used to solve by manually-operated side The process that formula establishes the role that information is exchanged is cumbersome, and wastes the plenty of time, so that information exchange is less efficient Problem.
The method that a kind of information that the embodiment of the present application is provided is exchanged, methods described includes:
The information exchange requests of target electronic device are obtained, described information includes the target electronic device in exchanging request Target device information;
According to the target device information and local facility information, determine that the local and target electronic device exists respectively Role Information in information exchange;
Based on the Role Information, the corresponding target information of request is exchanged for described information, set with the target electronic Exchanged for row information is entered.
Alternatively, the Role Information includes service end and client,
It is described according to the facility information and the target device information, the local and target electronic device is determined respectively Role Information in the information exchange, including:
If the target device information meets predetermined role's selection rule, and the facility information be unsatisfactory for it is predetermined Role's selection rule, then using the target electronic device as service end, and will be locally as client;
Correspondingly, it is described based on the Role Information, the corresponding target information of request is exchanged for described information, it is and described Target electronic device enters row information exchange, including:
When the target exchange information that the target electronic device sends is received, described information is exchanged into request corresponding Target information is sent to the target electronic device.
Alternatively, the facility information and the target device information be respectively International Mobile Equipment Identity IMEI code and/ Or medium access control MAC Address and/or equipment Serial Number SN yards.
Alternatively, the Role Information includes service end and client, the facility information and the target device information It is IMEI code,
If the target device information meets predetermined role's selection rule, and the facility information be unsatisfactory for it is pre- Fixed role's selection rule, then using the target electronic device as service end, and will locally as client, including:
If the IMEI code of the target electronic device be more than local IMEI code, using the target electronic device as Service end, and will be locally as client.
The a kind of electronic equipment that the embodiment of the present application is provided, the electronic equipment includes the first wireless near field communication mould Block,
First close range wireless communication module, the information exchange requests for obtaining target electronic device, the letter Breath exchanges the target device information comprising the target electronic device in request;According to the target device information and local set Standby information, determines local and target electronic device Role Information in the information exchange respectively;Based on the Role Information, The corresponding target information of request is exchanged for described information, is entered row information with the target electronic device and is exchanged.
Alternatively, the Role Information includes service end and client,
First close range wireless communication module, if meet predetermined role for the target device information chosen Rule, and the facility information is unsatisfactory for predetermined role's selection rule, then using the target electronic device as service end, and Will be locally as client;When the target exchange information that the target electronic device sends is received, described information is exchanged Corresponding target information is asked to be sent to the target electronic device.
Alternatively, the electronic equipment also includes the second close range wireless communication module,
Second close range wireless communication module, please for receiving the information exchange that the target electronic device sends Ask.
Alternatively, first close range wireless communication module is the communication based on high-speed transfer TransferJet technologies Module.
Alternatively, second close range wireless communication module is the communication module based on near-field communication NFC technique.
Alternatively, the facility information and the target device information be respectively International Mobile Equipment Identity IMEI code and/ Or medium access control MAC Address and/or equipment Serial Number SN yards and/or first close range wireless communication module SN yards and/or Second close range wireless communication module SN yards.
Alternatively, the Role Information includes service end and client, the facility information and the target device information It is IMEI code,
First close range wireless communication module, if for the target electronic device IMEI code more than local IMEI code, then using the target electronic device as service end, and will be locally as client.
The embodiment of the present application provides method and the electronic equipment that a kind of information is exchanged, by the target electronic device that obtains Target device information and local facility information, determine local and target electronic device role's letter in the information exchange respectively Breath, then, for the corresponding target information of information exchange requests, based on above-mentioned Role Information, letter is carried out with target electronic device Breath is exchanged, and so, target device information and local facility information based on target electronic device are electric to determine local and target Sub- equipment Role Information in the information exchange so that the role during information is exchanged can determine that without manually operation, so as to carry The efficiency that information high is exchanged.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
A kind of flow chart of the method for information exchange that Fig. 1 is provided for the embodiment of the present application;
The flow chart of the method for another information exchange that Fig. 2 is provided for the embodiment of the present application;
The flow chart of the method for another information exchange that Fig. 3 is provided for the embodiment of the present application;
The flow chart of the method for another information exchange that Fig. 4 is provided for the embodiment of the present application;
The structural representation of a kind of electronic equipment that Fig. 5 is provided for the embodiment of the present application.
Specific embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Embodiment one
As shown in figure 1, the embodiment of the present application provides a kind of method that information is exchanged, the executive agent of the method can be electricity Sub- equipment, the electronic equipment can be that the terminals such as the mobile terminal devices such as mobile phone, panel computer, or personal computer set It is standby.In electronic equipment can include close range wireless communication module, for example, the communication module based on Bluetooth technology, based on NFC The communication module of (Near Field Communication, near-field communication) technology, based on Wi-Fi (Wireless Fidelity, Wireless Fidelity) technology communication module, the communication based on UWB (Ultra-wideband, the ultra wide band) communication technology Module or the communication module based on TransferJet (high-speed transfer) technology etc., the present embodiment specifically can be by electronic equipment In close range wireless communication module realize that the method specifically may comprise steps of:
In step S101, the information exchange requests of target electronic device are obtained, target is included in the information exchange requests The target device information of electronic equipment.
Wherein, target electronic device can be any electronic equipment for possessing close range wireless communication module, such as mobile phone, flat Plate computer or personal computer etc..Target device information can include MAC (Media Access Control, medium access control System) address and/or operating system version number and/or CPU (Central Processing Unit, central processing unit) models and/ Or the dominant frequency of CPU etc..
In force, the exchange of certain information is carried out between generally being needed between two or more users, for example, is exchanged Electronic business card, exchange contact method, exchange picture exchange respective certain text data etc., are so accomplished by a kind of quick and safe Information exchange system, the embodiment of the present application provides a kind of method that information is exchanged, and can cause can be quick between user The row information of entering of safety is exchanged.
Various different close range wireless communication modules would generally be included in electronic equipment, such as based on Bluetooth technology Communication module, the communication module based on NFC technique, the communication module based on Wi-Fi technology and based on TransferJet technologies Communication module etc., by different close range wireless communication modules, can meet the different needs of user.In the present embodiment, examine The data volume for considering the corresponding target information of information exchange requests may be larger, therefore, it can select data from electronic equipment The close range wireless communication module that transmission speed is very fast, bandwidth is larger, such as communication module based on TransferJet technologies, Certainly, the selection of close range wireless communication module can specifically be determined according to actual conditions.When user needs other users When entering row information exchange, target information to be exchanged can be selected, can then click on transmission button, now, electronic equipment can To show various different sending methods, such as by close range wireless communication module (such as NFC or based on TransferJet technologies Communication module etc.) send, sent or by instant messaging application program etc. by mail) send etc., user can select to lead to Cross close range wireless communication module transmission.Now, close range wireless communication module can within the specific limits search for other low coverages From wireless communication module, user can select a low coverage from the close range wireless communication module (or electronic equipment) for searching From wireless communication module (or being target electronic device), after the completion of selection, close range wireless communication module can be to target electricity Sub- equipment sends communication handshake request, after target electronic device receives communication handshake request, can be logical near radio Letter module sends the communication handshake response including the information such as channel quality, bandwidth, and close range wireless communication module receives communication After handshake response, the channel where data transmission link can be included to target electronic device transmission, and the channel strip for using The confirmation message of shaking hands of the information such as width, signal to noise ratio, so as to complete to shake hands between target electronic device and electronic equipment (i.e. local) And set up data transmission link.
Close range wireless communication module can be sent by the data transmission link set up to corresponding target electronic device Information exchange requests, wherein, can be including the electronic equipment belonging to close range wireless communication module in the information exchange requests Facility information.Meanwhile, close range wireless communication module can receive the information exchange requests of target electronic device transmission, so that, Information swap operation is initiated in the middle of electronic equipment and target electronic device.Wherein, target can be included in the information exchange requests The target device information of electronic equipment.
In step s 102, according to target device information and local facility information, local and target electronic is determined respectively Equipment Role Information in the information exchange.
Wherein, Role Information can include various, such as originating end and responder, or service end, monitoring client and client End etc., Role Information can be set according to actual conditions, and the embodiment of the present application is not limited this.Facility information can be It is same type of information with target device information, for example, facility information and target device information are all operating system versions number Information and/or CPU frequency information etc..
In force, electronic equipment can obtain the facility information of its own, such as operating system version number and/or CPU types Number etc., by taking the information that facility information and target device information are all CPU frequency as an example, can basis for other types of information Actual conditions are processed accordingly, be will not be repeated here.
Electronic equipment can be contrasted its facility information with the target device information for receiving, that is, contrast electronic equipment CPU frequency and target electronic device CPU frequency, if CPU master of the CPU frequency of electronic equipment more than target electronic device Frequently, then can determine that the performance of electronic equipment is more outstanding, at this point it is possible to the promoter during electronic equipment is exchanged as information, And the respondent during target electronic device is exchanged as information;If the CPU frequency of electronic equipment is less than target electronic device CPU frequency, then can determine that the performance of target electronic device is more outstanding, at this point it is possible to using target electronic device as information Promoter in exchange, and using electronic equipment as information exchange in respondent.Can determine that electronics sets through the above way Standby and target electronic device role in the information exchange.
In step s 103, based on above-mentioned Role Information, the corresponding target information of request is exchanged for above- mentioned information, with mesh Mark electronic equipment enters row information exchange.
In force, after electronic equipment determines local and target electronic device role in the information exchange, can be based on The role of determination, enters row information and exchanges with target electronic device, specifically, if the initiation during electronic equipment is exchanged as information Person, target electronic device can obtain the information exchange for prestoring and ask as the respondent in information exchange, then electronic equipment Corresponding target information (such as electronic business card of electronic device user) is asked, the target information can be passed through wireless near field communication Module is sent to target electronic device.After target electronic device receives the target information, can be in target electronic device in advance The corresponding target for first storing exchanges information (such as electronic business card of target electronic device user) and passes through wireless near field communication mould Block is sent to electronic equipment, meanwhile, by target information storage in predetermined storage region, and the target information can be carried out Parse to be shown to target electronic device user.After electronic equipment receives target exchange information, target can be exchanged information Storage is parsed to be shown to electronic device user in predetermined storage region to target exchange information.
It should be noted that initiating the wireless near field communication of information exchange requests in the processing procedure of above-mentioned steps S101 Module with perform above-mentioned steps S102 and step S103 treatment close range wireless communication module, can be identical closely Wireless communication module, or different close range wireless communication modules, for example, initiate information exchange requests closely without Line communication module is the communication module based on Bluetooth technology or the communication module based on NFC technique, perform above-mentioned steps S102 and The close range wireless communication module of the treatment of step S103 can be communication module based on TransferJet technologies etc..This Shen Please embodiment be one or multiple to the close range wireless communication module for performing this method, and close range wireless communication module Specially any communication module is not limited.
The embodiment of the present application provides a kind of method that information is exchanged, and is believed by the target device of the target electronic device for obtaining Breath and local facility information, determine local and target electronic device Role Information in the information exchange respectively, then, for The corresponding target information of information exchange requests, based on above-mentioned Role Information, enters row information and exchanges with target electronic device, so, Target device information and local facility information based on target electronic device determine local and target electronic device in information Role Information in exchange so that the role during information is exchanged can determine that without manually operation, so as to improve information exchange Efficiency.
Embodiment two
As shown in Fig. 2 the embodiment of the present application provides a kind of method that information is exchanged, the executive agent of the method can be Electronic equipment.The electronic equipment can be the terminals such as the mobile terminal devices such as mobile phone, panel computer, or personal computer Equipment.Close range wireless communication module can be included in electronic equipment, the present embodiment specifically can be by near in electronic equipment Distance wireless communication module realizes that the method specifically may include steps of:
In step s 201, the information exchange requests of target electronic device are obtained, target is included in the information exchange requests The target device information of electronic equipment.
The treatment of above-mentioned steps S201 may refer to the related content of step S101 in above-described embodiment one, no longer go to live in the household of one's in-laws on getting married herein State.
When being carried out data transmission by close range wireless communication module between two electronic equipments, it usually needs it is determined that both Role in data transmission procedure, illustrates so that Role Information includes service end and client as an example, specifically may refer to Following step S202.
In step S202, if target device information meets predetermined role's selection rule, and facility information is unsatisfactory for Predetermined role's selection rule, then using target electronic device as service end, and will be locally as client.
Wherein, facility information and target device information can be respectively International Mobile Equipment Identity IMEI code and/or medium Access control MAC addresses and/or equipment SN (Serial Number, sequence number) codes and/or close range wireless communication module SN yards Deng.
In force, role's selection rule can be in the electronic device pre-set, such as set device SN yards of threshold value, Using the equipment SN yards of equipment more than the threshold value as service end, and the equipment for being less than the threshold value using equipment SN yard is used as client. So, if electronic equipment determines mesh by the analysis to target device information, local facility information and role's selection rule Marking device information meets predetermined role's selection rule, and facility information is unsatisfactory for predetermined role's selection rule, then by target Electronic equipment as service end, and using electronic equipment as client.If electronic equipment is by target device information, local Facility information and role's selection rule analysis, determine that facility information meets predetermined role's selection rule, and target device Information is unsatisfactory for predetermined role's selection rule, then using electronic equipment as service end, and using target electronic device as client End.If target device information and facility information all meet or are all unsatisfactory for predetermined role's selection rule, can be by it Its mode (such as randomly select or size of data manner of comparison is chosen) determines service end and client, so that it is determined that electronics sets Standby and target electronic device Role Information in the information exchange.
It should be noted that for the mode of above-mentioned set angle color selection rule, the role in target electronic device chooses Rule is identical with the role's selection rule in electronic equipment.
In addition, except that can determine that electronic equipment and target electronic device are respective in the information exchange using equipment SN yards Role outside, can also realize otherwise, such as by IMEI code, corresponding treatment can include, if target is electric The IMEI code of sub- equipment is more than local IMEI code, then using target electronic device as service end, and will be locally as client.
In step S203, when the target for receiving target electronic device transmission exchanges information, by information exchange requests Corresponding target information is sent to target electronic device.
The Role Information that electronic equipment and target electronic device can be based on determining enter row information exchange, and specific treatment can be with Referring to the related content of step S103 in above-described embodiment one, will not be repeated here.
The embodiment of the present application provides a kind of method that information is exchanged, the target device information of the target electronic device of acquisition and Local facility information, determines local and target electronic device Role Information in the information exchange, then, for information respectively The corresponding target information of request is exchanged, based on above-mentioned Role Information, is entered row information with target electronic device and is exchanged, so, be based on The target device information of target electronic device and local facility information determine local and target electronic device in information exchange In Role Information so that information exchange in role without manually operation i.e. can determine that so that improve information exchange efficiency.
Embodiment three
As shown in figure 3, the embodiment of the present application provides a kind of method that information is exchanged, the executive agent of the method can be Electronic equipment.The electronic equipment can be the terminals such as the mobile terminal devices such as mobile phone, panel computer, or personal computer Equipment.The first close range wireless communication module and the second close range wireless communication module, this implementation can be included in electronic equipment Example can specifically be realized by the first close range wireless communication module in electronic equipment and the second close range wireless communication module, The method specifically may include steps of:
In step S301, electronic equipment receives what target electronic device sent by the second close range wireless communication module The first information exchanges request, and the first information exchanges the target device information comprising target electronic device in request.
Wherein, it can be the information exchange requests that target electronic device sends to electronic equipment that the first information exchanges request. Second close range wireless communication module can be the communication module based on certain wireless communication technology, for example, being based on Bluetooth technology The communication module, communication module based on NFC technique, the communication module based on Wi-Fi technology, logical based on the UWB communication technologys Letter module or the communication module based on TransferJet technologies etc..Target device information can be IMEI code and/or MAC Address And/or equipment SN yards and/or first close range wireless communication module SN yards and/or second close range wireless communication module SN yards Deng.
In force, it is contemplated that the data volume included in information exchange requests generally will not be excessive, also for the information of reduction The duration that clearing house spends, the second close range wireless communication module can, security fast from low-power consumption, data transmission bauds compared with Close range wireless communication module high, for example, the communication module based on NFC technique or the communication module based on Bluetooth technology etc.. The specific treatment of above-mentioned steps S301 may refer to the related content of step S101 in above-described embodiment one, will not be repeated here.
In step s 302, electronic equipment sends second by the second close range wireless communication module to target electronic device Information exchange requests, the facility information comprising electronic equipment in the second information exchange requests.
Wherein, facility information can be IMEI code and/or MAC Address and/or equipment SN yards and/or the first near radio Communication module SN yards and/or second close range wireless communication module SN yards etc..
The treatment of above-mentioned steps S302 may refer to the related content in above-described embodiment one, will not be repeated here.
It should be noted that above-mentioned steps S301 and step S302 are performed in sequence in the embodiment of the present application, In practical application, above-mentioned steps S301 and step S302 does not exist the limitation of strict execution sequence, i.e. both implementation procedures Can perform simultaneously, it is also possible to performed with any sequencing, the embodiment of the present application is not limited this.
In step S303, the first close range wireless communication module of electronic equipment obtains the first letter of target electronic device Breath exchanges request.
Meanwhile, the second information of the first close range wireless communication module acquisition electronic equipment of target electronic device is exchanged please Ask.
Following step S304~step can successively be performed by the second close range wireless communication module of electronic equipment The treatment of S307.
In step s 304, electronic equipment determine according to target device information and local facility information, respectively it is local and Target electronic device Role Information in the information exchange.
In force, the second close range wireless communication module can be identical with the first close range wireless communication module, also may be used With difference, but, it is contemplated that the data volume of the corresponding target information of information exchange requests may be larger, therefore, second closely Wireless communication module can be the close range wireless communication module that data transmission bauds is very fast, bandwidth is larger, for example, be based on The communication module of TransferJet technologies.
Role Information can include service end and client.Role's selection rule can in the electronic device be pre-set (wherein, the role's selection rule in target electronic device is identical with the role's selection rule in electronic equipment), for example, set One close range wireless communication module SN yards of threshold value, first close range wireless communication module SN yards equipment more than the threshold value is made It is service end, and using first close range wireless communication module SN yards equipment less than the threshold value as client.So, if electric Sub- equipment determines that target device information meets predetermined role's selection rule, and facility information is unsatisfactory for predetermined role and chooses rule Then, then using target electronic device as service end, and using electronic equipment as client.If electronic equipment determines facility information Meet predetermined role's selection rule, and target device information is unsatisfactory for predetermined role's selection rule, then make electronic equipment It is service end, and using target electronic device as client.Such as above-mentioned related content, if electronic equipment determines that target device is believed Breath and facility information all meet or be all unsatisfactory for predetermined role's selection rule, then can otherwise (such as randomly select, Or the selection of size of data manner of comparison etc.) determine service end and client, so that it is determined that electronic equipment and target electronic device exist Role Information in information exchange.
In step S305, target electronic device determines this respectively according to target device information and local facility information Ground and target electronic device Role Information in the information exchange.
In force, target electronic device can receive the second information exchange requests of electronic equipment transmission, and extract the The facility information of the electronic equipment in two information exchange requests, meanwhile, the target device information of target electronic device can be obtained, And can respectively determine electronic equipment and target electronic device in the information exchange according to target device information and facility information Role Information.Wherein, the processing mode of the Role Information for determination electronic equipment and target electronic device in the information exchange, The related content of above-mentioned steps S304 is may refer to, be will not be repeated here.
It should be noted that above-mentioned steps S304 and step S305 are performed in sequence in the embodiment of the present application, In practical application, above-mentioned steps S304 and step S305 does not exist the limitation of strict execution sequence, i.e. both implementation procedures Can perform simultaneously, it is also possible to performed with any sequencing, the embodiment of the present application is not limited this.
In step S306, electronic equipment and target electronic device determine electronic equipment and target electronic device through consultation Role Information in the information exchange.
In force, electronic equipment and target electronic device determine electronic equipment and target electronic device in information respectively Role in exchange, the result of the Role Information that electronic equipment will can be obtained is sent to target electronic device, meanwhile, target electricity The result of the Role Information that sub- equipment will can be obtained is sent to electronic equipment, if two results are identical, electronic equipment and Target electronic device can determine Role Information corresponding with the result for obtaining, if two result differences, electronic equipment and The mode that target electronic device can consult agreement determines electronic equipment and target electronic device role's letter in the information exchange Breath.
In step S307, electronic equipment is based on above-mentioned Role Information, for the corresponding target information of information exchange requests, Enter row information by the second close range wireless communication module and target electronic device to exchange.
The Role Information that electronic equipment and target electronic device can be based on determining enter row information exchange, and specific treatment can be with Referring to the related content of step S103 in above-described embodiment one, will not be repeated here.
The embodiment of the present application provides a kind of method that information is exchanged, and target is received by the first close range wireless communication module Target device information and local facility information that electronic equipment sends, determine that local and target electronic device is handed in information respectively Role Information in changing, then, for the corresponding target information of information exchange requests, based on above-mentioned Role Information, by second Close range wireless communication module is entered row information and is exchanged with target electronic device, so, the target device based on target electronic device Information and local facility information determine local and target electronic device Role Information in the information exchange so that information friendship Role in changing can determine that without manually operation, so as to improve the efficiency of information exchange.
Example IV
As shown in figure 4, the embodiment of the present application provides a kind of method that information is exchanged, the executive agent of the method can be Electronic equipment, the electronic equipment can include the first close range wireless communication module and the second close range wireless communication module, this With the first close range wireless communication module it is the communication module based on NFC technique in application embodiment, the second near radio leads to As a example by letter module is the communication module based on high-speed transfer TransferJet technologies, the embodiment of the present application is described in detail, The first close range wireless communication module and the second close range wireless communication module for other situations may refer to above-mentioned implementation The related content in related content, embodiment two in example one or the related content in embodiment three, will not be repeated here.Should Method specifically may include steps of:
In step S401, electronic equipment receives what target electronic device sent by the communication module based on NFC technique The first information exchanges request, and the first information exchanges the target device information comprising target electronic device in request.
Wherein, target device information can be respectively International Mobile Equipment Identity IMEI code and/or medium access control MAC Address and/or equipment SN yards and/or first close range wireless communication module SN yards and/or the second close range wireless communication module SN Code etc..It is described in detail by taking IMEI code as an example in the embodiment of the present application.
In step S402, electronic equipment sends second by the communication module based on NFC technique to target electronic device Information exchange requests, the facility information comprising electronic equipment in the second information exchange requests.
The specific treatment of above-mentioned steps S401 and step S402 can include:When user needs to enter row information with other users During exchange, the NFC that user can be clicked in electronic equipment opens button, and electronic equipment can start the communication based on NFC technique Module.User can be close to target electronic device by electronic equipment, when distance between the two reaches preset distance, electronics The communication module based on NFC technique in equipment can point out user to search target electronic device, now, electronic equipment and mesh Communication link is set up between the communication module based on NFC technique in mark electronic equipment, also, electronic equipment can be by setting up Communication link the second information exchange requests are sent to target electronic device.Meanwhile, electronic equipment is by based on NFC technique Communication module receives the first information exchange request that target electronic device sends.
In step S403, the communication module based on TransferJet technologies of electronic equipment is from logical based on NFC technique The first information that letter module obtains target electronic device exchanges request.
Meanwhile, the communication module based on TransferJet technologies of target electronic device is from the communication mould based on NFC technique Block obtains the second information exchange requests of electronic equipment.
Perform the place of following step S404~step S408 successively by the communication module based on TransferJet technologies Reason.
In step s 404, if electronic equipment is according to the IMEI code of target electronic device and the IMEI code of electronic equipment, Determine the IMEI code of target electronic device more than local IMEI code, then using target electronic device as service end, and will be local As client.
In force, electronic equipment can carry out the IMEI code of the IMEI code of target electronic device and electronic equipment right Than that if the IMEI code of target electronic device is more than local IMEI code, can determine that the performance of target electronic device is more excellent Show, at this point it is possible to using target electronic device as information exchange in service end, and using electronic equipment as information exchange in Client.
In step S405, if target electronic device is according to the IMEI code of target electronic device and the IMEI of electronic equipment Code, determines the IMEI code of target electronic device more than local IMEI code, then using target electronic device as service end, and incite somebody to action this Ground is used as client.
The treatment of above-mentioned steps S405 may refer to the related content of above-mentioned steps S404, will not be repeated here.
In step S406, electronic equipment and target electronic device are determined target electronic device as service end, and will Locally as client.
In force, the Role Information phase in being exchanged due to the information that electronic equipment and target electronic device determine respectively Together, therefore, electronic equipment and target electronic device can be determined target electronic device as service end, and will be locally as visitor Family end, such that it is able to obtain electronic equipment and target electronic device Role Information in the information exchange.
In step S 407, target electronic device obtains the corresponding target of the second information exchange requests and exchanges information, and will It is sent to electronic equipment.
In step S408, when target exchange information is received, electronic equipment is by based on TransferJet technologies The first information is exchanged the corresponding target information of request and is sent to target electronic device by communication module.
The treatment of above-mentioned steps S407 and step S408 may refer to the related content in above-described embodiment one, herein no longer Repeat.
The embodiment of the present application provides a kind of method that information is exchanged, and target is received by the communication module based on NFC technique Target device information and local facility information that electronic equipment sends, determine that local and target electronic device is handed in information respectively Role Information in changing, then, for the corresponding target information of information exchange requests, based on above-mentioned Role Information, by being based on The communication module of TransferJet technologies is entered row information and is exchanged with target electronic device, so, the mesh based on target electronic device Marking device information and local facility information determine local and target electronic device Role Information in the information exchange so that Role during information is exchanged can determine that without manually operation, so as to improve the efficiency of information exchange.
Embodiment five
It is above the method that the information that the embodiment of the present application is provided is exchanged, based on same thinking, the embodiment of the present application is also A kind of electronic equipment is provided, as shown in Figure 5.
Reference picture 5, electronic equipment can include communication component, wherein, communication component can include the first near radio The close range wireless communication module 502 of communication module 501 and second, additionally, the electronic equipment can also include with next or many Individual component:The interface 506 of processing assembly 503, memory 504, power supply module 505 and input/output (I/O).
First close range wireless communication module 501, the information exchange requests for obtaining target electronic device are described Target device information comprising the target electronic device in information exchange requests;According to the target device information and local Facility information, determines local and target electronic device Role Information in the information exchange respectively;Based on role letter Breath, the corresponding target information of request is exchanged for described information, is entered row information with the target electronic device and is exchanged.
In the embodiment of the present application, the Role Information includes service end and client, first wireless near field communication Module 501, if meeting predetermined role's selection rule for the target device information, and the facility information be unsatisfactory for it is pre- Fixed role's selection rule, then using the target electronic device as service end, and will be locally as client;When receiving When the target for stating target electronic device transmission exchanges information, the corresponding target information of described information exchange request is sent to described Target electronic device.
In the embodiment of the present application, the electronic equipment also includes the second close range wireless communication module 502, and described second is near Distance wireless communication module 502, for receiving the information exchange requests that the target electronic device sends.
In the embodiment of the present application, first close range wireless communication module 501 is based on high-speed transfer TransferJet The communication module of technology.
In the embodiment of the present application, second close range wireless communication module 502 is logical based on near-field communication NFC technique Letter module.
In the embodiment of the present application, the facility information and the target device information are respectively International Mobile Equipment Identity IMEI code and/or medium access control MAC Address and/or equipment Serial Number SN yards and/or the first close range wireless communication module 501SN yards and/or second close range wireless communication module 502SN yards.
In the embodiment of the present application, the Role Information includes service end and client, the facility information and the target Facility information is IMEI code, first close range wireless communication module 501, if for the IMEI of the target electronic device Code is more than local IMEI code, then using the target electronic device as service end, and will be locally as client.
The integrated operation of the usual control electronics of processing assembly 503, such as with display, data communication and record operation phase The operation of association.Processing assembly 503 can carry out execute instruction including one or more processors 507, to complete above-mentioned method All or part of step.Additionally, processing assembly 503 can include one or more modules, be easy to processing assembly 503 and other Interaction between component.
Memory 504 is configured as storing various types of data supporting the operation in electronic equipment.These data Example includes the instruction for any application program or method for operating on an electronic device, such as message, picture, video.Deposit Reservoir 504 can be by any kind of volatibility or non-volatile memory device or combinations thereof realization, such as static random Access memory (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or light Disk.
Power supply module 505 provides electric power for the various assemblies of electronic equipment.Power supply module 505 can include power management system System, one or more power supplys, and other with for electronic equipment generation, management and distribute the component that is associated of electric power.
, to provide interface between processing assembly 503 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 506 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
In addition to the above-described components, electronic equipment can also include such as multimedia groupware, audio-frequency assembly (not shown in Fig. 5) etc..
In the exemplary embodiment, electronic equipment can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 507 of electronic equipment.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the treatment of electronic equipment When device is performed so that electronic equipment is able to carry out the method that any one information of one~example IV of above-described embodiment is exchanged.
The embodiment of the present application provides a kind of electronic equipment, by the target device information and sheet of the target electronic device of acquisition The facility information on ground, determines local and target electronic device Role Information in the information exchange respectively, then, is handed over for information The corresponding target information of request is changed, based on above-mentioned Role Information, is entered row information with target electronic device and is exchanged, so, based on mesh The target device information and local facility information of electronic equipment is marked to determine local and target electronic device in the information exchange Role Information so that information exchange in role without manually operation i.e. can determine that so that improve information exchange efficiency.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information Store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, can be used to store the information that can be accessed by a computing device.Defined according to herein, calculated Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.And, the application can be used to be can use in one or more computers for wherein including computer usable program code and deposited The shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., within the scope of should be included in claims hereof.

Claims (11)

1. a kind of method that information is exchanged, it is characterised in that methods described includes:
The information exchange requests of target electronic device are obtained, described information exchanges the mesh comprising the target electronic device in request Marking device information;
According to the target device information and local facility information, determine the local and target electronic device in information respectively Role Information in exchange;
Based on the Role Information, the corresponding target information of request is exchanged for described information, entered with the target electronic device Row information is exchanged.
2. method according to claim 1, it is characterised in that the Role Information includes service end and client,
It is described according to the facility information and the target device information, determine the local and target electronic device in letter respectively Role Information in breath exchange, including:
If the target device information meets predetermined role's selection rule, and the facility information is unsatisfactory for predetermined role Selection rule, then using the target electronic device as service end, and will be locally as client;
Correspondingly, it is described based on the Role Information, the corresponding target information of request is exchanged for described information, with the target Electronic equipment enters row information exchange, including:
When the target exchange information that the target electronic device sends is received, described information is exchanged into the corresponding target of request Information is sent to the target electronic device.
3. method according to claim 2, it is characterised in that the facility information and the target device information are respectively International Mobile Equipment Identity IMEI code and/or medium access control MAC Address and/or equipment Serial Number SN yards.
4. method according to claim 3, it is characterised in that the Role Information includes service end and client, described Facility information and the target device information are IMEI code,
If the target device information meets predetermined role's selection rule, and the facility information be unsatisfactory for it is predetermined Role's selection rule, then using the target electronic device as service end, and will locally as client, including:
If the IMEI code of the target electronic device is more than local IMEI code, using the target electronic device as service End, and will be locally as client.
5. a kind of electronic equipment, it is characterised in that the electronic equipment includes the first close range wireless communication module,
First close range wireless communication module, the information exchange requests for obtaining target electronic device, described information is handed over Change the target device information comprising the target electronic device in request;According to the target device information and local equipment letter Breath, determines local and target electronic device Role Information in the information exchange respectively;Based on the Role Information, for Described information exchanges the corresponding target information of request, enters row information with the target electronic device and exchanges.
6. electronic equipment according to claim 5, it is characterised in that the Role Information includes service end and client,
First close range wireless communication module, if meeting predetermined role for the target device information chooses rule Then, the facility information is unsatisfactory for predetermined role's selection rule, then using the target electronic device as service end, and will Locally as client;When the target exchange information that the target electronic device sends is received, described information is exchanged please Corresponding target information is asked to be sent to the target electronic device.
7. electronic equipment according to claim 6, it is characterised in that the electronic equipment also includes the second near radio Communication module,
Second close range wireless communication module, for receiving the information exchange requests that the target electronic device sends.
8. the electronic equipment according to any one of claim 5-7, it is characterised in that first wireless near field communication Module is the communication module based on high-speed transfer TransferJet technologies.
9. electronic equipment according to claim 8, it is characterised in that second close range wireless communication module be based on The communication module of near-field communication NFC technique.
10. electronic equipment according to claim 7, it is characterised in that the facility information and the target device information Respectively International Mobile Equipment Identity IMEI code and/or medium access control MAC Address and/or equipment Serial Number SN yards and/or First close range wireless communication module SN yards and/or second close range wireless communication module SN yards.
11. electronic equipments according to claim 10, it is characterised in that the Role Information includes service end and client End, the facility information and the target device information are IMEI code,
First close range wireless communication module, if being more than local IMEI for the IMEI code of the target electronic device Code, then using the target electronic device as service end, and will be locally as client.
CN201611208234.0A 2016-12-23 2016-12-23 Information exchange method and electronic device Withdrawn CN106714085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611208234.0A CN106714085A (en) 2016-12-23 2016-12-23 Information exchange method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611208234.0A CN106714085A (en) 2016-12-23 2016-12-23 Information exchange method and electronic device

Publications (1)

Publication Number Publication Date
CN106714085A true CN106714085A (en) 2017-05-24

Family

ID=58895677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611208234.0A Withdrawn CN106714085A (en) 2016-12-23 2016-12-23 Information exchange method and electronic device

Country Status (1)

Country Link
CN (1) CN106714085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315813A (en) * 2021-05-08 2021-08-27 重庆第二师范学院 Information exchange method and system for big data internet information chain system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141697A (en) * 2007-10-15 2008-03-12 北京航空航天大学 Video sharing method of mobile stream media
CN101233699A (en) * 2005-06-30 2008-07-30 诺基亚公司 RFID optimized capability negotiation
CN103533542A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Method and apparatus for establishing wireless connection between electronic devices
CN104580444A (en) * 2014-12-31 2015-04-29 深圳创维-Rgb电子有限公司 Self-adaptive pairing communication method and system between intelligent devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101233699A (en) * 2005-06-30 2008-07-30 诺基亚公司 RFID optimized capability negotiation
CN101141697A (en) * 2007-10-15 2008-03-12 北京航空航天大学 Video sharing method of mobile stream media
CN103533542A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Method and apparatus for establishing wireless connection between electronic devices
CN104580444A (en) * 2014-12-31 2015-04-29 深圳创维-Rgb电子有限公司 Self-adaptive pairing communication method and system between intelligent devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315813A (en) * 2021-05-08 2021-08-27 重庆第二师范学院 Information exchange method and system for big data internet information chain system

Similar Documents

Publication Publication Date Title
US10917374B2 (en) Techniques to visualize messaging flow
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
US8229415B1 (en) Wireless communication data store construction and analysis
RU2558680C2 (en) Method, device and system of processing for control of pass-band
CN103973899A (en) Mobile terminal and configuration sharing method thereof
CN104125307A (en) Data flow sharing method and device
CN102368746A (en) Picture information promotion method and apparatus thereof
CN103493523A (en) Methods, systems, and computer readable media for diameter-based steering of mobile device network access
US9510181B2 (en) Image-based remote subscriber identity module activation
CN105430747A (en) Communication method, device and system
US11165899B1 (en) Techniques to manage contact records
CN104052727B (en) The device and method that network for controlling the application on mobile terminal accesses
CN103401988B (en) Mobile phone, based on the mobile communication control method of radio-frequency technique and system
US20140122616A1 (en) Method and apparatus for realizing community federation
CN102355509A (en) Method and device for transmitting and receiving message according to mobile number in contact list
CN104270440A (en) Portal processing method of portable broadband wireless access equipment
CN104994009A (en) Friend message shielding method and device based on address list
CN103716230A (en) Message sending method, device and server
CN103959719B (en) Message switching system, user management device, message switching method
EP2627058B1 (en) Real-time interaction in a communication network
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit
CN106714085A (en) Information exchange method and electronic device
CN102075386B (en) Identification method and device
CN103338248B (en) A kind of method, system and device of two communication account number opening relationships
CN103634348A (en) Terminal device and method for releasing information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170524