WO2017128714A1 - Information sharing method and system, client and server - Google Patents

Information sharing method and system, client and server Download PDF

Info

Publication number
WO2017128714A1
WO2017128714A1 PCT/CN2016/096958 CN2016096958W WO2017128714A1 WO 2017128714 A1 WO2017128714 A1 WO 2017128714A1 CN 2016096958 W CN2016096958 W CN 2016096958W WO 2017128714 A1 WO2017128714 A1 WO 2017128714A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
information
data
server
sent
Prior art date
Application number
PCT/CN2016/096958
Other languages
French (fr)
Chinese (zh)
Inventor
卜晓辉
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017128714A1 publication Critical patent/WO2017128714A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
  • a data receiving unit configured to receive the shared information sent by the client that initiates the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
  • the data sending unit is further configured to send an interaction request of the client to the target client.
  • Embodiments of the present invention also provide a storage medium for storing the above computer program.
  • FIG. 6 is a schematic block diagram of an information sharing system according to an embodiment of the present invention.
  • the information sharing method and system, client and server according to the present invention, the operating environment is as shown in FIG. 1 . Due to the information sharing and interaction between different users 3 to be implemented by the present invention, at least two clients 1 are included. As shown in the figure, the user 3 and the client 1 may have a one-to-one correspondence, or may be the case where the same user 3 uses multiple clients 1 at the same time. Further, the number of the servers 2 is also adjusted according to the number of clients 1 actually participating in information sharing and the amount of data of the shared information, and is not limited to one.
  • the user 3 operates the client 1, and can implement a series of operations such as starting the sharing mode, turning off the sharing mode, requesting to interact with the target client, accepting or rejecting the interaction request sent by other clients.
  • Data communication between the client 1 and the server 2 can be realized by wireless or wired.
  • the server 2 receives the shared information sent by each client 1, and delivers the shared information sent by each client to different other clients 1, thereby realizing information sharing between different users 3.
  • the server 2 serves as a hub for information interaction between different clients.
  • the information requesting the interaction is sent to the target client via the server 2.
  • the information that the target client accepts or rejects the request is also sent to the client via the server 2.
  • the two clients 1 establish a relationship
  • the real-time information of the transmitting and receiving parties is also realized by the server 2 as a relay station.
  • the client may choose to accept the request, may choose to reject the request, and may choose to ignore it. No matter which processing method is adopted, it can be fed back to the client through the server. You can also choose to feed back the result of the request to the client through the server, as shown in Figure 3.
  • the method further includes:
  • step S15 the method further includes:
  • S18 Acquire request information that other client requests sent by the server interact with the client.
  • S19 Send the information of the acceptance request to the server.
  • the client may choose to accept the request, or may choose to reject the request or ignore the request, and the above processing manner is sent by the server to the client requesting the interaction.
  • This embodiment provides an information sharing method, which is matched with the sharing method in Embodiment 1.
  • the sharing method in this embodiment is applied to a server, as shown in FIG. 4, and includes the following steps:
  • S22 Send the shared information to different clients, thereby realizing information sharing between different clients.
  • S24 Send the client requesting information to interact with the target client to the target client.
  • the target client selection unit 14 is configured to select a target client according to the running application data in the shared information of the other client; according to the running application data of the other client, the user can determine whether the corresponding user runs the same application with the user, whether The same thing is interested in waiting to determine the target client that you want to communicate with, such as choosing a user who listens to the same song, watches the same movie, and so on.
  • the information sending unit 12 is further configured to send the information that accepts the request to the server;
  • the running application data of the client further includes: running history data of each application and/or preference data obtained according to running history data of each application and / or application-related data set by the user.
  • the user can share his own song playing history data to others, and according to the historical playing data, the user can enjoy the degree of love of a certain song, the degree of love for a certain singer, and the like.
  • the user can also share the data related to the music playing software set by each application to others, such as the user's avatar, nickname, listening singer, user-set favorite songs, favorite singers, and the like.
  • the data sending unit 22 is configured to send the shared information to different clients.
  • the running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user.
  • the user can select the client that he is interested in according to the habit and preference, and request the interaction.
  • it is easier to establish a connection between the two users, and it is more able to resonate when sharing the mood, thereby further improving the user experience.
  • S314 The server sends the shared information of the client 1 to the client 2, and sends the shared information sent by the client 2 to the client 1.
  • S332 The client receives the instant message sent by the client 2.
  • two clients can implement real-time information interaction.
  • the user can select a client request related to running the application data to interact with the client request running the application data according to the current running application data of the other client, for example, the client who listens to the same song at the current moment. End, interact with it, so as to further share the user's mood when listening to the song, etc., to a large extent, can truly achieve the effect that the user wants to share, and enhance the user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can 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, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
  • the processor 901 is configured to invoke logic instructions in the memory 902 to perform the following methods;
  • the embodiments of the vehicle platform and the intelligent transportation system described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Abstract

Described are an information sharing method and system, a client and a server. After starting an information sharing mode, the client sends shared information to the server, wherein the shared information comprises currently running application data and ID data of the client; and each client can also receive information shared by other clients, namely, being able to see running application data and ID data of other clients. A user can select a target client with which the user wants to have one-to-one communication according to the running application data of other clients, and request data interaction with the target client. By means of the solution of the present invention, the user can select, according to the condition of the currently running application data of other clients, a client of which the running application data is related to running application data of its own, and request to interact with the selected client, thereby easily arousing resonance, achieving a feeling of face-to-face communication, achieving a sharing effect that the user desires in a real sense and improving the user experience.

Description

