CN109510648A - Near-field information transmission method - Google Patents

Near-field information transmission method Download PDF

Info

Publication number
CN109510648A
CN109510648A CN201910075474.5A CN201910075474A CN109510648A CN 109510648 A CN109510648 A CN 109510648A CN 201910075474 A CN201910075474 A CN 201910075474A CN 109510648 A CN109510648 A CN 109510648A
Authority
CN
China
Prior art keywords
terminal
information
server
wifi
unpaired message
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
CN201910075474.5A
Other languages
Chinese (zh)
Other versions
CN109510648B (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.)
Suirui Technology Co Ltd
Original Assignee
Suirui 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 Suirui Technology Co Ltd filed Critical Suirui Technology Co Ltd
Priority to CN201910075474.5A priority Critical patent/CN109510648B/en
Publication of CN109510648A publication Critical patent/CN109510648A/en
Application granted granted Critical
Publication of CN109510648B publication Critical patent/CN109510648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of near-field information transmission methods, comprising: which server receives the registration request that first terminal is sent, it include registration information in the registration request, which includes the service set information of WIFI, and the service set information of WIFI includes terminal unpaired message;Server registers first terminal according to registration information and saves the terminal unpaired message of first terminal, and the first long connection service based on Websocket is established between server and first terminal;Server notifies the service set information of first terminal broadcast WIFI;The terminal unpaired message of server reception second terminal, and whether the terminal unpaired message for detecting second terminal is identical as the terminal unpaired message saved in server, if they are the same, then the second long connection service based on Websocket is established between server and second terminal.The near-field information transmission method can conveniently and efficiently realize that the information between different terminals is transmitted.

Description

