CN109510648B - Near field information transfer method - Google Patents

Near field information transfer method Download PDF

Info

Publication number
CN109510648B
CN109510648B CN201910075474.5A CN201910075474A CN109510648B CN 109510648 B CN109510648 B CN 109510648B CN 201910075474 A CN201910075474 A CN 201910075474A CN 109510648 B CN109510648 B CN 109510648B
Authority
CN
China
Prior art keywords
terminal
information
server
wifi
service set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910075474.5A
Other languages
Chinese (zh)
Other versions
CN109510648A (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 Group Co Ltd
Original Assignee
Suirui Technology Group 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 Group Co Ltd filed Critical Suirui Technology Group 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

Images

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 near field information transmission method, which comprises the following steps: the method comprises the steps that a server receives a registration request sent by a first terminal, wherein the registration request comprises registration information, the registration information comprises service set identification information of WIFI, and the service set identification information of the WIFI comprises terminal pairing information; the server registers the first terminal according to the registration information and stores terminal pairing information of the first terminal, and a first long connection service based on Websocket is established between the server and the first terminal; the server informs the first terminal of broadcasting WIFI service set identification information; and the server receives the terminal pairing information of the second terminal, detects whether the terminal pairing information of the second terminal is the same as the terminal pairing information stored in the server, and if so, establishes a second long connection service based on Websocket between the server and the second terminal. The near field information transmission method can conveniently and quickly realize information transmission among different terminals.

Description

Near field information transfer method
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a near field information transfer method.
Background
At present, with higher requirements on timeliness and urgency of collaboration among enterprises, video conferences are widely applied. Video conferencing has traditionally been divided into software clients for personal use and conference room hardware devices for use in public places. During use, a user often needs to switch a conference from a personal device to a public device or from a public device to a personal device. The current common approaches generally include: firstly, adding a conference by inviting or inputting a conference number and then performing more information interaction operations; and secondly, processing by adopting a certain near-field technology (such as ultrasonic waves). The first mode is not convenient and fast enough, and the second mode is not stable and safe enough, which seriously affects the user experience and timeliness.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a near-field information transmission method which can conveniently and quickly realize information transmission among different terminals.
To achieve the above object, the present invention provides a near field information transfer method for performing near field information transfer between a first terminal and a second terminal. The near field information transfer method comprises the following steps: the method comprises the steps that a server receives a registration request sent by a first terminal, wherein the registration request comprises registration information, the registration information comprises service set identification information of WIFI, and the service set identification information of the WIFI comprises terminal pairing information; the server registers the first terminal according to the registration information and stores terminal pairing information of the first terminal, and a first long connection service based on Websocket is established between the server and the first terminal; the server informs the first terminal of broadcasting the service set identification information of the WIFI; the server receives terminal pairing information of the second terminal, detects whether the terminal pairing information of the second terminal is the same as terminal pairing information stored in the server, and if the terminal pairing information of the second terminal is the same as the terminal pairing information stored in the server, a second long connection service based on Websocket is established between the server and the second terminal, wherein the terminal pairing information of the second terminal is obtained by the second terminal from received service set identification information of the WIFI broadcasted by the first terminal.
In a preferred embodiment, the service set identification information of WIFI is generated by the first terminal, the first terminal is further configured to generate a different unique code each time a registration request is made to the server, and the terminal pairing information is a sub-character string extracted from the unique code.
In a preferred embodiment, before the server registers the first terminal according to the registration information, the method further includes: and the server detects the terminal pairing information of the first terminal, if the terminal pairing information of the first terminal is not registered in the server, the detection is successful, and the next step is carried out.
In a preferred embodiment, the service set identification information of the WIFI further includes first terminal identification information and first terminal state information, where the first terminal identification information is used to identify a first terminal that generates the service set identification information of the WIFI, and the first terminal state information is used to identify a current state of the first terminal.
In a preferred embodiment, the second terminal is further configured to scan a surrounding WIFI list, store a service set identifier including the first terminal identification information, and judge a current state of the first terminal according to first terminal state information in the service set identifier stored in the second terminal, and extract and display the service set identifier that meets a requirement of the current state of the first terminal.
In a preferred embodiment, the first terminal is further configured to set a password for connecting to the WIFI, the password is not broadcasted, and the second terminal is further configured to crack the password for connecting to the WIFI according to terminal pairing information in the service set identification information stored by the second terminal.
In a preferred embodiment, the near field information transfer method further includes: and the server receives the instruction information sent by the second terminal and forwards the instruction information to the first terminal for execution.
In a preferred embodiment, the near field information transfer method further includes: and the server receives the instruction execution information fed back by the first terminal and sends the instruction execution result of the first terminal to the first terminal for displaying.
Compared with the prior art, according to the near field information transmission method, the first terminal transmits information to the second terminal through the service set identification information of the WIFI instead of after the WIFI is connected, so that the speed of the second terminal for acquiring the information of the first terminal can be greatly improved. The terminal pairing information is a sub-character string extracted from the unique code, the unique code is different in each registration, the first terminal can detect the terminal pairing information of the first terminal before being connected with the server, whether the terminal pairing information is repeated or not is detected, the server can verify the terminal pairing information of the second terminal before being connected with the second terminal, and the safety of information transmission can be greatly guaranteed. The password for connecting the WIFI is generated according to the terminal pairing information, the first terminal does not broadcast the password for connecting the WIFI, and the safety of information transmission is further improved. In addition, in an embodiment, in addition to the terminal pairing information, the service set identification information of the WIFI generated by the first terminal further includes first terminal identification information and first terminal state information, and the second terminal can quickly find the first terminal with the identification and the state meeting the requirements according to the first terminal identification information and the first terminal state information of the WIFI by scanning a surrounding WIFI list, so that the rapidness and convenience of information transmission between terminals are further improved.
Drawings
Fig. 1 is a flowchart of a near field information transfer method according to an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
Fig. 1 is a diagram of a near field information transfer method according to an embodiment of the present invention, in which a first terminal transfers information to a second terminal through service set identification information of WIFI, instead of after connecting to the WIFI, so that a speed of acquiring information of the first terminal by the second terminal may be greatly increased. The near field information transfer method includes steps S1 to S4.
In step S1, the server receives the registration request sent by the first terminal: the server receives a registration request sent by the first terminal, the registration request comprises registration information, the registration information comprises service set identification information of WIFI, and the service set identification information of the WIFI comprises terminal pairing information.
The server saves the terminal pairing information of the first terminal and establishes the first long connection service in step S2: the server registers the first terminal according to the registration information and stores terminal pairing information of the first terminal, and a first long connection service based on Websocket is established between the server and the first terminal.
The server notifies the first terminal of broadcasting service set identification information of WIFI at step S3.
In step S4, the server detects the terminal pairing information of the second terminal and establishes the second long connection service: and the server receives and detects the terminal pairing information of the second terminal, and if the detection is successful, a second long connection service based on Websocket is established between the server and the second terminal. The terminal pairing information of the second terminal is obtained by the second terminal from the received service set identification information of the WIFI broadcasted by the first terminal. In one embodiment, the server detecting the terminal pairing information of the second terminal includes: and the server detects whether the terminal pairing information of the second terminal is the same as the terminal pairing information stored by the server, if so, the detection is successful, and a second long connection service based on Websocket is established between the server and the second terminal.
In one embodiment, the service set identification information of WIFI is generated by the first terminal, the first terminal generates a different unique code each time a registration request is made to the server, and the terminal pairing information is a substring extracted from the unique code. Before the server registers the first terminal, the method further comprises the following steps: the server detects the terminal pairing information of the first terminal, if the terminal pairing information of the first terminal is never registered in the server, namely the terminal pairing information of the first terminal is unique, the detection is successful, and then the server registers the first terminal. This may improve the security of the information transfer.
In order to further improve the safety of information transmission, the first terminal is also used for setting a password for connecting WIFI, and the password is not broadcasted. The password can be generated through a certain rule on the basis of the terminal pairing information, so that the terminal pairing information and the password can be changed along with the unique code which is different in each registration, and the safety of information transmission between terminals is further improved.
In order to enable the second terminal to further quickly obtain the information of the first terminal, in an embodiment, the service set identification information of the WIFI further includes first terminal identification information and first terminal state information, the first terminal identification information is used for identifying the first terminal generating the service set identification information of the WIFI, and the first terminal state information is used for identifying the current state of the first terminal. And the second terminal scans surrounding WIFI lists at regular time or on demand, and if the service set identifier containing the identification information of the first terminal is found, the service set identifier of the WIFI is temporarily stored. When the terminals are interacted, the second terminal judges the current state (such as idle, busy, normal or fault states and the like) of the first terminal according to the first terminal state information in the service set identification information stored by the second terminal, extracts and displays the service set identification of which the current state of the first terminal meets the requirements so that a user can use the service set identification quickly, when the user operates quickly, the second terminal extracts the terminal pairing information in the service set identification and sends an operation request to the server, and if the request is successful, a second long connection service based on Websoket is established between the server and the second terminal. The second terminal is also used for cracking a password for connecting WIFI according to terminal pairing information in the service set identification information stored by the second terminal. For convenience of understanding, it is assumed that service set identification information of WIFI generated by the first terminal is ZMRHRSD7F12a230, ZMRHRS represents first terminal identification information, D7F12a23 represents terminal pairing information, and 0 is first terminal state information, when the second terminal scans the WIFI, it can be quickly determined whether the first terminal device is a device that the second terminal wants to perform information interaction according to the first terminal identification information ZMRHRS, if so, it can be determined whether a device state meets requirements according to the first terminal state information before the second terminal performs information interaction with the first terminal, and if so, a service set identification of the WIFI is displayed so that a user can use the WIFI quickly. The process can enable the user to find the appropriate terminal device for connection more quickly, and the experience and timeliness of the user are improved.
In one embodiment, the near field information transfer method further includes: and the server receives the instruction information sent by the second terminal and forwards the instruction information to the first terminal for execution. And the server receives the instruction execution information fed back by the first terminal and sends the instruction execution result of the first terminal to the first terminal for displaying.
In summary, according to the near field information delivery method in this embodiment, the first terminal delivers information to the second terminal through the service set identification information of the WIFI, instead of after connecting the WIFI, so that the speed of the second terminal acquiring the information of the first terminal can be greatly increased. And the terminal pairing information is a sub-character string extracted from the unique code, the unique code is different in each registration, the terminal pairing information of the second terminal can be detected before the second terminal is connected with the server, whether the terminal pairing information is repeated or not is detected, the information transmission safety can be guaranteed, the password for connecting WIFI is generated according to the terminal pairing information, the password for connecting WIFI is not broadcasted by the first terminal, and the information transmission safety is further improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.

Claims (5)

1. A near field information transfer method for near field information transfer between a first terminal and a second terminal, the near field information transfer method comprising:
the method comprises the steps that a server receives a registration request sent by a first terminal, wherein the registration request comprises registration information, the registration information comprises service set identification information of WIFI, and the service set identification information of the WIFI comprises terminal pairing information;
the server registers the first terminal according to the registration information and stores terminal pairing information of the first terminal, and a first long connection service based on Websocket is established between the server and the first terminal;
the server informs the first terminal of broadcasting the service set identification information of the WIFI; and
the server receives terminal pairing information of the second terminal, detects whether the terminal pairing information of the second terminal is the same as terminal pairing information stored in the server, and if so, establishes a second long connection service based on Websocket between the server and the second terminal, wherein the terminal pairing information of the second terminal is obtained by the second terminal from received service set identification information of the WIFI broadcasted by the first terminal;
the WIFI service set identification information is generated by the first terminal, the first terminal is further used for generating different unique codes when a registration request is made to the server every time, and the terminal pairing information is a sub-character string extracted from the unique codes;
the service set identification information of the WIFI further comprises first terminal identification information and first terminal state information, the first terminal identification information is used for identifying a first terminal generating the service set identification information of the WIFI, and the first terminal state information is used for identifying the current state of the first terminal;
the second terminal is further used for scanning surrounding WIFI lists and storing service set identifications containing the first terminal identification information, and the second terminal is further used for judging the current state of the first terminal according to first terminal state information in the service set identification information stored by the second terminal, and extracting and displaying the service set identifications of which the current state of the first terminal meets the requirements.
2. The near field information transfer method of claim 1, further comprising, before the server registers the first terminal according to the registration information:
and the server detects the terminal pairing information of the first terminal, if the terminal pairing information of the first terminal is not registered in the server, the detection is successful, and the next step is carried out.
3. The near-field information transfer method according to claim 1, wherein the first terminal is further configured to set a password for connecting to the WIFI, the password is not broadcasted, and the second terminal is further configured to crack the password for connecting to the WIFI according to terminal pairing information in the service set identification information stored in the second terminal.
4. The near field information transfer method of claim 1, further comprising:
and the server receives the instruction information sent by the second terminal and forwards the instruction information to the first terminal for execution.
5. The near field information transfer method of claim 4, wherein the near field information transfer method further comprises:
and the server receives the instruction execution information fed back by the first terminal and sends the instruction execution result of the first terminal to the first terminal for displaying.
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 CN109510648A (en) 2019-03-22
CN109510648B true 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)