一种信息共享方法和系统、一种客户端及一种服务器Information sharing method and system, client and server
交叉引用cross reference
本申请引用于2016年1月28日提交的专利名称为“一种信息共享方法和系统、一种客户端及一种服务器”的第2016100599233号中国专利申请,其通过引用被全部并入本申请。The present application is hereby incorporated by reference in its entirety in its entirety in its entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire content .
技术领域Technical field
本发明的实施例涉及多媒体技术领域,具体地涉及一种信息共享方法和系统、一种客户端及一种服务器。Embodiments of the present invention relate to the field of multimedia technologies, and in particular, to an information sharing method and system, a client, and a server.
背景技术Background technique
随着科学技术的发展,人们日常的生活、学习以及娱乐越来越多的依赖各种各样的应用软件。例如,播放音乐、视频类的软件,游戏类软件、语言学习类软件等。而且,人们在使用上述各种应用软件时,经常需要与其他人分享自己喜欢的应用软件,或者某一首歌曲、某一种游戏等。With the development of science and technology, people's daily life, learning and entertainment are increasingly dependent on a variety of applications. For example, playing music, video software, game software, language learning software, and the like. Moreover, when people use the above various application software, they often need to share their favorite application software, or a certain song, a certain kind of game, etc. with others.
而现有技术中能使用户彼此相互沟通、参与的平台,功能都比较单一。例如,用户在听歌的时候,与人分享歌曲时只有“分享给好友”这一种方式,但是对于该用户的好友来说,有可能该用户并未开启播放歌曲的应用软件、或者对该歌曲不感兴趣,不能与与该用户产生共鸣,这时虽然用户将歌曲分享给好友,但是不能产生与好友的互动,无法与好友分享听歌时的心情等。In the prior art, the platform that enables users to communicate and participate with each other has a relatively simple function. For example, when a user listens to a song, when sharing a song with a person, there is only a way of "sharing to a friend", but for the user of the user, it is possible that the user does not open the application software for playing the song, or The song is not interested, and can not resonate with the user. At this time, although the user shares the song to the friend, but can not generate interaction with the friend, can not share the mood when listening to the song with the friend.
如上所述,现有技术中信息分享方式功能单一,并不能达到用户想要的分享效果,用户体验较差。As described above, the information sharing method in the prior art has a single function, and cannot achieve the sharing effect desired by the user, and the user experience is poor.
发明内容 Summary of the invention
本发明的实施例提供一种信息共享方法和系统、一种客户端及一种服务器,用以解决的技术问题是现有技术中信息分享方式不能达到用户想要的分享效果。An embodiment of the present invention provides an information sharing method and system, a client, and a server. The technical problem is that the information sharing method in the prior art cannot achieve the sharing effect desired by the user.
本发明的实施例提供一种信息共享方法,应用于客户端,包括如下步骤:An embodiment of the present invention provides an information sharing method, which is applied to a client, and includes the following steps:
启动信息共享模式;Start the information sharing mode;
发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;Sending the shared information to the server, the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
获取服务器发送的其他客户端的共享信息;Obtain sharing information of other clients sent by the server;
根据其他客户端的共享信息中的运行应用数据,选择目标客户端;Select the target client based on the running application data in the shared information of other clients;
发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。Sending the ID data of the target client and the request to interact with the target client to the server.
本发明的实施例还提供了还提供一种信息共享方法,应用于服务器,包括如下步骤:An embodiment of the present invention further provides an information sharing method, which is applied to a server, and includes the following steps:
接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;And receiving the shared information sent by the client that starts the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
发送共享信息至不同的客户端;Send shared information to different clients;
接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;Receiving ID data of a target client sent by a client and a request to interact with the target client;
发送该客户端的交互请求至目标客户端。Send the client's interaction request to the target client.
本发明的实施例还提供了一种客户端,包括:An embodiment of the present invention further provides a client, including:
共享模式启动单元,用于启动信息共享模式; a shared mode startup unit for starting an information sharing mode;
信息发送单元,用于发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;An information sending unit, configured to send the shared information to the server, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
信息获取单元,获取服务器发送的其他客户端的共享信息;The information obtaining unit acquires sharing information of other clients sent by the server;
目标客户端选择单元,用于根据其他客户端的共享信息中的运行应用数据,选择目标客户端;a target client selection unit, configured to select a target client according to running application data in shared information of other clients;
所述信息发送单元,还用于发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。The information sending unit is further configured to send ID data of the target client and a request for interaction with the target client to the server.
本发明的实施例还提供了一种服务器,包括:An embodiment of the present invention further provides a server, including:
数据接收单元,用于接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;a data receiving unit, configured to receive the shared information sent by the client that initiates the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
数据发送单元,用于发送共享信息至不同的客户端;a data sending unit, configured to send shared information to different clients;
所述数据接收单元,还用于接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;The data receiving unit is further configured to receive ID data of a target client sent by a client and a request to interact with the target client;
所述数据发送单元,还用于发送该客户端的交互请求至目标客户端。The data sending unit is further configured to send an interaction request of the client to the target client.
本发明的实施例还提供一种信息共享系统,包括上述客户端以及上述服务器,其中的客户端至少为两个。An embodiment of the present invention further provides an information sharing system, including the foregoing client and the foregoing server, wherein at least two clients are used.
本发明的实施例还提供一种客户端,包括:An embodiment of the present invention further provides a client, including:
处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
所述通信接口用于所述车载平台与车辆的通信设备之间的信息传输;The communication interface is used for information transmission between the vehicle platform and a communication device of the vehicle;
所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法; The processor is configured to invoke logic instructions in the memory to perform the following method;
启动信息共享模式;发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;获取服务器发送的其他客户端的共享信息;根据其他客户端的共享信息中的运行应用数据,选择目标客户端;发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。The information sharing mode is started; the sharing information is sent to the server, where the sharing information includes the client running application data and ID data corresponding to the client, the running application data includes data of the currently running application; and acquiring other clients sent by the server The shared information of the end; selecting the target client according to the running application data in the shared information of the other client; sending the ID data of the target client and the request for interacting with the target client to the server.
本发明的实施例还提供一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:Embodiments of the present invention also provide a computer program comprising program code for performing the following operations:
启动信息共享模式;Start the information sharing mode;
发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;Sending the shared information to the server, the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
获取服务器发送的其他客户端的共享信息;Obtain sharing information of other clients sent by the server;
根据其他客户端的共享信息中的运行应用数据,选择目标客户端;Select the target client based on the running application data in the shared information of other clients;
发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。Sending the ID data of the target client and the request to interact with the target client to the server.
本发明的实施例还提供一种存储介质,用于存储上述的计算机程序。Embodiments of the present invention also provide a storage medium for storing the above computer program.
本发明的实施例还提供一种服务器,包括:An embodiment of the present invention further provides a server, including:
处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
所述通信接口用于所述车载平台与车辆的通信设备之间的信息传输;The communication interface is used for information transmission between the vehicle platform and a communication device of the vehicle;
所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;发送共享信息至不同的客户端;接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;发送该客户端的交互请求至目标客户端。 The processor is configured to invoke logic instructions in the memory to perform the following method: receiving sharing information sent by a client that initiates an information sharing mode, where the shared information includes client running application data and ID data corresponding to the client The running application data includes data of the currently running application; sending the shared information to different clients; receiving the ID data of the target client sent by a certain client and the request for interacting with the target client; and sending the interactive request of the client To the target client.
本发明的实施例还提供一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:Embodiments of the present invention also provide a computer program comprising program code for performing the following operations:
接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;And receiving the shared information sent by the client that starts the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
发送共享信息至不同的客户端;Send shared information to different clients;
接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;Receiving ID data of a target client sent by a client and a request to interact with the target client;
发送该客户端的交互请求至目标客户端。Send the client's interaction request to the target client.
本发明的实施例还提供一种存储介质,用于存储上述的计算机程序。Embodiments of the present invention also provide a storage medium for storing the above computer program.
本发明的上述方案与现有技术相比,至少具有以下有益效果:Compared with the prior art, the above solution of the present invention has at least the following beneficial effects:
(1)本发明所述的信息共享方法和系统、客户端及服务器,每一个客户端在启动信息共享模式之后,可以发送共享信息至服务器,而共享信息中包括客户端运行应用数据以及ID数据,其中的运行应用数据包括当前运行应用的数据,例如客户端当前运行的应用是音乐播放软件,当前播放的歌曲是哪一首等。同时,每一个客户端可以接收到其他客户端的共享信息,也就能够看到其他客户端的运行应用数据以及ID数据。用户可以根据其他客户端运行应用数据,选择想要与之进行一对一通信的目标客户端,请求与之进行数据交互。通过本发明的上述方案,用户能够根据其他客户端当前运行应用数据的情况,选择运行应用数据与自己运行应用数据相关的客户端请求与之交互,例如,当前时刻与自己听同一首歌的客户端,与之进行交互,从而能进一步分享用户在听歌时的心情等,很大程度上能够真正意义上实现用户想要分享的效果,提升用户体验。(1) The information sharing method and system, client and server according to the present invention, each client can send shared information to the server after starting the information sharing mode, and the shared information includes the client running application data and ID data. The running application data includes data of the currently running application, for example, the application currently running by the client is music playing software, which song is currently played, and the like. At the same time, each client can receive the shared information of other clients, and can also see the running application data and ID data of other clients. The user can run the application data according to other clients, select the target client that wants to communicate with them one by one, and request data interaction with them. Through the above solution of the present invention, the user can select a client request related to running the application data to interact with the client request running the application data according to the current running application data of the other client, for example, the client who listens to the same song at the current moment. End, interact with it, so as to further share the user's mood when listening to the song, etc., to a large extent, can truly achieve the effect that the user wants to share, and enhance the user experience.
(2)本发明所述的信息共享方法和系统、客户端及服务器,每一个客户端发送的共享信息中还包括客户端的地理位置数据,同时每一个用户也能够看到其他客户端的地理位置数据。在这种情况下,用户可以选择与自己距离较近的客户端进行交互。例如,客户可以与附近的听同一首歌或者 看同一部电影的人进行互动,交流自己在听歌、看电影时的心情,从而使用户体验面对面交流的即视感。(2) The information sharing method and system, client and server according to the present invention, the shared information sent by each client also includes the geographical location data of the client, and each user can also see the geographical location data of other clients. . In this case, the user can choose to interact with clients that are closer to themselves. For example, a customer can listen to the same song nearby or People who watch the same movie interact and exchange their feelings when listening to songs and watching movies, so that users can experience face-to-face communication.
(3)本发明所述的信息共享方法和系统、客户端及服务器,每一个客户端共享信息时,还可以共享该客户端中每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。以音乐播放软件为例,用户可以将自己的歌曲播放历史数据分享给他人,根据历史播放数据可以得到该用户对某一歌曲的喜爱程度、对某一歌手的喜爱程度等。用户还可以将自己对每一应用的设置的与音乐播放软件相关的数据分享给他人,例如用户设置的喜欢听的歌曲、喜欢的歌手等。不同的客户端之间可以共享上述数据的话,那么用户能够根据听歌习惯和偏好选择自己感兴趣的客户端,请求交互,这种情况下更容易建立两个用户的连接,在分享心情时也更能够产生共鸣,进一步提升用户体验。(3) The information sharing method and system, client and server according to the present invention, when each client shares information, it can also share running history data of each application in the client and/or according to each application. The preference data obtained by running the historical data and/or the application-related data set by the user. Taking the music playing software as an example, the user can share his own song playing history data to others, and according to the historical playing data, the user can enjoy the degree of love of a certain song, the degree of love for a certain singer, and the like. The user can also share his own data related to the music playing software set for each application, such as a song set by the user, a favorite singer, and the like. If the above data can be shared between different clients, then the user can select the client that he is interested in according to the listening habits and preferences, and request the interaction. In this case, it is easier to establish a connection between the two users, and when sharing the mood, It is more able to resonate and further enhance the user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明所述信息共享方法运行环境示意图;1 is a schematic diagram of an operating environment of an information sharing method according to the present invention;
图2是本发明一个实施例所述的应用于客户端的信息共享方法的流程图;2 is a flowchart of an information sharing method applied to a client according to an embodiment of the present invention;
图3是本发明另一个实施例所述的应用于客户端的信息共享方法的流程图;3 is a flowchart of a method for information sharing applied to a client according to another embodiment of the present invention;
图4是本发明一个实施例所述的应用于服务器的信息共享方法的流程图;4 is a flowchart of an information sharing method applied to a server according to an embodiment of the present invention;
图5本发明另一个实施例所述的应用于服务器的信息共享方法的流程图;FIG. 5 is a flowchart of an information sharing method applied to a server according to another embodiment of the present invention; FIG.
图6本发明一个实施例所述的信息共享系统的原理框图;6 is a schematic block diagram of an information sharing system according to an embodiment of the present invention;
图7本发明一个实施例所述的信息共享系统的工作流程图; Figure 7 is a flowchart showing the operation of the information sharing system according to an embodiment of the present invention;
图8为本发明一个实施例的行客户端的逻辑框图;FIG. 8 is a logic block diagram of a line client according to an embodiment of the present invention; FIG.
图9为本发明另一个实施例的服务器的逻辑框图。Figure 9 is a logic block diagram of a server in accordance with another embodiment of the present invention.
其中的附图标记为:The reference numerals are:
1-客户端,2-服务器,3-用户,11-共享模式启动单元,12-信息发送单元,13-信息获取单元,14-目标客户端选择单元,15-交互单元,21-数据接收单元,22-数据发送单元。1-client, 2-server, 3-user, 11-share mode startup unit, 12-information sending unit, 13-information acquisition unit, 14-target client selection unit, 15-interaction unit, 21-data receiving unit , 22-data sending unit.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The present invention will be clearly and completely described in the following with reference to the drawings in the embodiments of the present invention. Embodiments, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明所述的信息共享方法和系统、客户端及服务器,运行环境如图1所示。由于本发明要实现的不同用户3之间的信息共享与交互,因此所包含的客户端1至少要两个。如图所示,用户3与客户端1既可以是一一对应的关系,也可能是同一用户3同时使用多个客户端1的情况。另外,服务器2的数量也根据实际参与信息共享的客户端1的数量及共享信息的数据量进行调整,并不限定为1个。The information sharing method and system, client and server according to the present invention, the operating environment is as shown in FIG. 1 . Due to the information sharing and interaction between different users 3 to be implemented by the present invention, at least two clients 1 are included. As shown in the figure, the user 3 and the client 1 may have a one-to-one correspondence, or may be the case where the same user 3 uses multiple clients 1 at the same time. Further, the number of the servers 2 is also adjusted according to the number of clients 1 actually participating in information sharing and the amount of data of the shared information, and is not limited to one.
在实际应用过程中,用户3操作客户端1,可实现开启共享模式、关闭共享模式、请求与目标客户端进行交互、接受或者拒绝其他客户端发来的交互请求等一系列的操作。客户端1与服务器2之间可通过无线、有线方式实现数据通信。服务器2接收每一个客户端1发送的共享信息,并将每一个客户端发送的共享信息下发至不同的其他客户端1,从而实现不同用户3之间的信息共享。除此之外,服务器2还作为不同客户端1之间信息交互的枢纽,当某一客户端希望与另一客户端进行交互时,会将请求交互的信息经服务器2发送至目标客户端,而目标客户端接受或者拒绝该请求的信息也是经服务器2下发至该客户端。当两个客户端1之间建立起交 互关系时,发送和接收对方的实时信息也是通过服务器2作为中转站来实现的。下面通过具体实施例的详细说明介绍本发明的方案。In the actual application process, the user 3 operates the client 1, and can implement a series of operations such as starting the sharing mode, turning off the sharing mode, requesting to interact with the target client, accepting or rejecting the interaction request sent by other clients. Data communication between the client 1 and the server 2 can be realized by wireless or wired. The server 2 receives the shared information sent by each client 1, and delivers the shared information sent by each client to different other clients 1, thereby realizing information sharing between different users 3. In addition, the server 2 serves as a hub for information interaction between different clients. When a client wants to interact with another client, the information requesting the interaction is sent to the target client via the server 2. The information that the target client accepts or rejects the request is also sent to the client via the server 2. When the two clients 1 establish a relationship In the case of mutual relations, the real-time information of the transmitting and receiving parties is also realized by the server 2 as a relay station. The solution of the present invention will now be described by way of a detailed description of specific embodiments.
实施例1Example 1
本实施例提供一种信息共享方法,应用于客户端,如图2所示,包括如下步骤:This embodiment provides an information sharing method, which is applied to a client, as shown in FIG. 2, and includes the following steps:
S11:启动信息共享模式,在该模式下,客户端可以将需要共享的信息发送至服务器,并且可以从服务器接收到其他客户端的共享信息。当关闭共享模式时,则停止共享信息的发送与接收。S11: Start an information sharing mode, in which the client can send information that needs to be shared to the server, and can receive sharing information of other clients from the server. When the sharing mode is turned off, the transmission and reception of the shared information is stopped.
S12:发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据。例如,用户正在听歌,客户端当前运行应用为歌曲播放的应用,当前播放的歌曲,相应的歌手、所属专辑等都可以为当前运行应用的数据。而客户端对应的ID是唯一的,可以使服务器准确定位到该客户端,这两个数据关联发送至服务器,服务器就能够准确的获得哪一个客户端发送了哪些共享信息。S12: Send the shared information to the server, where the shared information includes the client running application data and ID data corresponding to the client, and the running application data includes data of the currently running application. For example, the user is listening to the song, the client currently runs the application for the song to play, the currently played song, the corresponding singer, the album, etc. can be the data of the currently running application. The ID corresponding to the client is unique, which enables the server to accurately locate the client. The two data associations are sent to the server, and the server can accurately obtain which shared information is sent by the client.
S13:获取服务器发送的其他客户端的共享信息。本步骤中,其他客户端的共享信息,与本客户端的共享信息可以相同的,也可以是不同的。此处客户端的共享信息不同是指具体的共享信息的内容可以不同,但是必须是相关联的,例如某一客户端的共享信息中包括的运行应用数据为当前正在播放的歌曲,另一客户端的共享数据中包括的运行应用数据为最喜欢听的歌曲,虽然二者的共享信息并不完全相同,但是彼此是关联的,用户依然能够根据其他客户端的共享信息确定自己是否有兴趣与之进行互动。S13: Acquire sharing information of other clients sent by the server. In this step, the shared information of other clients may be the same as or different from the shared information of the client. Here, the shared information of the client is different, and the content of the specific shared information may be different, but it must be associated. For example, the running application data included in the shared information of one client is the currently playing song, and the sharing of another client. The running application data included in the data is the favorite song. Although the shared information of the two is not identical, but they are related to each other, the user can still determine whether they are interested in interacting with other clients according to the shared information.
S14:根据其他客户端的共享信息中的运行应用数据,选择目标客户端。根据其他客户端的运行应用数据,用户能够判断相应的用户是否与自己运行同一个应用,是否对同样的事物有兴趣等,从而确定自己想要与之进行交流的目标客户端,例如选择与自己听同一首歌、看同一部电影的用户等。S14: Select the target client according to the running application data in the shared information of other clients. According to the running application data of other clients, the user can determine whether the corresponding user runs the same application with himself, whether he is interested in the same thing, etc., thereby determining the target client that he wants to communicate with, for example, selecting and listening to himself. The same song, the user watching the same movie, etc.
S15:发送目标客户端的ID数据以及与所述目标客户端进行交互 的请求至服务器。S15: Send ID data of the target client and interact with the target client Request to the server.
对于目标客户端来说,从服务器获取到该客户端的交互请求之后,可以选择接受该请求,可以选择拒绝该请求,还可以选择将其忽略。无论是采取了哪种处理方式,都可以通过服务器将其反馈给该客户端。也可以选择只有在接受请求后才通过服务器将接受该请求的结果反馈给该客户端,这种情况如图3所示,上述方法中,在步骤S15之后还包括:For the target client, after obtaining the interaction request from the server, the client may choose to accept the request, may choose to reject the request, and may choose to ignore it. No matter which processing method is adopted, it can be fed back to the client through the server. You can also choose to feed back the result of the request to the client through the server, as shown in Figure 3. In the above method, after the step S15, the method further includes:
S16:获取服务器发送的所述目标客户端接受交互请求的信息。当前客户端可以发送交互请求给目标客户端,当目标客户端接受请求后可以与目标客户端进行实时交互。另一方面,该客户端也可能被其他客户端选择为目标客户端,那么其他客户端便会通过服务器发送交互请求至该客户端。S16: Acquire information about the target client that receives the interaction request sent by the server. The current client can send an interactive request to the target client, and the target client can interact with the target client in real time when accepting the request. On the other hand, the client may also be selected as the target client by other clients, and other clients will send interactive requests to the client through the server.
S17:与所述目标客户端进行交互。即发送即时信息至服务器;接收服务器发送的目标客户端的即时信息。S17: interact with the target client. That is, sending instant messages to the server; receiving instant messages from the target client sent by the server.
进一步地,在步骤S15之后还包括:Further, after step S15, the method further includes:
S18:获取服务器发送的其他客户端请求与该客户端进行交互的请求信息。S18: Acquire request information that other client requests sent by the server interact with the client.
S19:发送接受请求的信息至服务器。该客户端可以选择接受该请求,也可以选择拒绝该请求或者忽略该请求,上述处理方式通过服务器发送至请求交互的客户端。当然,只有在接受请求的情况下才能与其他客户端进行交互。S19: Send the information of the acceptance request to the server. The client may choose to accept the request, or may choose to reject the request or ignore the request, and the above processing manner is sent by the server to the client requesting the interaction. Of course, you can only interact with other clients if you accept the request.
S110:与其他客户端进行交互。即发送即时信息至服务器;接收服务器发送的其他客户端的即时信息。采用上述方案,用户可以根据其他客户端运行应用数据,选择想要与之进行一对一通信的目标客户端,请求与之进行数据交互。通过本发明的上述方案,用户能够根据其他客户端当前运行应用数据的情况,选择运行应用数据与自己运行应用数据相关的客户端请求与之交互,例如,当前时刻与自己听同一首歌的客户端,与之进行交互,从而能进一步分享用户在听歌时的心情等,很大程度上能够真正意义上实现用户想要分享的效果,提升 用户体验。S110: Interact with other clients. That is, sending instant messages to the server; receiving instant messages from other clients sent by the server. With the above solution, the user can select the target client that wants to communicate with one another according to other client running application data, and request data interaction with it. Through the above solution of the present invention, the user can select a client request related to running the application data to interact with the client request running the application data according to the current running application data of the other client, for example, the client who listens to the same song at the current moment. End, interact with it, so as to further share the user's mood when listening to songs, etc., to a large extent, can truly achieve the effect that users want to share, improve user experience.
优选地,在步骤S12中,所述共享信息还包括该用户端的地理位置数据,地理位置数据可以通过自动获取或者手动填写的方式得到。每一个客户端在发送共享信息时,共享信息中还可以包括客户端的地理位置数据,同时也能够看到其他客户端的地理位置数据。在这种情况下,用户可以选择与自己距离较近的客户端进行交互。例如,客户可以与附近的听同一首歌或者看同一部电影的人进行互动,交流自己在听歌、看电影时的心情,可以为用户提供面对面交流的即视感。即,在步骤S14中包括:Preferably, in step S12, the shared information further includes geographic location data of the user end, and the geographic location data may be obtained by automatically acquiring or manually filling in. When each client sends the shared information, the shared information may also include the geographical location data of the client, and also the geographical location data of other clients. In this case, the user can choose to interact with clients that are closer to themselves. For example, customers can interact with nearby people who listen to the same song or watch the same movie, exchange their feelings when listening to songs and watching movies, and provide users with a face-to-face communication. That is, it includes in step S14:
S141:发送获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求至服务器。该设定范围可以由用户自己来设定,例如可以设定距离D(以公里、千米、米等为单位),获取以自己为圆心以D为半径的圆内的客户端列表。S141: Send a request for acquiring shared information of other clients whose distance from the client is within a set range to the server. The setting range can be set by the user himself. For example, the distance D (in kilometers, kilometers, meters, etc.) can be set, and a client list in a circle whose radius is D with its own center is obtained.
S142:获取服务器发送的设定范围内的其他客户端的共享信息,根据共享信息中运行应用数据,选择目标客户端。S142: Acquire sharing information of other clients in the setting range sent by the server, and select the target client according to the running application data in the sharing information.
对于正在听歌的用户来说,采用上述方案能够实现与附近的歌友进行互动,可以从附近歌友中选择听同一首歌、听某种曲风、某张专辑的歌友进行互动。For the user who is listening to the song, the above scheme can realize interaction with nearby friends, and can choose to listen to the same song from a nearby song, listen to a certain style, and interact with a certain album.
进一步优选地,在步骤S12中,所述运行应用数据还包括:Further preferably, in step S12, the running application data further includes:
每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。以音乐播放软件为例,用户可以将自己的歌曲播放历史数据分享给他人,根据历史播放数据可以得到该用户对某一歌曲的喜爱程度、对某一歌手的喜爱程度等。用户还可以将自己对每一应用的设置的与音乐播放软件相关的数据分享给他人,例如用户的头像、昵称、听歌习惯、用户设置的喜欢听的歌曲、喜欢的歌手等。不同的客户端之间可以共享上述数据的话,那么用户能够根据听歌习惯和偏好选择自己感兴趣的客户端,请求交互,这种情况下更容易建立两个用户的连接,在分享心情时也更能够产生共鸣,进一步提升用户体验。 The running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user. Taking the music playing software as an example, the user can share his own song playing history data to others, and according to the historical playing data, the user can enjoy the degree of love of a certain song, the degree of love for a certain singer, and the like. The user can also share the data related to the music playing software set by each application to others, such as the user's avatar, nickname, listening singer, user-set favorite songs, favorite singers, and the like. If the above data can be shared between different clients, then the user can select the client that he is interested in according to the listening habits and preferences, and request the interaction. In this case, it is easier to establish a connection between the two users, and when sharing the mood, It is more able to resonate and further enhance the user experience.
本实施例提供的上述几种方案中,不同方案之间的某些步骤顺序还可以更换,不必须按照上述步骤号的顺序执行。In the above several solutions provided by this embodiment, some sequence of steps between different solutions may also be replaced, and it is not necessary to perform the steps in the order of the above step numbers.
实施例2Example 2
本实施例提供一种信息共享方法,与实施例1中的共享方法相配合,本实施例中的共享方法应用于服务器,如图4所示,包括如下步骤:This embodiment provides an information sharing method, which is matched with the sharing method in Embodiment 1. The sharing method in this embodiment is applied to a server, as shown in FIG. 4, and includes the following steps:
S21:接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据。若客户端关闭共享模式时,则无法接收该客户端的共享数据,也不能将其他客户端的共享数据发送之该客户端。S21: Receive sharing information sent by a client that starts the information sharing mode, where the sharing information includes running data of the client and ID data corresponding to the client, where the running application data includes data of the currently running application. If the client closes the shared mode, it cannot receive the shared data of the client, nor can the shared data of other clients be sent to the client.
S22:发送共享信息至不同的客户端,由此实现不同客户端之间的信息共享。S22: Send the shared information to different clients, thereby realizing information sharing between different clients.
S23:接收客户端发送的与目标客户端进行交互的请求。S23: Receive a request sent by the client to interact with the target client.
S24:发送客户端请求与目标客户端进行交互的信息至目标客户端。S24: Send the client requesting information to interact with the target client to the target client.
本实施例中,服务器即为不同客户端之间信息传输的中转站,服务器为不同的客户端提供端口,所有开启信息共享模式的客户端均有权调用服务器的端口,向服务器发送信息以及从服务器获取信息。In this embodiment, the server is a relay station for information transmission between different clients, and the server provides ports for different clients. All clients that open the information sharing mode have the right to call the server port, send information to the server, and The server gets the information.
优选地,如图5所示,上述共享方法还包括如下步骤:Preferably, as shown in FIG. 5, the foregoing sharing method further includes the following steps:
S25:接收所述目标客户端发送的接受交互请求的信息。S25: Receive information of the accepting interaction request sent by the target client.
S26:发送所述目标客户端发送的接受交互请求的信息至客户端。S26: Send the information of the accepting interaction request sent by the target client to the client.
每一个客户端可以主动选择目标客户端,发送交互请求,待目标客户端确认接受请求后与目标客户端建立通信连接,实时分享信息。相应地,每一个客户端都有可能作为目标客户端,该客户端可以选择接受该请求,也可以选择拒绝该请求或者忽略该请求。只要目标客户端选择接受请求时,就可以建立二者交互关系。而且,对于每一个客户端来说,选择的目标客户端数量是可以为多个的。Each client can actively select the target client and send an interaction request. After the target client confirms the acceptance request, it establishes a communication connection with the target client and shares the information in real time. Accordingly, each client is likely to be the target client, and the client can choose to accept the request, or can choose to reject the request or ignore the request. As long as the target client chooses to accept the request, it can establish the interaction between the two. Moreover, for each client, the number of target clients selected can be multiple.
进一步优选地,步骤S21中,所述共享信息还包括用户端的地理 位置数据。相应地,步骤S22中包括:Further preferably, in step S21, the shared information further includes a geographic location of the user end. Location data. Correspondingly, step S22 includes:
S221:接收客户端发送的获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求。S221: Receive a request sent by the client to obtain shared information of other clients whose distance from the client is within a set range.
S222:发送设定范围内的其他客户端的共享信息至该客户端。S222: Send sharing information of other clients in the setting range to the client.
通过该方案,用户可以选择与自己距离较近的客户端进行交互。例如,客户可以与附近的听同一首歌或者看同一部电影的人进行互动,交流自己在听歌、看电影时的心情,可以为用户提供面对面交流的即视感。With this solution, users can choose to interact with clients that are closer to themselves. For example, customers can interact with nearby people who listen to the same song or watch the same movie, exchange their feelings when listening to songs and watching movies, and provide users with a face-to-face communication.
进一步优选地,步骤S21中,所述运行应用数据还包括:Further preferably, in step S21, the running application data further includes:
每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。以音乐播放软件为例,用户可以将自己的歌曲播放历史数据分享给他人,根据历史播放数据可以得到该用户对某一歌曲的喜爱程度、对某一歌手的喜爱程度等。用户还可以将自己对每一应用的设置的与音乐播放软件相关的数据分享给他人,例如用户的头像、昵称、听歌习惯、用户设置的喜欢听的歌曲、喜欢的歌手等。不同的客户端之间可以共享上述数据的话,那么用户能够根据听歌习惯和偏好选择自己感兴趣的客户端,请求交互,这种情况下更容易建立两个用户的连接,在分享心情时也更能够产生共鸣,进一步提升用户体验。The running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user. Taking the music playing software as an example, the user can share his own song playing history data to others, and according to the historical playing data, the user can enjoy the degree of love of a certain song, the degree of love for a certain singer, and the like. The user can also share the data related to the music playing software set by each application to others, such as the user's avatar, nickname, listening singer, user-set favorite songs, favorite singers, and the like. If the above data can be shared between different clients, then the user can select the client that he is interested in according to the listening habits and preferences, and request the interaction. In this case, it is easier to establish a connection between the two users, and when sharing the mood, It is more able to resonate and further enhance the user experience.
实施例3Example 3
本实施例提供一种如图6所示的客户端1,包括:This embodiment provides a client 1 as shown in FIG. 6, including:
共享模式启动单元11,用于启动信息共享模式,在该模式下,客户端可以将需要共享的信息发送至服务器,并且可以从服务器接收到其他客户端的共享信息。当关闭共享模式时,则停止共享数据的发送与接收。The sharing mode starting unit 11 is configured to start an information sharing mode, in which the client can send information that needs to be shared to the server, and can receive sharing information of other clients from the server. When the sharing mode is turned off, the transmission and reception of shared data is stopped.
信息发送单元12,用于发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据。The information sending unit 12 is configured to send the shared information to the server, where the shared information includes the client running application data and ID data corresponding to the client, and the running application data includes data of the currently running application.
信息获取单元13,获取服务器发送的其他客户端的共享信息。 其他客户端的共享信息,与本客户端的共享信息可以相同的,也可以是不同的。此处客户端的共享信息不同是指具体的共享信息的内容可以不同,但是必须是相关联的,例如某一客户端的共享信息中包括的运行应用数据为当前正在播放的歌曲,另一客户端的共享数据中包括的运行应用数据为最喜欢听的歌曲,虽然二者的共享信息并不完全相同,但是彼此是关联的,用户依然能够根据其他客户端的共享信息确定自己是否有兴趣与之进行互动。The information obtaining unit 13 acquires sharing information of other clients sent by the server. The shared information of other clients may be the same as or different from the shared information of the client. Here, the shared information of the client is different, and the content of the specific shared information may be different, but it must be associated. For example, the running application data included in the shared information of one client is the currently playing song, and the sharing of another client. The running application data included in the data is the favorite song. Although the shared information of the two is not identical, but they are related to each other, the user can still determine whether they are interested in interacting with other clients according to the shared information.
目标客户端选择单元14,用于根据其他客户端的共享信息中的运行应用数据,选择目标客户端;根据其他客户端的运行应用数据,用户能够判断相应的用户是否与自己运行同一个应用,是否对同样的事物有兴趣等,从而确定自己想要与之进行交流的目标客户端,例如选择与自己听同一首歌、看同一部电影的用户等。The target client selection unit 14 is configured to select a target client according to the running application data in the shared information of the other client; according to the running application data of the other client, the user can determine whether the corresponding user runs the same application with the user, whether The same thing is interested in waiting to determine the target client that you want to communicate with, such as choosing a user who listens to the same song, watches the same movie, and so on.
优选地,所述信息发送单元12,还用于发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。对于目标客户端来说,从服务器获取到该客户端的交互请求之后,可以选择接受该请求,可以选择拒绝该请求,还可以选择将其忽略。无论是采取了哪种处理方式,都可以通过服务器将其反馈给该客户端。也可以选择只有在接受请求后才通过服务器将接受该请求的结果反馈给该客户端。Preferably, the information sending unit 12 is further configured to send ID data of the target client and a request for interaction with the target client to the server. For the target client, after obtaining the interaction request from the server, the client may choose to accept the request, may choose to reject the request, and may choose to ignore it. No matter which processing method is adopted, it can be fed back to the client through the server. You can also choose to feed back the results of the request to the client only after accepting the request.
进一步优选地,所述信息获取单元13,还用于获取服务器发送的所述目标客户端接受交互请求的信息;该客户端可以选择接受该请求,也可以选择拒绝该请求或者忽略该请求,上述处理方式通过服务器发送至请求交互的客户端。当然,只有在接受请求的情况下才能与其他客户端进行交互。Further preferably, the information obtaining unit 13 is further configured to acquire information that the target client receives the interaction request sent by the server; the client may choose to accept the request, or may choose to reject the request or ignore the request, The processing method is sent by the server to the client requesting the interaction. Of course, you can only interact with other clients if you accept the request.
交互单元15,用于与所述目标客户端进行交互。两个客户端之间的交流信息可以通过服务器进行交互。The interaction unit 15 is configured to interact with the target client. Communication between the two clients can be exchanged through the server.
作为另一种优选地方案,所述信息获取单元13,还用于获取服务器发送的其他客户端请求与该客户端进行交互的请求信息;当前客户端可以发送交互请求给目标客户端,当目标客户端接受请求后可以与目标客户端进行实时交互。另一方面,该客户端也可能被其他客户 端选择为目标客户端,那么其他客户端便会通过服务器发送交互请求至该客户端。As another preferred solution, the information obtaining unit 13 is further configured to obtain request information that other client requests sent by the server interact with the client; the current client may send an interaction request to the target client, when the target The client can interact with the target client in real time after accepting the request. On the other hand, the client may also be used by other clients. The endpoint is selected as the target client, and then the other client sends an interactive request to the client through the server.
所述信息发送单元12,还用于发送接受请求的信息至服务器;The information sending unit 12 is further configured to send the information that accepts the request to the server;
所述交互单元15,用于与其他客户端进行交互。The interaction unit 15 is configured to interact with other clients.
本实施例还提供另一种优选方案,所述信息发送单元12发送的所述共享信息还包括该用户端的地理位置数据。The embodiment further provides another preferred solution. The shared information sent by the information sending unit 12 further includes geographic location data of the user end.
所述目标客户端选择单元14中包括:The target client selection unit 14 includes:
请求发送子单元,用于发送获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求至服务器;a request sending subunit, configured to send a request for acquiring shared information of other clients whose distance is within a set range from the client to the server;
目标客户端选择子单元,用于获取服务器发送的设定范围内的其他客户端的共享信息,根据共享信息中运行应用数据,选择目标客户端。The target client selects a sub-unit, which is used to obtain the shared information of other clients in the set range sent by the server, and selects the target client according to the running application data in the shared information.
地理位置数据可以通过自动获取或者手动填写的方式得到。每一个客户端在发送共享信息时,共享信息中还可以包括客户端的地理位置数据,同时也能够看到其他客户端的地理位置数据。在这种情况下,用户可以选择与自己距离较近的客户端进行交互。例如,客户可以与附近的听同一首歌或者看同一部电影的人进行互动,交流自己在听歌、看电影时的心情,可以为用户提供面对面交流的即视感。Geographical data can be obtained automatically or manually. When each client sends the shared information, the shared information may also include the geographical location data of the client, and also the geographical location data of other clients. In this case, the user can choose to interact with clients that are closer to themselves. For example, customers can interact with nearby people who listen to the same song or watch the same movie, exchange their feelings when listening to songs and watching movies, and provide users with a face-to-face communication.
所述信息发送单元12发送的所述共享信息中,所述该客户端运行应用数据还包括:每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。以音乐播放软件为例,用户可以将自己的歌曲播放历史数据分享给他人,根据历史播放数据可以得到该用户对某一歌曲的喜爱程度、对某一歌手的喜爱程度等。用户还可以将自己对每一应用的设置的与音乐播放软件相关的数据分享给他人,例如用户的头像、昵称、听歌习惯、用户设置的喜欢听的歌曲、喜欢的歌手等。不同的客户端之间可以共享上述数据的话,那么用户能够根据听歌习惯和偏好选择自己感兴趣的客户端,请求交互,这种情况下更容易建立两个用户的连接,在分享心情时也更能够产生共鸣,进一步提升用户体验。 In the shared information sent by the information sending unit 12, the running application data of the client further includes: running history data of each application and/or preference data obtained according to running history data of each application and / or application-related data set by the user. Taking the music playing software as an example, the user can share his own song playing history data to others, and according to the historical playing data, the user can enjoy the degree of love of a certain song, the degree of love for a certain singer, and the like. The user can also share the data related to the music playing software set by each application to others, such as the user's avatar, nickname, listening singer, user-set favorite songs, favorite singers, and the like. If the above data can be shared between different clients, then the user can select the client that he is interested in according to the listening habits and preferences, and request the interaction. In this case, it is easier to establish a connection between the two users, and when sharing the mood, It is more able to resonate and further enhance the user experience.
本实施例还提供一种如图6所示的服务器2,与上述的客户端1相配合,包括:The embodiment also provides a server 2 as shown in FIG. 6, which cooperates with the client 1 described above, and includes:
数据接收单元21,用于接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据。The data receiving unit 21 is configured to receive the shared information sent by the client that initiates the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application. .
数据发送单元22,用于发送共享信息至不同的客户端。The data sending unit 22 is configured to send the shared information to different clients.
所述数据接收单元21,还用于接收客户端发送的与目标客户端进行交互的请求。The data receiving unit 21 is further configured to receive a request sent by the client to interact with the target client.
所述数据发送单元22,还用于发送客户端请求与目标客户端进行交互的信息至目标客户端。The data sending unit 22 is further configured to send information that the client requests to interact with the target client to the target client.
服务器即为不同客户端之间信息传输的中转站,服务器为不同的客户端提供端口,所有开启信息共享模式的客户端均有权调用服务器的端口,向服务器发送信息以及从服务器获取信息。The server is a relay station for information transmission between different clients. The server provides ports for different clients. All clients that open the information sharing mode have the right to call the server port, send information to the server, and obtain information from the server.
作为一种优选方案,所述数据接收单元21,还用于接收所述目标客户端发送的接受交互请求的信息。As a preferred solution, the data receiving unit 21 is further configured to receive information about the accepting interaction request sent by the target client.
所述数据发送单元22,还用于发送所述目标客户端接受交互请求的信息至客户端。The data sending unit 22 is further configured to send the information that the target client accepts the interaction request to the client.
每一个客户端可以主动选择目标客户端,发送交互请求,待目标客户端确认接受请求后与目标客户端建立通信连接,实时分享信息。相应地,每一个客户端都有可能作为目标客户端,该客户端可以选择接受该请求,也可以选择拒绝该请求或者忽略该请求。只要目标客户端选择接受请求时,就可以建立二者交互关系。而且,对于每一个客户端来说,选择的目标客户端数量是可以为多个的。Each client can actively select the target client and send an interaction request. After the target client confirms the acceptance request, it establishes a communication connection with the target client and shares the information in real time. Accordingly, each client is likely to be the target client, and the client can choose to accept the request, or can choose to reject the request or ignore the request. As long as the target client chooses to accept the request, it can establish the interaction between the two. Moreover, for each client, the number of target clients selected can be multiple.
进一步优选地,所述数据接收单元21接收的所述共享信息还包括用户端的地理位置数据。Further preferably, the shared information received by the data receiving unit 21 further includes geographic location data of the user end.
所述数据接收单元21,还用于接收客户端发送的获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求;The data receiving unit 21 is further configured to receive, by the client, a request for acquiring shared information of other clients whose distance from the client is within a set range;
所述数据发送单元22,还用于发送设定范围内的其他客户端的共享信息至该客户端。 The data sending unit 22 is further configured to send the shared information of other clients in the set range to the client.
通过该方案,用户可以选择与自己距离较近的客户端进行交互。例如,客户可以与附近的听同一首歌或者看同一部电影的人进行互动,交流自己在听歌、看电影时的心情,可以为用户提供面对面交流的即视感。With this solution, users can choose to interact with clients that are closer to themselves. For example, customers can interact with nearby people who listen to the same song or watch the same movie, exchange their feelings when listening to songs and watching movies, and provide users with a face-to-face communication.
所述数据接收单元21接收的共享信息中的运行应用数据还包括:The running application data in the shared information received by the data receiving unit 21 further includes:
每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。如此,用户能够根据习惯和偏好选择自己感兴趣的客户端,请求交互,这种情况下更容易建立两个用户的连接,在分享心情时也更能够产生共鸣,进一步提升用户体验。The running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user. In this way, the user can select the client that he is interested in according to the habit and preference, and request the interaction. In this case, it is easier to establish a connection between the two users, and it is more able to resonate when sharing the mood, thereby further improving the user experience.
另外,本实施例提供一种信息共享系统,如图6所示,其包括以上的服务器2至少一台,客户端1至少两台。图7给出了共享信息系统的工作流程,其中以要建立交互关系的两台客户端为例,在实际应用时客户端的数量、服务器的数量根据需求设置。从图中可以看出,具体工作流程如下:In addition, this embodiment provides an information sharing system, as shown in FIG. 6, which includes at least one of the above servers 2 and at least two clients 1. Figure 7 shows the workflow of the shared information system. The two clients that want to establish an interaction relationship are taken as an example. In actual application, the number of clients and the number of servers are set according to requirements. As can be seen from the figure, the specific workflow is as follows:
S311:客户端一和客户端二均启动共享模式。S311: Both client 1 and client 2 start sharing mode.
S312:客户端一和客户端二均发送共享信息至服务器。S312: Both client 1 and client 2 send shared information to the server.
S313:服务器接收到两个客户端发送的共享信息。S313: The server receives the shared information sent by the two clients.
S314:服务器将客户端一的共享信息发送给客户端二,将客户端二发送的共享信息发送给客户端一。S314: The server sends the shared information of the client 1 to the client 2, and sends the shared information sent by the client 2 to the client 1.
S315:客户端一接收到客户端二的共享信息,客户端二接收到客户端一的共享信息。S315: Upon receiving the shared information of the client 2, the client receives the shared information of the client one.
S316:客户端一确定客户端二为目标客户端。S316: The client determines that the client 2 is the target client.
S317:客户端一发送与客户单二交互的请求至服务器。S317: The client sends a request to the server to interact with the client.
S318:服务器接收到客户端一发送的交互请求。S318: The server receives an interaction request sent by the client.
S319:服务器将客户端一的交互请求发送至客户端二。S319: The server sends a client-side interaction request to the client terminal 2.
S320:客户端二接收到客户端一的交互请求。S320: The client 2 receives the interaction request of the client one.
S321:客户端二发送接受客户端一的交互请求的信息至服务器。 S321: The client 2 sends the information that accepts the interaction request of the client one to the server.
S322:服务器接收到客户端二发送的接受客户端一的交互请求的信息。S322: The server receives the information sent by the client 2 to accept the interaction request of the client one.
S323:服务器将客户端二发送的接受客户端一的交互请求的信息发送至客户端一。S323: The server sends the information sent by the client 2 to accept the interaction request of the client one to the client one.
S324:客户端一接收客户端二发送的接受信息,至此,二者之间的交互关系已经建立完成,可以实时分享信息。S324: The client receives the acceptance information sent by the client 2. At this point, the interaction between the two has been established, and the information can be shared in real time.
S325:客户端一发送即时信息至服务器。S325: The client sends an instant message to the server.
S326:服务器接收客户端一发送的即时信息。S326: The server receives the instant information sent by the client.
S327:服务器将客户端一发送的即时信息发送给客户端二。S327: The server sends the instant message sent by the client to the client 2.
S328:客户端二接收到客户端一发送的即时信息。S328: Client 2 receives the instant message sent by the client.
S329:客户端二发送即时信息至服务器。S329: Client 2 sends an instant message to the server.
S330:服务器接收客户端二发送的即时信息。S330: The server receives the instant information sent by the client 2.
S331:服务器将客户端二发送的即时信息发送给客户端一。S331: The server sends the instant message sent by the client 2 to the client one.
S332:客户端一接收到客户端二发送的即时信息。S332: The client receives the instant message sent by the client 2.
由此,两个客户端可以实现实时的信息交互。通过本发明的上述方案,用户能够根据其他客户端当前运行应用数据的情况,选择运行应用数据与自己运行应用数据相关的客户端请求与之交互,例如,当前时刻与自己听同一首歌的客户端,与之进行交互,从而能进一步分享用户在听歌时的心情等,很大程度上能够真正意义上实现用户想要分享的效果,提升用户体验。Thus, two clients can implement real-time information interaction. Through the above solution of the present invention, the user can select a client request related to running the application data to interact with the client request running the application data according to the current running application data of the other client, for example, the client who listens to the same song at the current moment. End, interact with it, so as to further share the user's mood when listening to the song, etc., to a large extent, can truly achieve the effect that the user wants to share, and enhance the user experience.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can 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, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图 和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or block diagrams can be implemented by computer program instructions. And/or a combination of processes and/or blocks in the block diagram. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
图8是示出本发明一实施例的客户端的逻辑框图,参照图8,所述客户端,包括:FIG. 8 is a logic block diagram showing a client according to an embodiment of the present invention. Referring to FIG. 8, the client includes:
处理器(processor)801、存储器(memory)802、通信接口(Communications Interface)803和总线804;其中,a processor 801, a memory 802, a communication interface 803, and a bus 804; wherein
所述处理器801、存储器802、通信接口803通过所述总线804完成相互间的通信;The processor 801, the memory 802, and the communication interface 803 complete communication with each other through the bus 804;
所述通信接口803用于该车载平台与车辆的通信设备之间的信息传输;The communication interface 803 is used for information transmission between the vehicle platform and a communication device of the vehicle;
所述处理器801用于调用所述存储器802中的逻辑指令,以执行如下方法;The processor 801 is configured to invoke logic instructions in the memory 802 to perform the following methods;
启动信息共享模式;Start the information sharing mode;
发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据; Sending the shared information to the server, the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
获取服务器发送的其他客户端的共享信息;Obtain sharing information of other clients sent by the server;
根据其他客户端的共享信息中的运行应用数据,选择目标客户端;Select the target client based on the running application data in the shared information of other clients;
发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。Sending the ID data of the target client and the request to interact with the target client to the server.
参看图2,本实施例公开一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:Referring to FIG. 2, the embodiment discloses a computer program, including program code, where the program code is used to perform the following operations:
启动信息共享模式;Start the information sharing mode;
发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;Sending the shared information to the server, the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
获取服务器发送的其他客户端的共享信息;Obtain sharing information of other clients sent by the server;
根据其他客户端的共享信息中的运行应用数据,选择目标客户端;Select the target client based on the running application data in the shared information of other clients;
发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。Sending the ID data of the target client and the request to interact with the target client to the server.
本实施例公开一种存储介质,用于存储如前述实施例所述的计算机程序。This embodiment discloses a storage medium for storing a computer program as described in the foregoing embodiments.
图9是示出本发明另一实施例的服务器的逻辑框图。Figure 9 is a logic block diagram showing a server in accordance with another embodiment of the present invention.
参照图9,所述服务器,包括:Referring to FIG. 9, the server includes:
处理器(processor)901、存储器(memory)902、通信接口(Communications Interface)703和总线704;其中,a processor 901, a memory 902, a communication interface 703, and a bus 704; wherein
所述处理器901、存储器902、通信接口903通过所述总线904完成相互间的通信;The processor 901, the memory 902, and the communication interface 903 complete communication with each other through the bus 904;
所述通信接口903用于该车载平台与车辆的通信设备之间的信息传输;The communication interface 903 is used for information transmission between the vehicle platform and a communication device of the vehicle;
所述处理器901用于调用所述存储器902中的逻辑指令,以执行如下方法;The processor 901 is configured to invoke logic instructions in the memory 902 to perform the following methods;
接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户 端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;发送共享信息至不同的客户端;接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;发送该客户端的交互请求至目标客户端。Receiving shared information sent by a client that initiates an information sharing mode, the shared information including a client End running application data and ID data corresponding to the client, the running application data includes data of the currently running application; sending the shared information to different clients; receiving the ID data of the target client sent by a certain client and the target client The request to interact with the end; send the interactive request of the client to the target client.
参看图4,本实施例公开一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:Referring to FIG. 4, the embodiment discloses a computer program, including program code, where the program code is used to perform the following operations:
接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;And receiving the shared information sent by the client that starts the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
发送共享信息至不同的客户端;Send shared information to different clients;
接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;Receiving ID data of a target client sent by a client and a request to interact with the target client;
发送该客户端的交互请求至目标客户端。Send the client's interaction request to the target client.
本实施例公开一种存储介质,用于存储如前述实施例所述的计算机程序。This embodiment discloses a storage medium for storing a computer program as described in the foregoing embodiments.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所描述的车载平台以及智能交通系统等实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The embodiments of the vehicle platform and the intelligent transportation system described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各 实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand each The implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only used to explain the technical solutions of the embodiments of the present invention, and are not limited thereto; although the embodiments of the present invention are described in detail with reference to the foregoing embodiments, those skilled in the art It should be understood that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. The spirit and scope of the programme.