Near-field information transmission method
Technical field
The present invention relates to wireless communication technology fields, especially with regard to a kind of near-field information transmission method.
Background technique
Timeliness and urgency now with inter-enterprise collaboration require higher and higher, and video conference is used widely. The meeting room hardware device that video conference is traditionally divided into the software client of personal use and uses in public.User exists In use process, it is often necessary to meeting be switched to shared device from personal device, or be switched to individual from shared device and set It is standby.Mode general at present generally comprises: one, carrying out again after meeting being added by the way of passing through invitation or input meeting number More information exchange operations;Two, it is handled using certain near field technique (for example ultrasonic wave).First way is not convenient enough Fast, the second way is not sufficiently stable and safely, has seriously affected user experience and timeliness.
The information disclosed in the background technology section is intended only to increase the understanding to general background of the invention, without answering When being considered as recognizing or imply that the information constitutes the prior art already known to those of ordinary skill in the art in any form.
Summary of the invention
The purpose of the present invention is to provide a kind of near-field information transmission methods, can conveniently and efficiently realize different terminals Between information transmitting.
To achieve the above object, it the present invention provides a kind of near-field information transmission method, is used in first terminal and Near-field information transmitting is carried out between two terminals.The near-field information transmission method includes: that server receives the first terminal transmission Registration request, include registration information in the registration request, which includes the service set information of WIFI, and institute The service set information for stating WIFI includes terminal unpaired message;The server is whole to described first according to the registration information The terminal unpaired message of the first terminal is registered and is saved at end, establishes base between the server and the first terminal In the first long connection service of Websocket;The server notifies the first terminal to broadcast the services set mark of the WIFI Know information;The server receives the terminal unpaired message of the second terminal, and detects the terminal pairing of the second terminal Whether information is identical as the terminal unpaired message saved in the server, if they are the same, then the server and described second The second long connection service based on Websocket is established between terminal, wherein the terminal unpaired message of the second terminal is institute State what second terminal was obtained from the service set information for the WIFI that the first terminal received is broadcasted.
In a preferred embodiment, the service set information of the WIFI is that the first terminal generates, institute It states first terminal and is also used to generate different unique codes, the terminal pairing when carrying out registration request to the server every time Information is the substring extracted from unique code.
In a preferred embodiment, the first terminal is infused according to the registration information in the server Before volume further include: the server detects the terminal unpaired message of the first terminal, if the first terminal Terminal unpaired message without registering, then detects success, into next step in the server.
In a preferred embodiment, the service set information of the WIFI further include first terminal identification information with And first terminal status information, the first terminal identification information is for identifying the service set information for generating the WIFI First terminal, the first terminal status information are used to identify the current state of the first terminal.
In a preferred embodiment, the second terminal is also used to scan the WIFI list of surrounding, and saves packet Service set containing the first terminal identification information, the second terminal are also used to the service set saved according to itself First terminal status information in information judges the current state of the first terminal, and the first terminal current state is accorded with The desired service set is closed to extract and shown.
In a preferred embodiment, the first terminal is also used to be arranged the password for connecting the WIFI, should Password is without broadcast, and the second terminal is also used to the terminal pairing in the service set information according to itself preservation Information cracks out the password for connecting the WIFI.
In a preferred embodiment, the near-field information transmission method further include: the server receives described the The command information that two terminals are sent, and the command information is forwarded to the first terminal and is executed.
In a preferred embodiment, the near-field information transmission method further include: the server receives described the The instruction execution information of one terminal feedback, and the instruction execution result of the first terminal is sent to the first terminal and is carried out Display.
Compared with prior art, near-field information transmission method according to the present invention, the services set that first terminal passes through WIFI Identification information transmits information to second terminal, rather than after connecting upper WIFI, therefore second terminal can be greatly improved Obtain the speed of first terminal information.And terminal unpaired message is the substring extracted from unique code, and unique code is every Secondary registration is all different, first terminal before being attached with server, can the terminal unpaired message to first terminal examine It surveys, detects whether it repeats, and server meeting before establishing connection with second terminal matches letter to the terminal of second terminal Breath is verified, and can greatly guarantee the safety of information transmitting.Password for connecting WIFI is to be matched to believe according to terminal Breath and generate, first terminal does not broadcast the password for connecting WIFI, further improve information transmitting safety.Separately Outside, in an embodiment, in addition to terminal unpaired message, the service set information for the WIFI that first terminal generates further includes first Terminal identification information and first terminal status information, second terminal is by the WIFI list around scanning, according to the of WIFI One terminal identification information and first terminal status information can be quickly found out the satisfactory first terminal of mark and state, Further increase the agility and convenience that information is transmitted between terminal.
Detailed description of the invention
Fig. 1 is the flow chart of near-field information transmission method according to an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing, specific embodiments of the present invention will be described in detail, it is to be understood that guarantor of the invention Shield range is not limited by the specific implementation.
Unless otherwise explicitly stated, otherwise in entire disclosure and claims, term " includes " or its change Changing such as "comprising" or " including " etc. will be understood to comprise stated element or component, and not exclude other members Part or other component parts.
Fig. 1 is a kind of near-field information transmission method according to an embodiment of the present invention, in the near-field information transmission method, First terminal transmits information to second terminal by the service set information of WIFI, rather than after connecting upper WIFI, Therefore the speed that second terminal obtains first terminal information can be greatly improved.The near-field information transmission method include step S1~ Step S4.
Server receives the registration request that first terminal is sent in step sl: server receives the note that first terminal is sent Volume request, includes registration information in the registration request, which includes the service set information of WIFI, and WIFI Service set information includes terminal unpaired message.
Server saves the terminal unpaired message of first terminal and establishes the first long connection service: server in step s 2 The terminal unpaired message of first terminal is registered and saved to first terminal according to registration information, and server and first is eventually The first long connection service based on Websocket is established between end.
The service set information of server notice first terminal broadcast WIFI in step s3.
In step s 4, server detects the terminal unpaired message of second terminal and establishes the second long connection service: service Device receives and detects the terminal unpaired message of second terminal, if detecting successfully, establishes and is based between server and second terminal The long connection service of the second of Websocket.Wherein, the terminal unpaired message of second terminal is second terminal from first received It is obtained in the service set information of the WIFI of terminal broadcast.In one embodiment, the end of server detection second terminal End unpaired message includes: the terminal unpaired message phase whether the terminal unpaired message of server detection second terminal saves with itself Together, success is detected if the two is identical, and the second long connection clothes based on Websocket are established between server and second terminal Business.
In one embodiment, the service set information of WIFI be first terminal generate, first terminal every time to Server carries out generating different unique codes when registration request, and terminal unpaired message is the sub- character extracted from unique code String.Before server registers first terminal further include: server examines the terminal unpaired message of first terminal It surveys, if the terminal unpaired message of first terminal was in the server always without registering, i.e., the terminal of the first terminal matches letter Breath is uniquely, then to detect success, then server again registers first terminal.The peace of information transmitting can be promoted in this way Entirely.
In order to further enhance the safety of information transmitting, first terminal is also used to be arranged the password for connecting WIFI, The password is without broadcast.The password can be generated on the basis of terminal unpaired message by certain rule, in this way due to only One yard is registered all differences every time, so terminal unpaired message and password can all change therewith, is further improved between terminal The safety of information transmitting.
In order to allow second terminal to be further quickly obtained the information of first terminal, in one embodiment, the clothes of WIFI Business set identifier information further includes first terminal identification information and first terminal status information, and first terminal identification information is for marking Know the first terminal for generating the service set information of WIFI, first terminal status information is used to identify the current shape of first terminal State.WIFI list around second terminal timing or on demand scanning, if it find that the services set comprising first terminal identification information Mark, then keep in the service set of the WIFI.When carrying out interaction between terminal, second terminal is saved according to itself Service set information in first terminal status information judge that the current state of first terminal is (such as idle, busy, normal Or the states such as failure), and the satisfactory service set of first terminal current state is extracted and shown, so as to User fast uses, and when user carries out prompt operation, second terminal can extract the terminal unpaired message in service set And send operation requests to server, if request successfully, between server and second terminal foundation based on Websoket the Two long connection services.The terminal unpaired message in service set information that second terminal is also used to be saved according to itself cracks out For connecting the password of WIFI.In order to make it easy to understand, assuming that the service set information for the WIFI that first terminal generates is ZMRHRSD7F12A230, ZMRHRS represent first terminal identification information, and D7F12A23 GC group connector unpaired message, 0 is first whole Status information is held, it, can be quick according to first terminal identification information ZMRHRS then when second terminal scanning is to the WIFI Judge whether the first terminal equipment is that second terminal wants the equipment for carrying out information exchange, if it is, in second terminal Judge whether equipment state meets the requirements further according to first terminal status information with before first terminal progress information exchange, if full Foot requires the service set for just showing this WIFI, so that user fast uses.The process can allow user to more rapidly find Suitable terminal device is attached, and improves the experience and timeliness of user.
In one embodiment, near-field information transmission method further include: server receives the instruction letter that second terminal is sent Breath, and the command information is forwarded to first terminal and is executed.Server receives the instruction execution information of first terminal feedback, And the instruction execution result of first terminal is sent to first terminal and is shown.
To sum up, near-field information transmission method according to the present embodiment, first terminal are believed by the service set of WIFI Breath transmits information to second terminal, rather than after connecting upper WIFI, therefore can greatly improve second terminal and obtain the The speed of one end message.And terminal unpaired message is the substring extracted from unique code, and unique code is registered every time It is all different, second terminal before being attached with server, can the terminal unpaired message to second terminal detect, detect Whether it repeats, it is ensured that the safety of information transmitting, and be according to terminal unpaired message for connecting the password of WIFI And generate, first terminal does not broadcast the password for connecting WIFI, further improves the safety of information transmitting.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The aforementioned description to specific exemplary embodiment of the invention is in order to illustrate and illustration purpose.These descriptions It is not wishing to limit the invention to disclosed precise forms, and it will be apparent that according to the above instruction, can much be changed And variation.The purpose of selecting and describing the exemplary embodiment is that explaining specific principle of the invention and its actually answering With so that those skilled in the art can be realized and utilize a variety of different exemplary implementation schemes of the invention and Various chooses and changes.The scope of the present invention is intended to be limited by claims and its equivalents.