Family Cites Families (6)

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

Also Published As

Publication number Publication date
CN109510648A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
US10423958B2 (en) Method, apparatus and system for voice verification
RU2589327C2 (en) Method and device for sending message to user or users of group through microblog
US9891803B2 (en) Simplified projection of content from computer or mobile devices into appropriate videoconferences
US20170054814A1 (en) Communication Establishment Method, Device, and System
CN106716982B (en) Method and device for controlling robot, server and robot
CN108170285B (en) Interactive control method and device for electronic equipment
WO2014086222A1 (en) Method and apparatus for setting video call parameters and sending capability parameters
CN104125485A (en) Method, equipment and system for sharing user information
CN105515937B (en) Instant messaging method, terminal, server and system
US8868050B2 (en) Information output method and device
WO2020164232A1 (en) Session creation method, terminal, third-party application server, and system
CN109728996B (en) Communication information display method, user equipment, storage medium and device
CN110300046B (en) Business consultation control method, terminal and server
CN108111321B (en) Conference time processing method and device
CN105634882B (en) Network access equipment sharing method, device and system
CN107707529A (en) A kind of client validation method for realizing limitation identifying code transmission times
CN113179415B (en) Tencent IM-based H5 website live broadcasting method, device and storage medium
CN112188010B (en) Multi-language audio and video interaction method, device, equipment and storage medium
CN109510648B (en) Near field information transfer method
CN113518028A (en) Group chat method and device based on distinguishing group owner and group member
CN104506741A (en) Promoting method, equipment and system
CN105516057B (en) Data processing method, device and system
US9674235B2 (en) Creating a contact list and pre-populated user accounts
CN109831492B (en) Method and device for accessing OTT application and server push message
US20170163791A1 (en) Method and device for message prompting

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
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

EE01 Entry into force of recordation of patent licensing contract
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

PE01 Entry into force of the registration of the contract for pledge of patent right
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

EC01 Cancellation of recordation of patent licensing contract
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

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