Claims (29)

  1. 一种信息共享方法,应用于客户端,其特征在于,包括如下步骤:An information sharing method is applied to a client, and is characterized in that the method includes the following steps:
    启动信息共享模式;Start the information sharing mode;
    发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;Sending the shared information to the server, the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
    获取服务器发送的其他客户端的共享信息;Obtain sharing information of other clients sent by the server;
    根据其他客户端的共享信息中的运行应用数据,选择目标客户端;Select the target client based on the running application data in the shared information of other clients;
    发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。Sending the ID data of the target client and the request to interact with the target client to the server.
  2. 根据权利要求1所述的信息共享方法,其特征在于,还包括如下步骤:The information sharing method according to claim 1, further comprising the steps of:
    获取服务器发送的所述目标客户端接受交互请求的信息;Obtaining information that the target client sent by the server accepts the interaction request;
    发送即时信息至服务器;Send instant messages to the server;
    接收服务器发送的目标客户端的即时信息。Receive instant information from the target client sent by the server.
  3. 根据权利要求1所述的信息共享方法,其特征在于,还包括如下步骤:The information sharing method according to claim 1, further comprising the steps of:
    获取服务器发送的其他客户端请求与该客户端进行交互的交互请求;Obtaining an interaction request that other client requests sent by the server interact with the client;
    发送接受其他客户端交互请求的信息至服务器;Send information that accepts other client interaction requests to the server;
    发送即时信息至服务器;Send instant messages to the server;
    接收服务器发送的其他客户端的即时信息。Receive instant messages from other clients sent by the server.
  4. 根据权利要求1所述的信息共享方法,其特征在于,发送共享信息,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据的步骤中:The information sharing method according to claim 1, wherein the sharing information is included, and the sharing information includes the step of the client running the application data and the ID data corresponding to the client:
    所述共享信息还包括该用户端的地理位置数据。The shared information also includes geographic location data of the client.
  5. 根据权利要求3所述的信息共享方法,其特征在于,根据其他客户端的共享信息中的运行应用数据,选择目标客户端的步骤包括:The information sharing method according to claim 3, wherein the step of selecting the target client according to the running application data in the shared information of the other clients comprises:
    发送获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求至服务器;Sending a request for acquiring shared information of other clients whose distance from the client is within a set range to the server;
    获取服务器发送的设定范围内的其他客户端的共享信息,根据共享信 息中运行应用数据,选择目标客户端。Get shared information of other clients within the set range sent by the server, according to the shared letter Run the application data in the message and select the target client.
  6. 根据权利要求1所述的信息共享方法,其特征在于,发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据的步骤中,所述运行应用数据还包括:The information sharing method according to claim 1, wherein the sharing information is sent to a server, and the sharing information includes the step of the client running the application data and the ID data corresponding to the client, the running application data Also includes:
    每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。The running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user.
  7. 一种信息共享方法,应用于服务器,其特征在于,包括如下步骤:An information sharing method is applied to a server, which is characterized in that it comprises the following steps:
    接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;And receiving the shared information sent by the client that starts the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
    发送共享信息至不同的客户端;Send shared information to different clients;
    接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;Receiving ID data of a target client sent by a client and a request to interact with the target client;
    发送该客户端的交互请求至目标客户端。Send the client's interaction request to the target client.
  8. 根据权利要求7所述的信息共享方法,其特征在于,还包括如下步骤:The information sharing method according to claim 7, further comprising the steps of:
    接收所述目标客户端发送的接受交互请求的信息;Receiving information of the accepting interaction request sent by the target client;
    发送所述目标客户端接受交互请求的信息至该客户端。Sending the target client to accept the information of the interactive request to the client.
  9. 根据权利要求7所述的信息共享方法,其特征在于,接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据的步骤中:The information sharing method according to claim 7, wherein the sharing information sent by the client that initiates the information sharing mode is received, and the sharing information includes the step of the client running the application data and the ID data corresponding to the client:
    所述共享信息还包括用户端的地理位置数据。The shared information also includes geographic location data of the client.
  10. 根据权利要求9所述的信息共享方法,其特征在于,发送共享信息至不同的客户端的步骤包括:The information sharing method according to claim 9, wherein the step of transmitting the shared information to different clients comprises:
    接收某一客户端发送的获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求;Receiving a request sent by a client to obtain shared information of other clients whose distance from the client is within a set range;
    发送设定范围内的其他客户端的共享信息至该客户端。Send shared information of other clients within the set range to the client.
  11. 根据权利要求7所述的信息共享方法,其特征在于,接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据的步骤中,所述运行应用数据还包括: The information sharing method according to claim 7, wherein the sharing information sent by the client that initiates the information sharing mode is received, and the sharing information includes a step of the client running the application data and the ID data corresponding to the client, The running application data further includes:
    每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。The running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user.
  12. 一种客户端,其特征在于,包括:A client, comprising:
    共享模式启动单元,用于启动信息共享模式;a shared mode startup unit for starting an information sharing mode;
    信息发送单元,用于发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;An information sending unit, configured to send the shared information to the server, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
    信息获取单元,获取服务器发送的其他客户端的共享信息;The information obtaining unit acquires sharing information of other clients sent by the server;
    目标客户端选择单元,用于根据其他客户端的共享信息中的运行应用数据,选择目标客户端;a target client selection unit, configured to select a target client according to running application data in shared information of other clients;
    所述信息发送单元,还用于发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。The information sending unit is further configured to send ID data of the target client and a request for interaction with the target client to the server.
  13. 根据权利要求12所述的客户端,其特征在于,还包括:The client according to claim 12, further comprising:
    所述信息获取单元,还用于获取服务器发送的所述目标客户端接受交互请求的信息;The information acquiring unit is further configured to acquire information that the target client sends an interaction request sent by the server;
    交互单元,用于发送即时信息至服务器,接收服务器发送的目标客户端的即时信息。The interaction unit is configured to send the instant message to the server, and receive the instant information of the target client sent by the server.
  14. 根据权利要求12所述的客户端,其特征在于,还包括:The client according to claim 12, further comprising:
    所述信息获取单元,还用于获取服务器发送的其他客户端请求与该客户端进行交互的交互请求;The information obtaining unit is further configured to acquire an interaction request that the other client sends a request to interact with the client.
    所述信息发送单元,还用于发送接受其他客户端交互请求的信息至服务器;The information sending unit is further configured to send information that accepts other client interaction requests to the server;
    所述交互单元,用于发送即时信息至服务器,接收服务器发送的其他客户端的即时信息。The interaction unit is configured to send instant information to the server, and receive instant information of other clients sent by the server.
  15. 根据权利要求12所述的客户端,其特征在于:The client of claim 12 wherein:
    所述信息发送单元发送的所述共享信息还包括该用户端的地理位置数据。The shared information sent by the information sending unit further includes geographical location data of the user end.
  16. 根据权利要求12所述的客户端,其特征在于,所述目标客户端选择单元中包括:The client according to claim 12, wherein the target client selection unit comprises:
    请求发送子单元,用于发送获取与该客户端的距离在设定范围内的其 他客户端的共享信息的请求至服务器;Requesting a sending subunit for transmitting and obtaining a distance from the client within a set range His client's request to share information to the server;
    目标客户端选择子单元,用于获取服务器发送的设定范围内的其他客户端的共享信息,根据共享信息中运行应用数据,选择目标客户端。The target client selects a sub-unit, which is used to obtain the shared information of other clients in the set range sent by the server, and selects the target client according to the running application data in the shared information.
  17. 根据权利要求12所述的客户端,其特征在于:The client of claim 12 wherein:
    所述信息发送单元发送的所述共享信息中,所述该客户端运行应用数据还包括:每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。In the shared information sent by the information sending unit, the running application data of the client further includes: running history data of each application and/or preference data obtained according to running history data of each application and/or Or application-related data set by the user.
  18. 一种服务器,其特征在于,包括:A server, comprising:
    数据接收单元,用于接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;a data receiving unit, configured to receive the shared information sent by the client that initiates the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
    数据发送单元,用于发送共享信息至不同的客户端;a data sending unit, configured to send shared information to different clients;
    所述数据接收单元,还用于接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;The data receiving unit is further configured to receive ID data of a target client sent by a client and a request to interact with the target client;
    所述数据发送单元,还用于发送发送该客户端的交互请求至目标客户端。The data sending unit is further configured to send and send an interaction request of the client to the target client.
  19. 根据权利要求18所述的服务器,其特征在于:A server according to claim 18, wherein:
    所述数据接收单元,还用于接收所述目标客户端发送的接受交互请求的信息;The data receiving unit is further configured to receive information about the accepting interaction request sent by the target client;
    所述数据发送单元,还用于发送所述目标客户端接受交互请求的信息至该客户端。The data sending unit is further configured to send information that the target client accepts the interaction request to the client.
  20. 根据权利要求18所述的服务器,其特征在于:A server according to claim 18, wherein:
    所述数据接收单元接收的所述共享信息还包括用户端的地理位置数据。The shared information received by the data receiving unit further includes geographic location data of the user end.
  21. 根据权利要求20所述的服务器,其特征在于:A server according to claim 20, wherein:
    所述数据接收单元,还用于接收某一客户端发送的获取与该客户端的距离在设定范围内的其他客户端的共享信息的请求; The data receiving unit is further configured to receive a request sent by a client to obtain shared information of other clients whose distance from the client is within a set range;
    所述数据发送单元,还用于发送设定范围内的其他客户端的共享信息至该客户端。The data sending unit is further configured to send the shared information of other clients in the set range to the client.
  22. 根据权利要求18所述的服务器,其特征在于:A server according to claim 18, wherein:
    所述数据接收单元接收的共享信息中的运行应用数据还包括:The running application data in the shared information received by the data receiving unit further includes:
    每一种应用的运行历史数据和/或根据每一种应用的运行历史数据得到的偏好数据和/或用户设置的与应用相关的数据。The running history data of each application and/or the preference data obtained according to the running history data of each application and/or the application-related data set by the user.
  23. 一种信息共享系统,其特征在于,包括权利要求12-17任一项所述的客户端以及权利要求18-22任一项所述的服务器,其中的客户端至少为两个。An information sharing system, comprising the client according to any one of claims 12 to 17, and the server according to any one of claims 18 to 22, wherein the client has at least two clients.
  24. 一种客户端,其特征在于,包括:A client, comprising:
    处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
    所述通信接口用于所述车载平台与车辆的通信设备之间的信息传输;The communication interface is used for information transmission between the vehicle platform and a communication device of the vehicle;
    所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;The processor is configured to invoke logic instructions in the memory to perform the following method;
    启动信息共享模式;发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;获取服务器发送的其他客户端的共享信息;根据其他客户端的共享信息中的运行应用数据,选择目标客户端;发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。The information sharing mode is started; the sharing information is sent to the server, where the sharing information includes the client running application data and ID data corresponding to the client, the running application data includes data of the currently running application; and acquiring other clients sent by the server The shared information of the end; selecting the target client according to the running application data in the shared information of the other client; sending the ID data of the target client and the request for interacting with the target client to the server.
  25. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:A computer program comprising program code for performing the following operations:
    启动信息共享模式;Start the information sharing mode;
    发送共享信息至服务器,所述共享信息包括该客户端运行应用数据以及与该客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;Sending the shared information to the server, the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
    获取服务器发送的其他客户端的共享信息;Obtain sharing information of other clients sent by the server;
    根据其他客户端的共享信息中的运行应用数据,选择目标客户端; Select the target client based on the running application data in the shared information of other clients;
    发送目标客户端的ID数据以及与所述目标客户端进行交互的请求至服务器。Sending the ID data of the target client and the request to interact with the target client to the server.
  26. 一种存储介质,用于存储如权利要求25所述的计算机程序。A storage medium for storing the computer program of claim 25.
  27. 一种服务器,其特征在于,包括:A server, comprising:
    处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
    所述通信接口用于所述车载平台与车辆的通信设备之间的信息传输;The communication interface is used for information transmission between the vehicle platform and a communication device of the vehicle;
    所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;发送共享信息至不同的客户端;接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;发送该客户端的交互请求至目标客户端。The processor is configured to invoke logic instructions in the memory to perform the following method: receiving sharing information sent by a client that initiates an information sharing mode, where the shared information includes client running application data and ID data corresponding to the client The running application data includes data of the currently running application; sending the shared information to different clients; receiving the ID data of the target client sent by a certain client and the request for interacting with the target client; and sending the interactive request of the client To the target client.
  28. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:A computer program comprising program code for performing the following operations:
    接收启动信息共享模式的客户端发送的共享信息,所述共享信息包括客户端运行应用数据以及与客户端对应的ID数据,所述运行应用数据包括当前运行应用的数据;And receiving the shared information sent by the client that starts the information sharing mode, where the shared information includes the client running application data and ID data corresponding to the client, where the running application data includes data of the currently running application;
    发送共享信息至不同的客户端;Send shared information to different clients;
    接收某一客户端发送的目标客户端的ID数据以及与目标客户端进行交互的请求;Receiving ID data of a target client sent by a client and a request to interact with the target client;
    发送该客户端的交互请求至目标客户端。Send the client's interaction request to the target client.
  29. 一种存储介质,用于存储如权利要求28所述的计算机程序。 A storage medium for storing the computer program of claim 28.