Claims (8)

1. a kind of near-field information transmission method is used to carry out near-field information transmitting between first terminal and second terminal, It is characterized in that, which includes:
Server receives the registration request that the first terminal is sent, and includes registration information, the registration information in the registration request Service set information including WIFI, and the service set information of the WIFI includes terminal unpaired message;
The server registers the first terminal according to the registration information and saves the terminal of the first terminal Unpaired message establishes the first long connection service based on Websocket between the server and the first terminal;
The server notifies the first terminal to broadcast the service set information of the WIFI;And
The server receives the terminal unpaired message of the second terminal, and detects the terminal unpaired message of the second terminal It is whether identical as the terminal unpaired message saved in the server, if they are the same, then the server and the second terminal Between establish the based on Websocket second long connection service, wherein the terminal unpaired message of the second terminal is described the What two terminals were obtained from the service set information for the WIFI that the first terminal received is broadcasted.
2. near-field information transmission method as described in claim 1, which is characterized in that the service set information of the WIFI is What the first terminal generated, the first terminal is also used to generate when carrying out registration request to the server every time different Unique code, the terminal unpaired message is the substring extracted from unique code.
3. near-field information transmission method as claimed in claim 2, which is characterized in that believed in the server according to the registration Before breath registers the first terminal further include:
The server detects the terminal unpaired message of the first terminal, if the terminal of the first terminal matches letter Breath without registering, then detects success, into next step in the server.
4. near-field information transmission method as described in claim 1, which is characterized in that the service set information of the WIFI is also Including first terminal identification information and first terminal status information, the first terminal identification information is for identifying described in generation The first terminal of the service set information of WIFI, the first terminal status information is for identifying the current of the first terminal State.
5. near-field information transmission method as claimed in claim 4, which is characterized in that around the second terminal is also used to scan WIFI list, and save include the first terminal identification information service set, the second terminal is also used to root The current state of the first terminal is judged according to the first terminal status information in the service set information of itself preservation, and will The satisfactory service set of first terminal current state is extracted and is shown.
6. near-field information transmission method as described in claim 1, which is characterized in that the first terminal is also used to be arranged and be used for The password of the WIFI is connected, the password is without broadcast, and the second terminal is also used to the service according to itself preservation Terminal unpaired message in set identifier information cracks out the password for connecting the WIFI.
7. near-field information transmission method as described in claim 1, which is characterized in that the near-field information transmission method also wraps It includes:
The server receives the command information that the second terminal is sent, and the command information is forwarded to the first terminal It is executed.
8. near-field information transmission method as claimed in claim 7, which is characterized in that the near-field information transmission method also wraps It includes:
The server receives the instruction execution information of first terminal feedback, and by the instruction execution knot of the first terminal Fruit is sent to the first terminal and is shown.
CN201910075474.5A 2019-01-25 2019-01-25 Near field information transfer method Active CN109510648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910075474.5A CN109510648B (en) 2019-01-25 2019-01-25 Near field information transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910075474.5A CN109510648B (en) 2019-01-25 2019-01-25 Near field information transfer method

