





技术领域technical field
本发明涉及互联网技术领域,特别是涉及一种用户匹配方法、装置、存储介质和计算机设备。The present invention relates to the field of Internet technologies, and in particular, to a user matching method, device, storage medium and computer equipment.
背景技术Background technique
随着移动互联网产业的迅猛发展,网络社交方式改变了人们的沟通方式和信息传播渠道。用户可通过登录账号在网络社交平台进行交友,根据昵称、账号等搜索信息进行好友搜索,网络社交平台会为用户匹配相关用户,用户添加好友之后可与好友文字聊天、语音、视频及传输文件。With the rapid development of the mobile Internet industry, social networking has changed people's communication methods and information dissemination channels. Users can make friends on online social platforms by logging in to their accounts, and search for friends based on search information such as nicknames and account numbers.
传统的网络社交的用户匹配过程中,用户在终端输入搜索信息,并通过有线网络或无线网络将搜索信息发送给网络社交平台的服务器,服务器可根据搜索信息查找相匹配的用户信息,将匹配的用户信息发送至终端。然而,当网络信号不足的时候,比如当用户处于火车或飞机上时,传统的用户匹配方法便失去了作用,因而传统的用户匹配方法在火车、飞机等信号不好的场所可行性较低。In the user matching process of traditional online social networking, the user inputs the search information on the terminal, and sends the search information to the server of the online social networking platform through the wired network or wireless network. User information is sent to the terminal. However, when the network signal is insufficient, such as when the user is on a train or an airplane, the traditional user matching method becomes useless, so the traditional user matching method is less feasible in places with poor signals such as trains and airplanes.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对用户匹配方法在火车、飞机等信号不好的场所便利性较低的问题,提供一种用户匹配方法、装置、存储介质和计算机设备。Based on this, it is necessary to provide a user matching method, device, storage medium and computer equipment to solve the problem of low convenience of the user matching method in places with poor signals such as trains and airplanes.
一种用户匹配方法,所述方法包括:扫描识别预选座位上的扫描码;根据扫描获取的所述扫描码中的座位信息,登录即时通讯平台;根据好友搜索操作生成好友搜索请求;通过所述即时通讯平台提供的通讯网络,将好友搜索请求发送至所述即时通讯平台;接收所述即时通讯平台根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息。A user matching method, the method comprising: scanning and identifying a scan code on a pre-selected seat; logging in to an instant messaging platform according to the seat information in the scan code obtained by scanning; generating a friend search request according to a friend search operation; The communication network provided by the instant messaging platform sends a friend search request to the instant messaging platform; and the instant messaging platform matches the received friend search request according to the friend search request, and the matched friend search request Corresponding matching user information.
在其中一个实施例中,所述接收所述即时通讯平台根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,包括:接收所述即时通讯平台根据所述好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,所述匹配用户信息对应的座位与所述预选座位之间的距离小于预设距离阈值。In one embodiment, the receiving the instant messaging platform matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request includes: receiving the friend search request. The instant messaging platform matches the received friend search request according to the seat information in the friend search request, the matched user information corresponding to the matched friend search request, and the seat corresponding to the matched user information and the preselected seat The distance between them is less than the preset distance threshold.
在其中一个实施例中,所述接收所述即时通讯平台根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,包括:接收所述即时通讯平台根据所述好友搜索请求的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,所述匹配用户信息对应的第二请求发送时间与所述第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the receiving the instant messaging platform matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request includes: receiving the friend search request. The instant messaging platform matches the received friend search request according to the sending time of the first request of the friend search request, the matched user information corresponding to the matched friend search request, and the second request corresponding to the matched user information is sent The time interval between the time and the first request sending time is less than a preset interval threshold.
一种用户匹配装置,所述装置包括:即时通讯平台登录模块,用于扫描识别预选座位上的扫描码,根据扫描获取的所述扫描码中的座位信息,登录即时通讯平台;好友搜索请求生成模块,用于根据好友搜索操作生成好友搜索请求;好友搜索请求发送模块,用于通过所述即时通讯平台提供的通讯网络,将好友搜索请求发送至所述即时通讯平台;匹配用户信息接收模块,用于接收所述即时通讯平台根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息。A user matching device, the device comprises: an instant messaging platform login module for scanning and identifying a scan code on a pre-selected seat, and logging in to the instant messaging platform according to the seat information in the scan code obtained by scanning; generating a friend search request module for generating a friend search request according to a friend search operation; a friend search request sending module for sending a friend search request to the instant messaging platform through the communication network provided by the instant messaging platform; a matching user information receiving module, It is used for receiving matching user information corresponding to the friend search request that is matched by the instant messaging platform according to the friend search request and the received friend search request.
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述各个实施例中所述的用户匹配方法的步骤。A computer-readable storage medium on which a computer program is stored, when the program is executed by a processor, implements the steps of the user matching method described in the above embodiments.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述各个实施例中所述的用户匹配方法的步骤。A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor implements the steps of the user matching method described in each of the above embodiments when the processor executes the program.
上述用户匹配方法、装置、存储介质和计算机设备,通过扫描识别预选座位上的扫描码之后,获取相应的匹配用户信息,提供了新的获取匹配用户信息的方式,通过即时通讯平台提供的通讯网络进行好友搜索请求及匹配用户信息的传输,提高了用户匹配方法在信号不好的场所的可行性。The above-mentioned user matching method, device, storage medium and computer equipment, after scanning and recognizing the scan code on the pre-selected seat, obtain the corresponding matching user information, and provide a new way to obtain the matching user information, through the communication network provided by the instant messaging platform. The transmission of friend search request and matching user information improves the feasibility of the user matching method in places with poor signal.
一种用户匹配方法,所述方法包括:接收第一终端通过通讯网络发送的登录指令,所述登录指令中包括所述第一终端通过扫描识别预选座位上的扫描码获取的座位信息;接收所述第一终端通过所述通讯网络发送的好友搜索请求;根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息;将所述匹配用户信息发送给所述第一终端。A user matching method, the method comprising: receiving a login instruction sent by a first terminal through a communication network, where the login instruction includes seat information obtained by the first terminal by scanning a scan code on a preselected seat; the friend search request sent by the first terminal through the communication network; match the friend search request with the received friend search request according to the friend search request, and obtain the matching user information corresponding to the matched friend search request; The user information is sent to the first terminal.
在其中一个实施例中,所述根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,包括:根据所述好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,所述匹配用户信息对应的座位与所述预选座位之间的距离小于预设距离阈值。In one embodiment, the matching according to the friend search request with the received friend search request, and obtaining the matched user information corresponding to the matched friend search request, includes: according to the friend search request. The seat information is matched with the received friend search request, and the matched user information corresponding to the matched friend search request is obtained, and the distance between the seat corresponding to the matched user information and the preselected seat is less than a preset distance threshold.
在其中一个实施例中,所述根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,包括:根据所述好友搜索请求中的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,所述匹配用户信息包含的第二请求发送时间与所述第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the matching according to the friend search request with the received friend search request, and obtaining the matched user information corresponding to the matched friend search request, includes: according to the friend search request. The first request sending time is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the second request sending time included in the matching user information is different from the first request sending time. The time interval is less than the preset interval threshold.
一种用户匹配装置,所述装置包括:登录指令接收模块,用于接收第一终端通过通讯网络发送的登录指令,所述登录指令中包括所述第一终端通过扫描识别预选座位上的扫描码获取的座位信息;好友搜索请求接收模块,用于接收所述第一终端通过所述通讯网络发送的好友搜索请求;匹配用户信息获取模块,用于根据所述好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息;匹配用户信息发送模块,用于将所述匹配用户信息发送给所述第一终端。A user matching device, the device comprises: a login instruction receiving module for receiving a login instruction sent by a first terminal through a communication network, the login instruction includes a scan code on the preselected seat identified by the first terminal by scanning Acquired seat information; a friend search request receiving module, configured to receive a friend search request sent by the first terminal through the communication network; a matching user information acquisition module, configured to match the friend search request and the received friend according to the friend search request The search request is matched, and the matched user information corresponding to the matched friend search request is obtained; the matched user information sending module is configured to send the matched user information to the first terminal.
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述各个实施例中所述的用户匹配方法的步骤。A computer-readable storage medium on which a computer program is stored, when the program is executed by a processor, implements the steps of the user matching method described in the above embodiments.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述各个实施例中所述的用户匹配方法的步骤。A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor implements the steps of the user matching method described in each of the above embodiments when the processor executes the program.
上述用户匹配方法、装置、存储介质和计算机设备,通过通讯网络接收第一终端发送的登录指令、好友搜索请求等信息,根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,并将该匹配用户信息发送至第一终端。提供了新的获取匹配用户信息的方式,通过提供通讯网络提高了用户匹配方法在信号不好的场所的可行性。The above-mentioned user matching method, device, storage medium, and computer equipment receive information such as a login instruction and a friend search request sent by the first terminal through a communication network, match the friend search request with the received friend search request, and obtain the matched friend search request. matching user information corresponding to the friend search request, and sending the matching user information to the first terminal. A new way of acquiring and matching user information is provided, and the feasibility of the user matching method in places with poor signals is improved by providing a communication network.
附图说明Description of drawings
图1为一个实施例中用户匹配方法的应用环境图;1 is an application environment diagram of a user matching method in one embodiment;
图2为一个实施例中计算机设备的内部结构示意图;2 is a schematic diagram of the internal structure of a computer device in one embodiment;
图3为一个实施例中用户匹配方法的流程图;3 is a flowchart of a user matching method in one embodiment;
图4为另一个实施例中用户匹配方法的流程图;4 is a flowchart of a user matching method in another embodiment;
图5为一个实施例中用户匹配装置的结构框图;5 is a structural block diagram of a user matching apparatus in one embodiment;
图6为另一个实施例中用户匹配装置的结构框图。FIG. 6 is a structural block diagram of a user matching apparatus in another embodiment.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语的限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一终端称为第二终端,且类似地,可将第二终端称为第一终端。第一终端和第二终端两者都是终端,但其不是同一终端。It will be understood that the terms "first", "second" and the like used herein may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first terminal could be referred to as a second terminal, and similarly, a second terminal could be referred to as a first terminal, without departing from the scope of the present invention. Both the first terminal and the second terminal are terminals, but they are not the same terminal.
本发明实施例所提供的用户匹配方法,可应用于如图1所示的应用环境中。参照图1,该应用环境包括第一终端102、服务器104和第二终端106。第一终端102和第二终端106可以是相同类型的终端,也可以是不同类型的终端,比如说,终端可以是手机、平板电脑、个人数字助理或者智能穿戴式设备等。服务器104可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群。服务器104可与多个终端通过服务器104提供的通讯网络进行网络连接,并进行信息传输。服务器104可用于接收终端发送的消息,也可用于将消息发送至终端。比如说,服务器104可接收第一终端102发送的信息,并将该消息转发给第二终端106。The user matching method provided by the embodiment of the present invention can be applied to the application environment shown in FIG. 1 . Referring to FIG. 1 , the application environment includes a
图2为一个实施例中计算机设备的内部结构示意图。该计算机设备可以是图1中的第一终端102和第二终端106。参照图2,该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器、网络接口、显示屏和摄像头。其中,该计算机设备的非易失性存储介质可存储操作系统和计算机可读指令,该计算机可读指令被执行时,可使得处理器执行一种用户分配方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该内存储器为非易失性存储介质中的操作系统、计算机可执行指令提供高速缓存的运行环境。计算机设备的网络接口用于进行网络通信,如发送好友搜索请求和接收匹配用户信息等。计算机设备的显示屏可以是液晶显示屏获取电子墨水显示屏,还可以是触摸屏,比如电阻式触摸屏或电容式触摸屏。计算机设备的摄像头可以是内置的摄像头,也可以是外接的摄像头,可用于扫描识别扫描码等。FIG. 2 is a schematic diagram of the internal structure of a computer device in one embodiment. The computer equipment may be the
在一个实施例中,该计算机设备还可以为图1中的服务器104的内部结构示意图,该计算机设备的内存储器中还可以存储有用户匹配方法的相关数据,比如说好友搜索请求及用户信息等。在一个实施例中,服务器104可不包含显示屏和/或摄像头In one embodiment, the computer device may also be a schematic diagram of the internal structure of the
本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体地计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。比如,语音输入装置,用于接收语音信息。Those skilled in the art can understand that the structure shown in FIG. 2 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components. For example, a voice input device is used to receive voice information.
在一个实施例中,如图3所示,提供了一种用户匹配方法。该用户匹配方法可应用于图1中的第一终端102和/或第二终端106。本实施例主要以该方法应用于上述图1中的第一终端102来举例说明。该方法具体包括如下步骤:In one embodiment, as shown in FIG. 3, a user matching method is provided. The user matching method may be applied to the
步骤S302,扫描识别预选座位上的扫描码。Step S302, scan and identify the scan code on the preselected seat.
本实施例中,预选座位是指特定场所的座位,包括但不限于信号不好的场所中的其中一个座位,比如汽车、火车、飞机及电影院等场所的座位。扫描码是指在该特定场所中可被终端中摄像头扫描识别的扫描码,该扫描码包括但不限于二维码。其中,二维码是指通过特定的几何图形按一定规律在平面分布的黑白相间的图形,可用于记录数据符号信息,包括但不限于堆叠式、行排式和矩阵式二维码等其中一种或多种的组合。扫描码可被设置于该预选座位的任意位置,比如说该座位的前方椅背后面或者该座位的扶手处。具体地,终端中预置有摄像头,可以通过调用终端中的摄像头扫描识别扫描码。或者,也可以调用终端中的摄像头拍摄采集扫描码,将采集到的扫描码保存在内存储器中,可从内存储器中调用该扫描码进行扫描识别。In this embodiment, the preselected seat refers to a seat in a specific place, including but not limited to one of the seats in places with poor signal, such as seats in places such as cars, trains, airplanes, and movie theaters. The scan code refers to a scan code that can be scanned and recognized by the camera in the terminal in the specific place, and the scan code includes but is not limited to a two-dimensional code. Among them, the two-dimensional code refers to the black and white graphics that are distributed on the plane according to a certain rule through specific geometric figures, which can be used to record data symbol information, including but not limited to one of stacking, row and matrix two-dimensional codes, etc. one or more combinations. The scan code can be set at any position of the preselected seat, such as the back of the seat in front of the seat or the armrest of the seat. Specifically, a camera is preset in the terminal, and the identification scan code can be scanned by calling the camera in the terminal. Alternatively, the camera in the terminal can also be called to shoot and collect the scan code, the collected scan code can be saved in the internal memory, and the scan code can be called from the internal memory for scanning and identification.
在一个实施例中,终端中还可预置有用于识别扫描码的应用,该应用可为用于实现本实施例中用户匹配方法的应用。可根据所接收的相应操作启动该应用,可针对调用摄像头扫描识别扫描码提供相应的控件,在接收到作用于该控件的点击操作时,触发终端中的摄像头对可视区域进行扫描。进一步地,判断摄像头所扫描的可视区域中是否包含扫描码,若是,则对该扫描码进行解析识别;若否,则可展示无有效扫描码的提示信息。In one embodiment, an application for identifying scan codes may be preset in the terminal, and the application may be an application for implementing the user matching method in this embodiment. The application can be started according to the received corresponding operation, a corresponding control can be provided for calling the camera to scan the identification scan code, and when a click operation acting on the control is received, the camera in the terminal is triggered to scan the visible area. Further, it is determined whether the visible area scanned by the camera contains a scan code, and if so, the scan code is parsed and identified; if not, a prompt message that there is no valid scan code can be displayed.
在一个实施例中,若终端中无相应的用于实现本实施例中用户匹配方法的应用,则可以通过扫描识别预选座位上的扫描码进入该应用的下载界面,通过该下载界面可以下载该应用,从而实现以下用户匹配方法的步骤。In one embodiment, if there is no corresponding application for implementing the user matching method in this embodiment in the terminal, a download interface of the application can be entered by scanning and identifying the scan code on the preselected seat, and the download interface can be used to download the application. application to implement the steps of the following user matching method.
步骤S304,根据扫描获取的扫描码中的座位信息,登录即时通讯平台。Step S304, log in to the instant messaging platform according to the seat information in the scan code obtained by scanning.
本实施例中,座位信息是指扫描码所在的预选座位的相关信息。举例来说,若该预选座位为火车上的座位,则座位信息包括但不限于座位号、车厢号、车次等信息。即时通讯平台是指在该信号不好的场所中服务器所提供的平台,该平台可用于实现多个终端之间的即时通讯。具体地,在扫描该扫描码之后,解析识别该扫描码,获取该扫描码中包含的座位信息,还可以触发登录即时通信平台,并可以将扫描码中的座位信息作为登录信息。In this embodiment, the seat information refers to information about the pre-selected seat where the scan code is located. For example, if the preselected seat is a seat on a train, the seat information includes, but is not limited to, seat number, carriage number, train number, and other information. The instant messaging platform refers to the platform provided by the server in the place with poor signal, which can be used to realize instant messaging between multiple terminals. Specifically, after scanning the scan code, the scan code is parsed and recognized, the seat information contained in the scan code is obtained, and the login to the instant messaging platform can also be triggered, and the seat information in the scan code can be used as the login information.
在一个实施例中,登录即时通讯平台之后,终端还可以接收该即时通讯平台返回的,根据该座位信息所查询的相应的该预选座位的用户信息。举例来说,若该预选座位为火车上的座位,座位信息包括车次Z10、车厢号10及座位号10,则根据该座位信息登录即时通讯平台之后,即时通讯平台可在预设的数据库中查询当日当时车次Z10上车厢号10中座位号为10的用户信息。其中,用户信息包括但不限于用户个人信息,比如人名、性别、年龄等其中一种或多种的组合,还可为乘车信息,比如出发站名、到达站名等其中一种或多种的组合。预设的数据库中可包括即时通讯平台从售票系统的数据库中获取的用户信息,每个用户信息对应的座位信息。In one embodiment, after logging into the instant messaging platform, the terminal may also receive the corresponding user information of the pre-selected seat queried according to the seat information returned by the instant messaging platform. For example, if the preselected seat is a seat on a train, and the seat information includes train number Z10, carriage number 10, and seat number 10, after logging in to the instant messaging platform according to the seat information, the instant messaging platform can query the preset database. The user information of the seat number 10 in the carriage number 10 of the train Z10 on the current day. Among them, the user information includes but is not limited to the user's personal information, such as a combination of one or more of the person's name, gender, age, etc., and can also be the ride information, such as one or more of the departure station name, arrival station name, etc. The combination. The preset database may include user information obtained by the instant messaging platform from the database of the ticketing system, and seat information corresponding to each user information.
步骤S306,根据好友搜索操作生成好友搜索请求。Step S306, generating a friend search request according to the friend search operation.
本实施例中,好友搜索操作是指能够触发生成好友搜索请求的操作。该操作可为用户作用于终端的点击操作、滑动操作及摇晃操作等其中一种或多种的组合。好友搜索请求是指用于搜索相关用户所发出的请求。进一步地,在生成好友搜索请求之前还可包括,接收好友搜索条件信息,举例来说,用户可选择搜索到的相关用户的特征,比如说,用户的性别、年龄及座位距离等其中一种或多种的组合。在一个实施例中,终端中还可以预置语音接收识别装置,好友搜索操作可为用户对终端发出相应的语音消息,终端可以通过预置的语音接收识别装置接收并识别该语音信息,并根据该语音信息触发生成好友搜索请求。In this embodiment, the friend search operation refers to an operation that can trigger the generation of a friend search request. The operation may be one or a combination of one or more of a click operation, a sliding operation, and a shaking operation performed by the user on the terminal. A friend search request refers to a request sent by a user to search for relevant users. Further, before generating the friend search request, it may further include receiving friend search condition information, for example, the user can select the characteristics of the relevant users searched, for example, one of the user's gender, age, seat distance, etc. or various combinations. In one embodiment, a voice receiving and recognizing device may also be preset in the terminal, and the friend search operation may enable the user to send a corresponding voice message to the terminal, and the terminal may receive and recognize the voice information through the preset voice receiving and recognizing device, and according The voice information triggers the generation of a friend search request.
在一个实施例中,终端可针对生成好友搜索请求提供相应的界面,该界面上可包括用于生成好友搜索请求的控件,当检测到作用于该控件的点击操作时,生成好友搜索请求。在一个实施例中,终端还可不提供用于生成好友搜索请求的控件,用户可通过对终端进行滑动操作或摇晃操作,直接触发生成好友搜索请求。本实施例可提高用户与终端之间的互动,提高生成好友搜索请求的趣味性。In one embodiment, the terminal may provide a corresponding interface for generating a friend search request, the interface may include a control for generating a friend search request, and when a click operation acting on the control is detected, a friend search request is generated. In one embodiment, the terminal may not provide a control for generating a friend search request, and the user may directly trigger the generation of a friend search request by sliding or shaking the terminal. This embodiment can improve the interaction between the user and the terminal, and improve the interestingness of generating a friend search request.
步骤S308,通过即时通讯平台提供的通讯网络,将好友搜索请求发送至即时通讯平台。In step S308, a friend search request is sent to the instant messaging platform through the communication network provided by the instant messaging platform.
本实施例中,通讯网络是指在该即时通讯平台所处的场所用于即时通讯的网络,该即时通讯包括但不限于无线局域网,比如通过路由器来提供网络。终端可通过通讯网络将好友搜索请求发送至即时通讯平台的服务器。In this embodiment, the communication network refers to a network used for instant messaging at the location where the instant messaging platform is located, and the instant messaging includes but is not limited to a wireless local area network, such as a router providing a network. The terminal can send the friend search request to the server of the instant messaging platform through the communication network.
步骤S310,接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息。In step S310, the instant messaging platform matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request is received.
本实施例中,匹配用户信息是指向即时通讯平台发送过好友搜索请求的用户中,与好友搜索请求相匹配的用户信息。相应的,匹配用户信息也可包括该匹配用户的个人信息和乘车信息。具体地,好友搜索请求中可包括好友搜索条件信息,即时通讯平台可根据该好友搜索条件在已接收到的好友搜索请求中进行查询匹配。举例来说,好友搜索条件可包括性别信息,比如终端可接收即时通讯平台在已接收到的好友搜索请求中匹配到的包含的性别信息为女性的用户信息,将该用户信息作为匹配用户信息。In this embodiment, the matching user information refers to the user information that matches the friend search request among the users who have sent the friend search request to the instant messaging platform. Correspondingly, the matching user information may also include personal information and ride information of the matching user. Specifically, the friend search request may include friend search condition information, and the instant messaging platform may perform query matching in the received friend search request according to the friend search condition. For example, the friend search condition may include gender information. For example, the terminal may receive user information matched by the instant messaging platform in the received friend search request and contain female gender information, and use the user information as matching user information.
在一个实施例中,若即时通讯平台无法匹配到对应的匹配用户信息,则可将无相关用户的提示信息返回到终端。进一步地,可以每隔一段预设的间隔时间发送好友搜索请求至即时通讯平台,直至接收到即时通讯平台所匹配到的匹配用户信息。In one embodiment, if the instant messaging platform cannot match the corresponding matching user information, the prompt information of no relevant user may be returned to the terminal. Further, a friend search request may be sent to the instant messaging platform at preset intervals until the matching user information matched by the instant messaging platform is received.
在一个实施例中,终端接收到该匹配用户信息之后,可与该匹配用户信息对应的终端进行信息交互。具体地,终端可通过通讯网络发送和接收交互消息。其中,交互消息包括但不限于文本、语音、图片及视频等其中一种或多种的组合。举例来说,第一终端向即时通讯平台发送好友搜索请求之后,接收到所匹配的第二终端的匹配用户信息,则第一终端和第二终端可分别通过即时网络与即时通讯平台的服务器建立实即时通讯连接,通过服务器实时转发相互之间的交互消息。In one embodiment, after receiving the matched user information, the terminal may perform information interaction with the terminal corresponding to the matched user information. Specifically, the terminal can send and receive interactive messages through the communication network. The interactive message includes, but is not limited to, a combination of one or more of text, voice, picture, and video. For example, after the first terminal sends a friend search request to the instant messaging platform and receives the matched user information of the second terminal, the first terminal and the second terminal can respectively establish a connection with the server of the instant messaging platform through the instant network. Real-time instant messaging connection, real-time forwarding of interactive messages between each other through the server.
在一个实施例中,匹配到的好友搜索请求可为多个,相应的匹配用户信息也为多个,可以根据该多个匹配用户信息建立好友会话群。好友会话群的成员为该多个匹配用户信息所对应的多个终端,该多个终端可以在该好友会话群中进行信息交互。比如说,当第一终端通过好友会话群向服务器发送了交互信息,则服务器可将该交互信息转发给该好友会话群中的其他成员。In one embodiment, there may be multiple matching friend search requests, and there may be multiple matching user information, and a friend conversation group may be established according to the multiple matching user information. The members of the friend session group are multiple terminals corresponding to the multiple matching user information, and the multiple terminals can perform information exchange in the friend session group. For example, when the first terminal sends the interaction information to the server through the friend session group, the server may forward the interaction information to other members in the friend session group.
上述实施例中,通过扫描识别预选座位上的扫描码之后,获取相应的匹配用户信息,提供了新的获取匹配用户信息的方式,通过即时通讯平台提供的通讯网络进行好友搜索请求及匹配用户信息的传输,提高了用户匹配方法在信号不好的场所的可行性。In the above-mentioned embodiment, after scanning and recognizing the scan code on the pre-selected seat, the corresponding matching user information is obtained, which provides a new way of obtaining matching user information, and a friend search request and matching user information are performed through the communication network provided by the instant messaging platform. , which improves the feasibility of the user matching method in places with poor signal.
在一个实施例中,步骤S310包括:接收即时通讯平台根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。本实施例中,好友搜索请求中包含的好友搜索条件可为座位信息。其中,座位信息是指扫描码所在的预选座位的相关信息,比如座位号、车厢号、车次等。即时通讯平台可根据该座位信息在已接收到的好友搜索请求中进行查找,将查找到的与预选座位之间的距离小于预设距离阈值的座位,所对应的用户信息作为匹配用户信息。举例来说,即时通讯平台可根据座位信息在已接收到的好友搜索请求中进行查找,根据已接收到的好友搜索请求对应的座位进行匹配,比如说,将在预选座位前后三排或五排之内的座位所对应的用户信息作为匹配用户信息。In one embodiment, step S310 includes: receiving the instant messaging platform to match the received friend search request according to seat information in the friend search request, matching user information corresponding to the matched friend search request, and matching user information corresponding to the friend search request. The distance between the seat and the preselected seat is less than the preset distance threshold. In this embodiment, the friend search condition included in the friend search request may be seat information. The seat information refers to information about the pre-selected seat where the scan code is located, such as seat number, carriage number, train number, and the like. The instant messaging platform can search the received friend search request according to the seat information, and regard the user information corresponding to the seat whose distance from the preselected seat is less than the preset distance threshold as the matching user information. For example, the instant messaging platform can search the received friend search requests according to the seat information, and match the seats corresponding to the received friend search requests. The user information corresponding to the seat within is used as the matching user information.
在一个实施例中,座位信息包括出发站名和到达站名中的至少一种,即时通讯平台可根据出发站名和/或到达站名在已接收到的好友搜索请求中进行查找,将包含相应的出发站名和/或到达站名的用户信息作为匹配用户信息。In one embodiment, the seat information includes at least one of the name of the departure station and the name of the arrival station, and the instant messaging platform can search the received friend search request according to the name of the departure station and/or the arrival station, and will include the corresponding User information of departure station name and/or arrival station name is used as matching user information.
在一个实施例中,步骤S310包括:接收即时通讯平台根据好友搜索请求的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。本实施例中,好友搜索请求中包含第一请求发送时间,即时通讯平台已接收到的好友搜索请求中包含第二请求发送时间。其中,第一请求发送时间是指第一终端将好友搜索请求发送至即时通讯平台的时间,相应的,第二请求发送时间是指第二终端将好友搜索请求发送至即时通讯平台的时间。将与第一请求发送时间的时间间隔小于预设间隔阈值的第二请求发送时间所对应的用户信息作为匹配用户信息。在一个实施例中,存在多个好友搜索请求的发送时间与第一请求发送时间的时间间隔小于预设间隔阈值,则可将该多个好友搜索请求所对应的用户信息作为匹配用户信息。In one embodiment, step S310 includes: receiving the instant messaging platform to match the received friend search request according to the sending time of the first request of the friend search request, matching user information corresponding to the matched friend search request, and matching the user The time interval between the second request sending time corresponding to the information and the first request sending time is smaller than the preset interval threshold. In this embodiment, the friend search request includes the sending time of the first request, and the friend search request received by the instant messaging platform includes the sending time of the second request. The first request sending time refers to the time when the first terminal sends the friend search request to the instant messaging platform, and correspondingly, the second request sending time refers to the time when the second terminal sends the friend search request to the instant messaging platform. The user information corresponding to the second request sending time when the time interval of the first request sending time is smaller than the preset interval threshold is used as the matching user information. In one embodiment, if the time interval between the sending time of multiple friend search requests and the sending time of the first request is less than a preset interval threshold, the user information corresponding to the multiple friend search requests may be used as matching user information.
在一个实施例中,如图4所示,提供了另一种用户匹配方法。该用户匹配方法可应用于图1中的服务器104。该方法具体包括如下步骤:In one embodiment, as shown in FIG. 4, another user matching method is provided. This user matching method is applicable to the
步骤S402,接收第一终端通过通讯网络发送的登录指令,登录指令中包括第一终端通过扫描识别预选座位上的扫描码获取的座位信息。Step S402: Receive a login instruction sent by the first terminal through the communication network, where the login instruction includes seat information obtained by the first terminal by scanning and recognizing the scan code on the preselected seat.
本实施例中,登录指令是指登录操作所触发的指令,其中登录操作包括但不限于第一终端扫描识别预选座位上的扫描码。具体地,登录指令中可包括该扫描码获取的座位信息。进一步地,可将座位信息作为登录即时通讯平台的昵称,或者可根据该座位信息在预设的数据库中查找相应的用户信息。In this embodiment, the login instruction refers to an instruction triggered by a login operation, wherein the login operation includes, but is not limited to, the first terminal scanning and recognizing the scan code on the preselected seat. Specifically, the login instruction may include the seat information obtained by the scan code. Further, the seat information can be used as a nickname for logging into the instant messaging platform, or corresponding user information can be searched in a preset database according to the seat information.
在一个实施例中,第一终端扫描识别预选座位上的扫描码之后,第一终端还可以针对登录即时通讯平台提供相应的界面,在该界面上可包括用于触发生成登录指令的控件,当第一终端检测到作用于该控件的点击操作时可生成相应的登录指令,并将该登录指令发送至即时通讯平台。In one embodiment, after the first terminal scans and recognizes the scan code on the preselected seat, the first terminal may also provide a corresponding interface for logging in to the instant messaging platform, and the interface may include a control for triggering the generation of a login instruction. When the first terminal detects the click operation acting on the control, it can generate a corresponding login instruction, and send the login instruction to the instant messaging platform.
在一个实施例中,接收第一终端通过通讯网络发送的登录指令之前,还包括提供通讯网络,该通讯网络用于服务器与其他终端之间的信息传输。比如说通过路由器发送无线局域网。In one embodiment, before receiving the login instruction sent by the first terminal through the communication network, the method further includes providing a communication network, where the communication network is used for information transmission between the server and other terminals. For example, sending a wireless LAN through a router.
步骤S404,接收第一终端通过通讯网络发送的好友搜索请求。Step S404: Receive a friend search request sent by the first terminal through the communication network.
本实施例中,好友搜索请求是指第一终端通过好友搜索操作而生成的请求。其中,好友搜索操作可为用户作用于终端的点击操作、滑动操作及摇晃操作等其中一种或多种的组合。In this embodiment, the friend search request refers to a request generated by the first terminal through a friend search operation. The friend search operation may be a combination of one or more of a click operation, a sliding operation, and a shaking operation performed by the user on the terminal.
步骤S406,根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息。Step S406: Match the friend search request with the received friend search request according to the friend search request, and obtain matching user information corresponding to the matched friend search request.
本实施例中,匹配用户信息是指已接收到的好友搜索请求中,与第一终端发送的好友搜索请求相匹配的用户信息。该匹配用户信息对应的终端为除第一终端之外的其他终端。具体地,接收第一终端发送的好友搜索请求之后,根据该好友搜索请求在预设的数据库中查找相应的好友搜索请求,并根据该匹配到的好友搜索请求获取相对应的匹配用户信息。进一步地,该好友搜索中还可包括好友搜索条件。其中,好友搜索条件包括但不限于性别、年龄等信息。举例来说,好友搜索条件可为性别信息为女性,则即时通讯平台可在已接收到的好友搜索请求中查询包含的性别信息为女性的用户信息,并将该用户信息作为匹配用户信息。In this embodiment, the matching user information refers to user information that matches the friend search request sent by the first terminal in the received friend search request. The terminals corresponding to the matched user information are other terminals except the first terminal. Specifically, after receiving the friend search request sent by the first terminal, a corresponding friend search request is searched in a preset database according to the friend search request, and corresponding matching user information is obtained according to the matched friend search request. Further, the friend search may further include friend search conditions. The friend search conditions include but are not limited to information such as gender and age. For example, the friend search condition may be that the gender information is female, and the instant messaging platform may query the received friend search request for user information whose gender information is female, and use the user information as matching user information.
在一个实施例中,步骤S406包括:根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, step S406 includes: matching the seat information in the friend search request with the received friend search request, obtaining matching user information corresponding to the matched friend search request, and matching the seat corresponding to the user information with the The distance between the preselected seats is less than the preset distance threshold.
在一个实施例中,步骤S406包括:根据好友搜索请求中的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息包含的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, step S406 includes: matching the received friend search request according to the sending time of the first request in the friend search request, matching user information corresponding to the matched friend search request, and matching user information contained in the friend search request. The time interval between the second request sending time and the first request sending time is smaller than the preset interval threshold.
步骤S408,将匹配用户信息发送给第一终端。Step S408, sending the matching user information to the first terminal.
具体地,在获取到匹配用户信息之后,可将该匹配用户信息通过通讯网络发送至第一终端。Specifically, after acquiring the matching user information, the matching user information may be sent to the first terminal through the communication network.
在一个实施例中,可根据第一终端可与匹配用户信息对应的第二终端建立好友会话窗口,可接收第一终端发送的交互信息并将该交互信息转发给相应会话窗口中的第二终端。其中,交互消息包括但不限于文本、语音、图片及视频等其中一种或多种的组合。在一个实施例中,匹配用户信息可为多个,则与匹配用户信息对应的终端也可为多个,可根据第一终端和与匹配用户信息对应的多个其他终端建立好友会话群,接收第一终端发送的交互信息之后,可将该交互信息转发给其他终端。In one embodiment, a friend session window may be established according to the first terminal and the second terminal corresponding to the matched user information, the interaction information sent by the first terminal may be received, and the interaction information may be forwarded to the second terminal in the corresponding session window. . The interactive message includes, but is not limited to, a combination of one or more of text, voice, picture, and video. In one embodiment, the matching user information may be multiple, and the terminals corresponding to the matching user information may also be multiple. A friend session group may be established according to the first terminal and multiple other terminals corresponding to the matching user information, and receiving After the interaction information sent by the first terminal, the interaction information may be forwarded to other terminals.
上述实施例中,通过通讯网络接收第一终端发送的登录指令、好友搜索请求等信息,根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,并将该匹配用户信息发送至第一终端。提供了新的获取匹配用户信息的方式,通过提供通讯网络提高了用户匹配方法在信号不好的场所的可行性。In the above embodiment, information such as a login instruction and a friend search request sent by the first terminal are received through the communication network, and the friend search request is matched with the received friend search request according to the friend search request, and the matching user corresponding to the matched friend search request is obtained. information, and send the matching user information to the first terminal. A new way of acquiring and matching user information is provided, and the feasibility of the user matching method in places with poor signals is improved by providing a communication network.
在一个实施例中,如图5所示,提供了一种用户匹配装置500,该装置包括:即时通讯平台登录模块502,用于扫描识别预选座位上的扫描码,根据扫描获取的扫描码中的座位信息,登录即时通讯平台;好友搜索请求生成模块504,用于根据好友搜索操作生成好友搜索请求;好友搜索请求发送模块506,用于通过即时通讯平台提供的通讯网络,将好友搜索请求发送至即时通讯平台;匹配用户信息接收模块508,用于接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息。In one embodiment, as shown in FIG. 5 , a user matching device 500 is provided, the device includes: an instant messaging
在一个实施例中,匹配用户信息接收模块508还用于接收即时通讯平台根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, the matched user
在一个实施例中,匹配用户信息接收模块508还用于接收即时通讯平台根据好友搜索请求的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the matching user
在一个实施例中,如图6所示,提供了另一种用户匹配装置600,该装置包括:登录指令接收模块602,用于接收第一终端通过通讯网络发送的登录指令,登录指令中包括第一终端通过扫描识别预选座位上的扫描码获取的座位信息;好友搜索请求接收模块604,用于接收第一终端通过通讯网络发送的好友搜索请求;匹配用户信息获取模块606,用于根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息;匹配用户信息发送模块608,用于将匹配用户信息发送给第一终端。In one embodiment, as shown in FIG. 6, another user matching apparatus 600 is provided, the apparatus includes: a login
在一个实施例中,匹配用户信息获取模块606还用于根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, the matching user
在一个实施例中,匹配用户信息获取模块606还用于根据好友搜索请求中的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息包含的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the matching user
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,使得该处理器执行以下步骤:扫描识别预选座位上的扫描码;根据扫描获取的扫描码中的座位信息,登录即时通讯平台;根据好友搜索操作生成好友搜索请求;通过即时通讯平台提供的通讯网络,将好友搜索请求发送至即时通讯平台;接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息。In one embodiment, a computer-readable storage medium is provided, and a computer program is stored thereon. When the program is executed by a processor, the processor causes the processor to perform the following steps: scan and identify a scan code on a preselected seat; Obtain the seat information in the scan code, log in to the instant messaging platform; generate a friend search request according to the friend search operation; send the friend search request to the instant messaging platform through the communication network provided by the instant messaging platform; receive the instant messaging platform according to the friend search request It is matched with the received friend search request, and the matched user information corresponding to the matched friend search request.
在一个实施例中,处理器所执行的接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,包括:接收即时通讯平台根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, the receiving instant messaging platform executed by the processor matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request includes: receiving the instant messaging platform according to The seat information in the friend search request is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the distance between the seat corresponding to the matched user information and the preselected seat is less than a preset distance threshold.
在一个实施例中,处理器所执行的接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,包括:接收即时通讯平台根据好友搜索请求的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the receiving instant messaging platform executed by the processor matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request includes: receiving the instant messaging platform according to The first request sending time of the friend search request is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the second request sending time corresponding to the matching user information and the first request sending time. The time interval is less than the preset interval threshold.
在一个实施例中,提供了另一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,使得该处理器执行以下步骤:接收第一终端通过通讯网络发送的登录指令,登录指令中包括第一终端通过扫描识别预选座位上的扫描码获取的座位信息;接收第一终端通过通讯网络发送的好友搜索请求;根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息;将匹配用户信息发送给第一终端。In one embodiment, another computer-readable storage medium is provided, and a computer program is stored thereon. When the program is executed by the processor, the processor causes the processor to perform the following steps: receiving a login message sent by the first terminal through a communication network instruction, the login instruction includes seat information obtained by the first terminal by scanning and identifying the scan code on the preselected seat; receiving a friend search request sent by the first terminal through a communication network; matching the friend search request with the received friend search request according to the friend search request , obtain the matching user information corresponding to the matched friend search request; and send the matching user information to the first terminal.
在一个实施例中,处理器所执行的根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,包括:根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, the matching performed by the processor according to the friend search request and the received friend search request to obtain the matched user information corresponding to the matched friend search request includes: according to the seat information in the friend search request Matching with the received friend search request, obtaining matched user information corresponding to the matched friend search request, and the distance between the seat corresponding to the matched user information and the preselected seat is less than a preset distance threshold.
在一个实施例中,处理器所执行的根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,包括:根据好友搜索请求中的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息包含的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the matching performed by the processor according to the friend search request and the received friend search request to obtain the matched user information corresponding to the matched friend search request includes: according to the first friend search request in the friend search request The request sending time is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the time interval between the second request sending time included in the matching user information and the first request sending time is less than the preset interval threshold.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行程序时,实现以下步骤:扫描识别预选座位上的扫描码;根据扫描获取的扫描码中的座位信息,登录即时通讯平台;根据好友搜索操作生成好友搜索请求;通过即时通讯平台提供的通讯网络,将好友搜索请求发送至即时通讯平台;接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息。In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the processor implements the following steps: scanning and identifying preselected seats log in to the instant messaging platform according to the seat information in the scan code obtained by scanning; generate a friend search request according to the friend search operation; send the friend search request to the instant messaging platform through the communication network provided by the instant messaging platform; receive instant messaging The communication platform matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request.
在一个实施例中,处理器所实现的接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,包括:接收即时通讯平台根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, the receiving instant messaging platform implemented by the processor matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request includes: receiving the instant messaging platform according to The seat information in the friend search request is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the distance between the seat corresponding to the matched user information and the preselected seat is less than a preset distance threshold.
在一个实施例中,处理器所实现的接收即时通讯平台根据好友搜索请求与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,包括:接收即时通讯平台根据好友搜索请求的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息对应的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the receiving instant messaging platform implemented by the processor matches the received friend search request according to the friend search request, and the matched user information corresponding to the matched friend search request includes: receiving the instant messaging platform according to The first request sending time of the friend search request is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the second request sending time corresponding to the matching user information and the first request sending time. The time interval is less than the preset interval threshold.
在一个实施例中,提供了另一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行程序时,实现以下步骤:接收第一终端通过通讯网络发送的登录指令,登录指令中包括第一终端通过扫描识别预选座位上的扫描码获取的座位信息;接收第一终端通过通讯网络发送的好友搜索请求;根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息;将匹配用户信息发送给第一终端。In one embodiment, another computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: receiving a first terminal The login instruction sent through the communication network, the login instruction includes seat information obtained by the first terminal by scanning and recognizing the scan code on the preselected seat; receiving a friend search request sent by the first terminal through the communication network; according to the friend search request and the received Matching the friend search request obtained by the user, obtaining the matched user information corresponding to the matched friend search request; and sending the matched user information to the first terminal.
在一个实施例中,处理器所执行的根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,包括:根据好友搜索请求中的座位信息与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,匹配用户信息对应的座位与预选座位之间的距离小于预设距离阈值。In one embodiment, the matching performed by the processor according to the friend search request and the received friend search request to obtain the matched user information corresponding to the matched friend search request includes: according to the seat information in the friend search request Matching with the received friend search request, obtaining matched user information corresponding to the matched friend search request, and the distance between the seat corresponding to the matched user information and the preselected seat is less than a preset distance threshold.
在一个实施例中,处理器所执行的根据好友搜索请求与已接收到的好友搜索请求进行匹配,获取匹配到的好友搜索请求所对应的匹配用户信息,包括:根据好友搜索请求中的第一请求发送时间与已接收到的好友搜索请求进行匹配,所匹配到的好友搜索请求对应的匹配用户信息,匹配用户信息包含的第二请求发送时间与第一请求发送时间的时间间隔小于预设间隔阈值。In one embodiment, the matching performed by the processor according to the friend search request and the received friend search request to obtain the matched user information corresponding to the matched friend search request includes: according to the first friend search request in the friend search request The request sending time is matched with the received friend search request, the matched user information corresponding to the matched friend search request, and the time interval between the second request sending time included in the matching user information and the first request sending time is less than the preset interval threshold.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the above-mentioned method embodiments. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or the like.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710608530.8ACN107800612B (en) | 2017-07-24 | 2017-07-24 | User matching method and device, storage medium and computer equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710608530.8ACN107800612B (en) | 2017-07-24 | 2017-07-24 | User matching method and device, storage medium and computer equipment |
| Publication Number | Publication Date |
|---|---|
| CN107800612A CN107800612A (en) | 2018-03-13 |
| CN107800612Btrue CN107800612B (en) | 2020-09-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710608530.8AExpired - Fee RelatedCN107800612B (en) | 2017-07-24 | 2017-07-24 | User matching method and device, storage medium and computer equipment |
| Country | Link |
|---|---|
| CN (1) | CN107800612B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109218169B (en)* | 2018-10-12 | 2020-12-22 | 广州酷狗计算机科技有限公司 | Instant messaging method, device and storage medium |
| CN110311854A (en)* | 2019-06-01 | 2019-10-08 | 韶关市启之信息技术有限公司 | A kind of making friends method based on WiFi location fingerprint |
| CN112270927A (en)* | 2020-09-27 | 2021-01-26 | 青岛海尔空调器有限总公司 | A kind of intelligent interaction method and intelligent interaction device based on environment adjustment device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101043468A (en)* | 2006-03-24 | 2007-09-26 | 朗迅科技公司 | Method and equipment for providing geographic position information related with mobile instant message transmission users |
| CN103023946A (en)* | 2011-09-26 | 2013-04-03 | 北京千橡网景科技发展有限公司 | Method and device for recommending common interest place in social network |
| US8949232B2 (en)* | 2011-10-04 | 2015-02-03 | Microsoft Corporation | Social network recommended content and recommending members for personalized search results |
| CN103259765A (en)* | 2012-02-19 | 2013-08-21 | 上海博路信息技术有限公司 | Zone social intercourse system based on Bluetooth |
| US20130227018A1 (en)* | 2012-02-28 | 2013-08-29 | Kevin Lawrence Regan | Methods and Systems for Identification in a Social Network Using a Mobile Telephone Number |
| CN104010069B (en)* | 2013-02-26 | 2016-05-25 | 北京开心人信息技术有限公司 | A kind of method of real-time matching communication terminal and server |
| CN103517229B (en)* | 2013-09-24 | 2017-03-01 | 小米科技有限责任公司 | User information acquiring method, device, mobile terminal and server |
| CN104202729B (en)* | 2014-08-30 | 2016-10-26 | 腾讯科技(深圳)有限公司 | The adding method of a kind of contact person, Apparatus and system |
| CN106411685A (en)* | 2015-07-31 | 2017-02-15 | 上海亿动信息技术有限公司 | Social system based on performance site, control device, and control method |
| CN106406840A (en)* | 2015-08-03 | 2017-02-15 | 天脉聚源(北京)科技有限公司 | Wechat friendshake application support platform realization method and system |
| CN105577832B (en)* | 2016-02-05 | 2019-05-03 | 腾讯科技(深圳)有限公司 | Establish the method and device of network communication |
| CN106131779A (en)* | 2016-06-15 | 2016-11-16 | 乐视控股(北京)有限公司 | Fellow searching method and device |
| CN106453050B (en)* | 2016-10-10 | 2019-11-22 | 腾讯科技(深圳)有限公司 | Information processing method, system and relevant device based on social application |
| CN106793157B (en)* | 2016-11-28 | 2020-10-16 | 崇友智能技术有限责任公司 | Method for processing communication between terminals and related equipment |
| Publication number | Publication date |
|---|---|
| CN107800612A (en) | 2018-03-13 |
| Publication | Publication Date | Title |
|---|---|---|
| US11882231B1 (en) | Methods and systems for processing an ephemeral content message | |
| US12008318B2 (en) | Automatic personalized story generation for visual media | |
| US10142351B1 (en) | Retrieving contact information based on image recognition searches | |
| US10218657B2 (en) | Method and system for providing private chat within a group chat | |
| US10469427B2 (en) | Methods and systems for transmitting a video as an asynchronous artifact | |
| US9794264B2 (en) | Privacy controlled network media sharing | |
| US10834031B2 (en) | Information exchange method, client, and apparatus | |
| KR101626474B1 (en) | Apparatus for providing document sharing service based messenger and method using the same | |
| US20220043559A1 (en) | Interfaces for a messaging inbox | |
| US10904481B1 (en) | Broadcasting and managing call participation | |
| US20190197315A1 (en) | Automatic story generation for live media | |
| US20120158935A1 (en) | Method and systems for managing social networks | |
| US20120196581A1 (en) | Caller Identification Using Social Network Information | |
| WO2017172427A1 (en) | Cross-mode communication | |
| US11409857B2 (en) | Recording medium, information processing method, information processing apparatus, and information processing terminal | |
| US20140325601A1 (en) | Managing private information in instant messaging | |
| EP3364330A1 (en) | Methods and systems for processing an ephemeral content message | |
| CN102833182A (en) | Method, client and system for carrying out face identification in instant messaging | |
| CN107800612B (en) | User matching method and device, storage medium and computer equipment | |
| JP2020057239A (en) | Information processing method, program, terminal, information processing device, and electronic device | |
| HK1251371B (en) | User matching method and device, storage medium and computer equipment | |
| HK1251371A1 (en) | User matching method and device, storage medium and computer equipment | |
| CN108512946B (en) | Identity information display method and device and terminal | |
| US10135888B2 (en) | Information processing method and device | |
| US20190018864A1 (en) | Methods and systems for associating content with conversation tuples |
| 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 | ||
| TA01 | Transfer of patent application right | Effective date of registration:20180601 Address after:518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Applicant after:ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI) Address before:200000 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level. Applicant before:ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI) | |
| TA01 | Transfer of patent application right | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information | Address after:518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong Applicant after:ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI) Address before:518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Applicant before:ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI) | |
| REG | Reference to a national code | Ref country code:HK Ref legal event code:DE Ref document number:1251371 Country of ref document:HK | |
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20200922 | |
| CF01 | Termination of patent right due to non-payment of annual fee |