PCT/CN2016/096958 2016-01-28 2016-08-26 Information sharing method and system, client and server WO2017128714A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610059923.3 2016-01-28
CN201610059923.3A CN105847316A (en) 2016-01-28 2016-01-28 Information sharing method and system, client and server

Publications (1)

Publication Number Publication Date
WO2017128714A1 true WO2017128714A1 (en) 2017-08-03

Family

ID=56580656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096958 WO2017128714A1 (en) 2016-01-28 2016-08-26 Information sharing method and system, client and server

Country Status (2)

Country Link
CN (1) CN105847316A (en)
WO (1) WO2017128714A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707664A (en) * 2017-10-18 2018-02-16 昆山东大智汇技术咨询有限公司 A kind of application system of individual activity track collection
CN111221648A (en) * 2019-12-27 2020-06-02 山东乾云启创信息科技股份有限公司 Application sharing method, device and medium based on spread processor

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847316A (en) * 2016-01-28 2016-08-10 乐视移动智能信息技术(北京)有限公司 Information sharing method and system, client and server
CN107786418B (en) * 2016-08-26 2020-11-10 北京地厚云图科技有限公司 Message communication method and device based on real-time data of engineering project
CN109997344B (en) * 2017-11-02 2022-04-15 腾讯科技(深圳)有限公司 Information processing method and device, server and storage medium
CN108337562A (en) * 2018-01-24 2018-07-27 优酷网络技术(北京)有限公司 Share the method and device of multimedia record

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981761A (en) * 2012-11-13 2013-03-20 广义天下文化传播(北京)有限公司 Trigger-type interactive method used for mobile terminal application
US20130110832A1 (en) * 2011-10-27 2013-05-02 Microsoft Corporation Techniques to determine network addressing for sharing media files
CN103312755A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Content sharing method and device based on geographic position
CN104410680A (en) * 2014-11-20 2015-03-11 北京奇虎科技有限公司 Method, client terminal, server and system of sharing file/file folder
CN105847316A (en) * 2016-01-28 2016-08-10 乐视移动智能信息技术(北京)有限公司 Information sharing method and system, client and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130110832A1 (en) * 2011-10-27 2013-05-02 Microsoft Corporation Techniques to determine network addressing for sharing media files
CN103312755A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Content sharing method and device based on geographic position
CN102981761A (en) * 2012-11-13 2013-03-20 广义天下文化传播(北京)有限公司 Trigger-type interactive method used for mobile terminal application
CN104410680A (en) * 2014-11-20 2015-03-11 北京奇虎科技有限公司 Method, client terminal, server and system of sharing file/file folder
CN105847316A (en) * 2016-01-28 2016-08-10 乐视移动智能信息技术(北京)有限公司 Information sharing method and system, client and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707664A (en) * 2017-10-18 2018-02-16 昆山东大智汇技术咨询有限公司 A kind of application system of individual activity track collection
CN111221648A (en) * 2019-12-27 2020-06-02 山东乾云启创信息科技股份有限公司 Application sharing method, device and medium based on spread processor