Publications (2)

Publication Number Publication Date
CN109510648A true CN109510648A (en) 2019-03-22
CN109510648B CN109510648B (en) 2020-02-21

Family

ID=65758192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910075474.5A Active CN109510648B (en) 2019-01-25 2019-01-25 Near field information transfer method

Country Status (1)

Country Link
CN (1) CN109510648B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468291A (en) * 2014-11-18 2015-03-25 深圳市金博通科技有限公司 WiFi module communication method and device
CN105554062A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Method, associated device and system of file transmission
CN107087293A (en) * 2017-03-09 2017-08-22 北京网康科技有限公司 A kind of cut-in method, terminal and server
CN107181807A (en) * 2013-08-14 2017-09-19 华为技术有限公司 The trustship method and system of application, mobile terminal, server
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance
CN108810896A (en) * 2018-07-17 2018-11-13 上海连尚网络科技有限公司 The connection authentication method and device of wireless access point

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181807A (en) * 2013-08-14 2017-09-19 华为技术有限公司 The trustship method and system of application, mobile terminal, server
CN104468291A (en) * 2014-11-18 2015-03-25 深圳市金博通科技有限公司 WiFi module communication method and device
CN105554062A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Method, associated device and system of file transmission
CN107087293A (en) * 2017-03-09 2017-08-22 北京网康科技有限公司 A kind of cut-in method, terminal and server
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance
CN108810896A (en) * 2018-07-17 2018-11-13 上海连尚网络科技有限公司 The connection authentication method and device of wireless access point