Also Published As

Publication number Publication date
CN105847316A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2017128714A1 (en) Information sharing method and system, client and server
JP7133565B2 (en) Techniques for finding bots based on intent
US20200228371A1 (en) Interactive data stream
EP1536352B1 (en) System for accessing content items over a network
US20170289202A1 (en) Interactive online music experience
US9084089B2 (en) Media data exchange transfer or delivery for portable electronic devices
US9152635B2 (en) Method of and system for multilevel creation of consolidated dynamic playlist and utilization thereof
CN109698856A (en) The device-to-device communication channel of safety
CN109697992A (en) The interaction with synchronous regime is encapsulated between equipment
TW201222271A (en) System and method for providing and managing interactive services
US20070155307A1 (en) Media data transfer
EP2360600A1 (en) Peer-to-peer content sharing
US10171617B2 (en) Communication system that support review of usage details for a communication service
US8224901B2 (en) Method and apparatus for enhancing compound documents with questions and answers
CN107003999A (en) To the system and method for the subsequent response of the first natural language input of user
US20170288943A1 (en) Supplying Context Data to a Servicing Entity
JP2002522998A (en) Computer architecture and processes for audio conferencing over local and global networks, including the Internet and intranets
WO2017172654A1 (en) Making a dialogue available to an autonomous software agent
WO2017172651A1 (en) Selecting an autonomous software agent
US10158723B2 (en) Determining communication history of users
CN104702881B (en) Method and system for the automatic start of audio/video conference
CN110152314A (en) Session output system, session export server, session output method and storage medium
CN104283847B (en) The social service implementation method and device shared based on video
US20160344818A1 (en) Systems and methods for multi-user anonymous communication
KR20140004290A (en) Recommandation method of friend and ctreation method of dynammic community using interest graph of music in social network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16887590

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16887590

Country of ref document: EP

Kind code of ref document: A1