Also Published As

Publication number Publication date
CN109510648B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN104754279B (en) A kind of method and system for realizing video calling
EP2853102B1 (en) Location-based group generation method, apparatus and system
CN105451222B (en) A kind of terminal establishes the method, apparatus and system of connection
US10171996B2 (en) Communication apparatus method for controlling communication apparatus and program
KR101448593B1 (en) Method of pushing web service and server performing the same
KR20200021545A (en) Information transmission method and device
CN111224792B (en) Conference access method and device
CN112260929B (en) Content sharing method and device, terminal and storage medium
CN105336013B (en) It is a kind of that the method and system called the roll is realized by beacon broadcast
CN105207860B (en) A kind of business acceleration system and method
CN104782100B (en) Wireless communication system, wireless communication terminal and its operating method
CN103297326B (en) The method and apparatus of message push
CN106302093B (en) Communication method, system and server
CN106506316A (en) Information transferring method and device
CN109510648A (en) Near-field information transmission method
CN105227609A (en) The adaptive internet of things equipment exchange method of a kind of function based on micro-letter public platform
CN112291788B (en) Data processing method, device, storage medium, terminal and network access point equipment
CN111212253B (en) Monitoring processing method and device in video conference, electronic equipment and storage medium
US20120124228A1 (en) Multimedia session transfer control system and method
CN107395583B (en) Method and device for realizing communication between different applications based on natural language
KR101531198B1 (en) Call connecting process apparatus and method providing for authentication process using push message
CN104917837B (en) A kind of method and system for Message Processing
CN106332019A (en) Interaction method, device and system of unstructured supplementary data service
CN109951520A (en) A kind of data transmission method, air monitering equipment and storage medium
CN111212052A (en) Service processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100192 Beijing city Haidian District Baosheng Road No. 1 north of the Austrian Science Park Building No. 19 Beijing Suirui Center

Applicant after: Suirui Technology Group Co.,Ltd.

Address before: 100192 Beijing city Haidian District Baosheng Road No. 1 north of the Austrian Academy of science and Technology Park Building No. 19

Applicant before: SUIRUI CO.,LTD.

GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190322

Assignee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Assignor: Suirui Technology Group Co.,Ltd.

Contract record no.: X2022110000039

Denomination of invention: Near-field information transfer method

Granted publication date: 20200221

License type: Exclusive License

Record date: 20220928

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Near-field information transfer method

Effective date of registration: 20220930

Granted publication date: 20200221

Pledgee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Pledgor: Suirui Technology Group Co.,Ltd.

Registration number: Y2022110000253

EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Assignor: Suirui Technology Group Co.,Ltd.

Contract record no.: X2022110000039

Date of cancellation: 20240315

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20200221

Pledgee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Pledgor: Suirui Technology Group Co.,Ltd.

Registration number: Y2022110000253