WO2019214208A1 - Data processing method and apparatus in instant messaging system, medium, and computing device - Google Patents

Data processing method and apparatus in instant messaging system, medium, and computing device Download PDF

Info

Publication number
WO2019214208A1
WO2019214208A1 PCT/CN2018/116682 CN2018116682W WO2019214208A1 WO 2019214208 A1 WO2019214208 A1 WO 2019214208A1 CN 2018116682 W CN2018116682 W CN 2018116682W WO 2019214208 A1 WO2019214208 A1 WO 2019214208A1
Authority
WO
WIPO (PCT)
Prior art keywords
instant messaging
user
information
domain instant
server
Prior art date
Application number
PCT/CN2018/116682
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 WO2019214208A1 publication Critical patent/WO2019214208A1/en

Links

Images

Classifications

    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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

  • Embodiments of the present invention relate to the field of instant messaging technologies, and more particularly, embodiments of the present invention relate to a data processing method, apparatus, medium, and computing device in an instant messaging system.
  • each instant messaging application has its own communication server to provide services for it.
  • the WeChat application has a WeChat background server to provide services for it
  • the QQ application has a QQ background server to provide services for it.
  • users who use different communication applications cannot communicate with each other.
  • both users In order to be able to interact with an instant messaging application, both users have to download and use the same even communication application, which is extremely inconvenient and makes the user experience worse.
  • an improved instant messaging system which includes a plurality of instant messaging servers corresponding to the instant messaging application, and each domain instant messaging server can exchange information through the central server, and the users can accordingly
  • the information push strategy implements information interaction between different domain instant messaging servers, improving the user experience.
  • embodiments of the present invention are directed to a data processing method, apparatus, medium, and computing device in an instant messaging system.
  • a data processing method in an instant messaging system including a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the method being applied to the central server, the method comprising: creating or updating in response to a request of one of the domain instant messaging servers And the information pushing policy of the user corresponding to the request, and broadcasting the information pushing policy of the created or updated user to at least one domain instant messaging server of the at least two domain instant messaging servers.
  • the information pushing policy of the user corresponding to the request is created or updated in response to the request of one of the domain instant messaging servers, including: in response to receiving the user sending through one of the domain instant messaging servers Registration request to create an information push policy for the user.
  • the information push policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
  • the default domain instant messaging server corresponding to the user includes: the central server sets a default domain instant messaging server according to the received domain instant messaging server specified by the user, or the central server is configured according to The predetermined rule sets the default domain instant messaging server for the user.
  • the central server sets a default domain instant messaging server for the user according to a predetermined rule, including: the central server sets a default domain instant according to the domain instant messaging server registered by the user.
  • the communication server, or the central server sets a default domain instant messaging server according to the number of logins of the user in each domain instant messaging server, or the central server according to the online duration of the user in each domain instant messaging server is It sets the default domain instant messaging server.
  • the information pushing policy of the user corresponding to the request is created or updated in response to the request of the domain instant messaging server, including: in response to receiving the user sending through one of the domain instant messaging servers The login request, the update is the information push policy.
  • the update in response to receiving the login request sent by the user through one of the domain instant messaging servers, the update is the information push policy, including: in response to receiving the current login request of the user When the domain instant messaging server changes from the domain instant messaging server from which the last login request was received, the domain instant messaging server that the user in the information push policy recently logged in is updated.
  • the central server includes a management node and a storage node.
  • the storage node includes a blockchain node, and the blockchain node stores the information related to the user.
  • a data processing method in an instant messaging system including a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the method being applied to one of the domain instant messaging servers, the method comprising: responding to receiving information of a user broadcasted through the central server Push the policy, record or update the information push policy corresponding to the user.
  • the information push policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
  • the method further includes: receiving a request for sending information by the user, determining a target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information, if the information is The target domain instant messaging server is itself, and the information is sent via it. If it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards it to other domain instant messaging servers.
  • the foregoing information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
  • each target user of the plurality of target users for the information is pushed according to information corresponding to the target user.
  • the policy determines the corresponding target domain instant messaging server, if it is itself, the information is sent through it, and if it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards Give other domain instant messaging servers.
  • the method further includes: receiving a user login request, determining whether the domain instant messaging server of the current login of the user and the domain instant messaging server that has logged in from the last time change, When the user's current domain instant messaging server is logged in and the domain instant messaging server that was last logged in, the user's login request is sent to the central server.
  • a data processing apparatus in an instant messaging system comprising a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the device being applied to the central server, the device comprising an creating update module and a broadcast module.
  • the creation update module creates or updates an information push policy of the user corresponding to the request in response to a request of one of the domain instant messaging servers.
  • the broadcast module broadcasts the information push policy of the created or updated user to at least one of the at least two domain instant messaging servers.
  • the information pushing policy of the user corresponding to the request is created or updated in response to the request of one of the domain instant messaging servers, including: in response to receiving the user sending through one of the domain instant messaging servers Registration request to create an information push policy for the user.
  • the information pushing policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
  • the default domain instant messaging server corresponding to the user includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user; or setting the user according to a predetermined rule.
  • the default domain instant messaging server includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user; or setting the user according to a predetermined rule.
  • the setting a default domain instant messaging server for the user according to a predetermined rule includes: setting a default domain instant messaging server according to the domain instant messaging server registered by the user; or The user sets the default domain instant messaging server for the number of logins of the instant messaging server of each domain; or sets the default domain instant messaging server according to the online duration of the instant messaging server of each domain.
  • the information pushing policy of the user corresponding to the request is created or updated in response to the request of the domain instant messaging server, including: in response to receiving the user sending through one of the domain instant messaging servers The login request, the update is the information push policy.
  • the update in response to receiving the login request sent by the user through one of the domain instant messaging servers, the update is the information push policy, including: in response to receiving the current login request of the user When the domain instant messaging server changes from the domain instant messaging server from which the last login request was received, the domain instant messaging server that the user in the information push policy recently logged in is updated.
  • a data processing apparatus in an instant messaging system comprising a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the device being applied to one of the domain instant messaging servers, the device comprising: a record updating module, responsive to receiving the broadcast through the central server The user's information push policy records or updates the information push policy corresponding to the user.
  • the information pushing policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
  • the apparatus further includes a first receiving module, a determining module, and a first sending module.
  • the first receiving module receives a request for the user to send information.
  • the determining module determines the target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information.
  • the first sending module sends the information via the target domain instant messaging server of the information if it is itself, and if it is another domain instant messaging server, forwards the information to the central server, by the center The server forwards it to other domain instant messaging servers.
  • the foregoing information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
  • each target user of the plurality of target users for the information is pushed according to the information corresponding to the target user. Determining a corresponding target domain instant messaging server, if it is itself, the information is sent; if it is another domain instant messaging server, forwarding the information to the central server, and forwarding the information to the other server Domain instant messaging server.
  • the apparatus further includes a second receiving module, a determining module, and a second sending module.
  • the second receiving module receives the user login request.
  • the judging module judges whether the domain instant messaging server of the current login of the user and the domain instant messaging server that has logged in from the last time change.
  • the second sending module sends the login request of the user to the central server in a case where the domain instant messaging server of the current login of the user changes from the domain instant messaging server that has logged in from the last time.
  • a computing device comprising: a processing unit; and a storage unit having stored thereon an executable instruction, the instruction being executed by the processing unit to cause the processing unit Perform any of the methods described above.
  • a computer readable storage medium having stored thereon executable instructions that, when executed by a processing unit, cause the processing unit to perform any of the methods described above .
  • the communication connection between the central server and the plurality of domain instant messaging servers enables the plurality of domain instant messaging servers to exchange related information of the respective users through the central server.
  • the method sets a corresponding information push strategy for each user, so that users can implement information interaction between different domain instant messaging servers according to corresponding information push policies, and improve communication efficiency between users of different communication applications. Improve the user experience.
  • FIG. 1 schematically shows an application scenario according to an embodiment of the present invention
  • FIG. 2 is a flow chart schematically showing a data processing method in an instant messaging system according to an embodiment of the present invention
  • FIG. 3 is a flow chart schematically showing a data processing method in an instant messaging system according to another embodiment of the present invention.
  • FIG. 4 schematically shows a schematic diagram of a readable storage medium in accordance with an embodiment of the present invention
  • FIG. 5 is a block diagram schematically showing a data processing apparatus in an instant messaging system according to an embodiment of the present invention.
  • FIG. 6 is a block diagram schematically showing a data processing apparatus in an instant messaging system according to another embodiment of the present invention.
  • FIG. 7 schematically illustrates a computing device adapted to implement a data processing method in an instant messaging system in accordance with an embodiment of the present invention.
  • embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of full hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
  • a data processing method, apparatus, medium, and computing device in an instant messaging system are proposed.
  • an instant messaging system can be constructed.
  • the instant messaging system can include a central server and a plurality of domain instant messaging servers, and the central server can be combined with multiple domain instant messaging servers.
  • the communication connection is realized, so that each domain instant messaging server can send the corresponding data to the central server, realize the data interaction through the central server, and the instant messaging system can also set the information pushing policy for each user, and the user can According to the corresponding information push strategy, information interaction between different domain instant messaging servers is realized, the communication efficiency between users of different communication applications is improved, and the user experience is improved.
  • Figure 1 schematically illustrates an application scenario in accordance with an embodiment of the present invention.
  • the application scenario includes an instant messaging system 100.
  • the instant messaging system 100 can include a central server 110, a first domain instant messaging server 120, and a second domain instant messaging server 130.
  • the central server 110 can implement a communication connection with the first domain instant messaging server 120 and the second domain instant messaging server 130, such as a wired, wireless communication link, and the like.
  • the first domain instant messaging server 120 and the second domain instant messaging server 130 may be servers or server clusters that provide services for corresponding instant messaging applications.
  • it can be a variety of backend servers or server clusters that support instant messaging applications.
  • the first domain instant messaging server 120 can provide services for the WeChat application
  • the second domain instant messaging server 120 can provide services for the QQ application, and the like.
  • the central server 110 may be, for example, a gateway node, a routing node, a management platform, or other types of devices that store at least a portion of the public information of the domain instant messaging server to which it is connected.
  • the first domain instant messaging server 120 may determine the target domain instant messaging server according to the information push policy corresponding to the user B, if the target The domain instant messaging server is the first domain instant messaging server 120, and the information can be sent to the user B via the first domain instant messaging server 120. Otherwise, the first domain instant messaging server 120 forwards the information to the central server 110. The server 110 forwards to the corresponding target domain instant messaging server.
  • the instant messaging system 100 may set a corresponding information push policy for each user.
  • the information sent to the user may be pushed to the default domain instant messaging server corresponding to the user, or may be The information sent to the user is pushed to the domain instant messaging server that the user recently logged in.
  • the instant messaging system 100 can implement information interaction between users according to the information push policy of each user, thereby improving the communication efficiency between users of different communication applications and improving the user experience.
  • FIG. 2 is a flow chart schematically showing a data processing method in an instant messaging system according to an embodiment of the present invention.
  • an instant messaging system may include a central server and at least two domain instant messaging servers.
  • the central server stores information related to the user, and at least two domain instant messaging servers respectively correspond to at least two instant messaging applications.
  • the domain instant messaging server may be a server or a server cluster that provides services for the corresponding instant messaging application, for example, various background servers or server clusters that provide support for the instant messaging application.
  • the WeChat domain instant messaging server can provide services for WeChat applications
  • the QQ domain instant messaging server can provide services for QQ applications, and so on.
  • the central server is capable of implementing a communication connection with at least two domain instant messaging servers, and the central server may be, for example, at least part of public information of at least two domain instant messaging servers that are connected thereto (eg, related to the user) Information) gateways, routes, and other network nodes.
  • the method includes operations S201 to S202, and the method can be applied to a central server.
  • an information push policy of the user corresponding to the request is created or updated.
  • the information push policy of the created or updated user is broadcast to at least one of the at least two domain instant messaging servers.
  • the instant messaging system can create an information push policy for the user when the user registers, which can specify to which domain instant messaging server the information sent to the user should be pushed. As the user's usage changes, the instant messaging system can also update the information push policy of the user accordingly, so that the pushed domain instant messaging server specified in the policy is more in line with the user's usage habits and improves the user experience.
  • an information push policy corresponding to each user may be stored in the central server, and the stored information push policy may be synchronized to each domain instant messaging server, so that each domain instant messaging server may also store each The information push policy corresponding to the user, so that when the user sends the information, the information can be accurately sent to the target domain instant messaging server according to the corresponding information push policy.
  • the central server may create an information push policy for the user in response to receiving a registration request sent by the user through one of the domain instant messaging servers.
  • the domain instant messaging server A can send the registration request of the user to the central server, and the central server performs corresponding registration processing, and records related information of the user, and is also the user. Create an information push policy.
  • the embodiment of the present disclosure may be that the domain instant messaging server that receives the user registration request creates an information push policy for the name, and sends the registration request of the user and the corresponding information push policy to the central server.
  • the central server can aggregate related information and information push policy records of registered users from different domain instant messaging servers, and each domain instant messaging server can access public information stored in the central server, and the central server can also broadcast corresponding public information to each.
  • a domain instant messaging server so that each domain instant messaging server can synchronize the information of each user and the information push policy.
  • the information push policy may include: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the domain instant messaging server that the user recently logged into .
  • the default domain instant messaging server corresponding to the user includes: the central server sets a default domain instant messaging server according to the received domain instant messaging server specified by the user, or the central server sets a default domain instant messaging server for the user according to a predetermined rule. .
  • a user can specify a domain instant messaging server that accepts information
  • the information sent to that user will be pushed to the user-specified domain instant messaging server.
  • a default default domain instant messaging server may be set for the user.
  • the central server may set a default domain instant messaging server according to the domain instant messaging server registered by the user, or the central server may also set a default domain instant messaging server according to the number of logins of the instant messaging server of each domain. Or the central server can also set a default domain instant messaging server according to the online duration of the user's instant messaging server in each domain.
  • the default domain instant messaging server can be a fixed domain instant messaging server that does not change with the user, for example, a user-specified default domain instant messaging server, or the domain instant messaging server that the system registers with is set as the default domain.
  • Instant messaging server may also be a domain instant messaging server that changes with the user's usage. For example, the system may periodically re-based the number of logins of the user's instant messaging server in each domain or the online duration of the instant messaging server of each domain. Set the default domain instant messaging server for it.
  • the central server may respond to receiving a login request sent by the user through one of the domain instant messaging servers, updating the information push policy of the user, for example, changing the default domain instant messaging server as described above.
  • the information push policy may be to push information sent to the user to the domain instant messaging server that the user recently logged in.
  • the central server may update the user in the information push policy of the user in response to the change of the domain instant messaging server that receives the user's current login request and the domain instant messaging server from which the last login request was received. Log in to the domain instant messaging server.
  • the domain instant messaging server that the user logs in this time may determine whether the user's current login and the last-time domain instant messaging server change, and if the change occurs, the user sends the current login request. Give the central server so that the central server updates the user's information push policy.
  • the domain instant messaging server that the user logs in this time may directly send the user's current login request to the central server, and the central server determines whether the user's current login and the last registered domain instant messaging server occur. Change, in the case of a change, the central server updates the information push policy of the user.
  • the central server creates or updates an information push policy of a certain user
  • the created or updated information push policy is broadcasted to each domain instant messaging server, so that the domain instant messaging servers can synchronize the users.
  • Information push strategy so that information can be accurately pushed to the target domain instant messaging server.
  • the central server may include a management node and a storage node, wherein the storage node may be a blockchain node, and the blockchain node may store information related to the user, for example, the blockchain node may store each The information push policy corresponding to the user.
  • the storage node may be a blockchain node
  • the blockchain node may store information related to the user, for example, the blockchain node may store each The information push policy corresponding to the user.
  • the central server of the embodiment of the present disclosure can implement a communication connection with a plurality of domain instant messaging servers, so that each domain instant messaging server can send respective corresponding data to the central server, realize data interaction through the central server, and the instant messaging system It is also possible to set an information push policy for each user, and users can implement information interaction between different domain instant messaging servers according to corresponding information push policies, improve communication efficiency between users of different communication applications, and improve user experience. sense.
  • FIG. 3 is a flow chart schematically showing a data processing method in an instant messaging system according to another embodiment of the present invention.
  • an instant messaging system may include a central server and at least two domain instant messaging servers.
  • the central server stores information related to the user, and at least two domain instant messaging servers respectively correspond to at least two instant messaging applications.
  • the domain instant messaging server may be a server or a server cluster that provides services for the corresponding instant messaging application, for example, various background servers or server clusters that provide support for the instant messaging application.
  • the WeChat domain instant messaging server can provide services for WeChat applications
  • the QQ domain instant messaging server can provide services for QQ applications, and so on.
  • the central server is capable of implementing a communication connection with at least two domain instant messaging servers, and the central server may be, for example, at least part of public information of at least two domain instant messaging servers that are connected thereto (eg, related to the user) Information) gateways, routes, and other network nodes.
  • the method includes operations S301 to S302, and the method can be applied to one of the domain instant messaging servers.
  • each domain instant messaging server may store an information push policy of each user to send information sent to the user to the corresponding domain instant messaging server according to the policy.
  • the information push policy of each user may be stored in the central server, and after the policy is initially created or updated, the changed information push policy is broadcasted to each domain instant messaging server, so that the domains are The instant messaging server can synchronously record or update the information push policy of the corresponding user.
  • the information push policy may include: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the domain instant messaging server that the user recently logged into .
  • the default domain instant messaging server corresponding to the user includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user, or setting a default domain instant messaging server for the user according to a predetermined rule.
  • a user can specify a domain instant messaging server that accepts information
  • the information sent to that user will be pushed to the user-specified domain instant messaging server.
  • a default default domain instant messaging server may be set for the user.
  • the default domain instant messaging server may be set according to the domain instant messaging server registered by the user, or the default domain instant messaging server may be set according to the number of logins of the instant messaging server of each domain, or may also be based on The user sets the default domain instant messaging server for the online duration of each domain instant messaging server.
  • the default domain instant messaging server can be a fixed domain instant messaging server that does not change with the user, for example, a user-specified default domain instant messaging server, or the domain instant messaging server that the system registers with is set as the default domain.
  • Instant messaging server may also be a domain instant messaging server that changes with the user's usage. For example, the system may periodically re-based the number of logins of the user's instant messaging server in each domain or the online duration of the instant messaging server of each domain. Set the default domain instant messaging server for it.
  • the information push policy may be to push information sent to the user to the domain instant messaging server that the user recently logged in.
  • the domain instant messaging server may perform: receiving a user login request, determining whether the domain instant messaging server of the user's current login and the domain instant messaging server from which the user last logged in changed, in the user's When the secondary login domain instant messaging server changes from the domain instant messaging server from which it was last logged, the user's login request is sent to the central server.
  • the domain instant messaging server that the user logs in this time determines whether the user's current login and the last login domain instant messaging server change, and in the event of a change, the user logs the current login request to the central server, so that The central server updates the user's information push policy.
  • the embodiment of the present disclosure may also be that when the domain instant messaging server of the user's current login changes with the domain instant messaging server that has logged in from the last time, the domain instant messaging server that is logged in this time updates the name.
  • the user's information push policy sends the updated information push policy to the central server, so that the central server broadcasts the updated information push policy to other domain instant messaging servers.
  • the domain instant messaging server may receive a request for sending information by the user, determine a target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information, and if the target domain instant messaging server of the information is On its own, the information is sent via it. If it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards it to other domain instant messaging servers.
  • the information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
  • the current domain instant messaging server determines the target domain instant messaging server according to the information push policy corresponding to the target user B. (For example, it may be the default domain instant messaging server or the domain instant messaging server that the target user B recently logged in.) If the target domain instant messaging server is its own, the message may be sent through the current domain instant messaging server in the local domain. Otherwise, The current domain instant messaging server sends the message to the central server, which then forwards it to other domain instant messaging servers.
  • each target user of the multiple target users of the information determines the corresponding according to the information pushing policy corresponding to the target user.
  • the target domain instant messaging server if it is itself, sends the information via it; if it is another domain instant messaging server, it forwards the information to the central server, and the central server forwards it to other domain instant messaging servers.
  • the target user is a plurality of users
  • the communication server sends the message.
  • the central server of the embodiment of the present disclosure can implement a communication connection with a plurality of domain instant messaging servers, so that each domain instant messaging server can send respective corresponding data to the central server, realize data interaction through the central server, and the instant messaging system It is also possible to set an information push policy for each user, and users can implement information interaction between different domain instant messaging servers according to corresponding information push policies, improve communication efficiency between users of different communication applications, and improve user experience. sense.
  • the exemplary embodiment of the present invention provides a computer readable storage medium storing computer executable instructions for performing the application to the central server according to any one of the foregoing method embodiments when executed by the processing unit.
  • aspects of the present invention may also be embodied in the form of a program product comprising program code for causing said program product to run on a computing device
  • the computing device performs the data processing method in the instant messaging system applied to the central server or the instant messaging system applied to the domain instant messaging server according to various exemplary embodiments of the present invention described in the "Exemplary Method" section of the present specification described above. Steps in the data processing method, for example, the computing device may perform operation S201 as shown in FIG.
  • Operation S202 Broadcasting an information push policy of the created or updated user to at least one of the at least two domain instant messaging servers, or performing operation S301 shown in FIG. 3: receiving information of the user broadcasted by the central server Push policy; operation S302: responding to receipt through the center
  • the information push policy of the user broadcasted by the server records or updates the information push policy corresponding to the user.
  • the program product can employ any combination of one or more readable media.
  • the readable medium can be a readable signal medium or a readable storage medium.
  • the readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a program product 400 for a data processing method in an instant messaging system is described, which may employ a portable compact disk read only memory (CD-ROM) and includes program code, and It can be run on a computing device, such as a personal computer.
  • CD-ROM portable compact disk read only memory
  • the program product of the present invention is not limited thereto, and in the present document, the readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus or device.
  • the readable signal medium can include a data signal that is propagated in the baseband or as part of a carrier, carrying readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium can be transmitted by any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language, such as Java, C++, etc., including conventional procedures. Programming language - such as "C", language or similar programming language.
  • the program code may execute entirely on the user computing device, partially on the user device, or on the remote computing device or server.
  • the remote computing device can be connected to the user computing device via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computing device (eg, utilizing Internet services) The provider is connected via the Internet).
  • FIG. 5 schematically shows a block diagram of a data processing apparatus 500 in an instant messaging system in accordance with an embodiment of the present invention.
  • an instant messaging system includes a central server and at least two domain instant messaging servers, the central server stores information related to the user, and the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications.
  • the data processing device 500 can be applied to a central server.
  • the data processing apparatus 500 in the instant messaging system includes a create update module 510, and a broadcast module 520.
  • the creation update module 510 creates or updates an information push policy of the user corresponding to the request in response to a request of one of the domain instant messaging servers.
  • the broadcast module 520 broadcasts the information push policy of the created or updated user to at least one of the at least two domain instant messaging servers.
  • creating or updating an information push policy of the user corresponding to the request includes: in response to receiving a registration request sent by the user through one of the domain instant messaging servers, The user creates an information push policy.
  • the information push policy includes: pushing the information sent to the user to the default domain instant messaging server corresponding to the user, and/or pushing the information sent to the user to the domain instant messaging server that the user recently logged in.
  • the default domain instant messaging server corresponding to the user includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user; or setting a default domain instant messaging server for the user according to a predetermined rule. .
  • setting a default domain instant messaging server for a user according to a predetermined rule includes: setting a default domain instant messaging server according to a domain instant messaging server registered by the user; or logging in according to the user's instant messaging server in each domain Set the default domain instant messaging server for the number of times; or set the default domain instant messaging server for the online duration of the user's instant messaging server.
  • creating or updating an information push policy of a user corresponding to the request includes: updating the information push in response to receiving a login request sent by the user through one of the domain instant messaging servers Strategy.
  • updating the information push policy in response to receiving a login request sent by the user through one of the domain instant messaging servers, updating the information push policy includes: responding to the domain instant messaging server receiving the user's current login request and receiving therefrom In the case where the domain instant messaging server of the secondary login request changes, the domain instant messaging server that the user recently logged in in the information push policy is updated.
  • the data processing apparatus 500 may perform the method described above with reference to FIG. 2, for example, and details are not described herein again.
  • FIG. 6 schematically shows a block diagram of a data processing apparatus 600 in an instant messaging system in accordance with another embodiment of the present invention.
  • an instant messaging system includes a central server and at least two domain instant messaging servers, the central server stores information related to the user, and the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications.
  • the data processing device 600 can be applied to one of the domain instant messaging servers.
  • the data processing apparatus 600 in the instant messaging system includes a record update module 610.
  • the record update module 610 records or updates the information push policy corresponding to the user in response to receiving the information push policy of the user broadcasted by the center server.
  • the information push policy includes: pushing the information sent to the user to the default domain instant messaging server corresponding to the user, and/or pushing the information sent to the user to the domain instant messaging server that the user recently logged in.
  • the data processing apparatus 600 may further include a first receiving module 620, a determining module 630, and a first sending module 640.
  • the first receiving module 620 receives a request for the user to send information.
  • the determining module 630 determines the target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information.
  • the first sending module 640 sends the information to the central server if the target domain instant messaging server of the information is itself, and if it is another domain instant messaging server, forwards the information to the central server, and the central server forwards the instant messaging to other domains. server.
  • the information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
  • each target user of the plurality of target users for the information determines a corresponding target according to the information push policy corresponding to the target user.
  • the domain instant messaging server if it is itself, sends the information via it; if it is another domain instant messaging server, it forwards the information to the central server, which forwards it to other domain instant messaging servers.
  • the data processing apparatus 600 may further include a second receiving module 650, a determining module 660, and a second sending module 670.
  • the second receiving module 650 receives the user login request.
  • the determining module 660 determines whether the domain instant messaging server of the user's current login and the domain instant messaging server from which it was last logged changed.
  • the second sending module 670 sends the login request of the user to the central server when the domain instant messaging server of the current login of the user changes from the domain instant messaging server that was last logged in.
  • the data processing apparatus 600 may perform the method described above with reference to FIG. 3, for example, and details are not described herein again.
  • Any of a plurality of modules, sub-modules, units, sub-units, or at least some of the functions of any one of the plurality of modules, sub-modules, or any of the plurality of functions according to an embodiment of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to an embodiment of the present disclosure may be implemented by being split into a plurality of modules.
  • any one or more of the modules, sub-modules, units, sub-units in accordance with embodiments of the present disclosure may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), System-on-a-chip, system on a substrate, system on a package, an application specific integrated circuit (ASIC), or any other reasonable means of hardware or firmware that integrates or encapsulates the circuit, or in software, hardware, and firmware. Any one of the implementations or in any suitable combination of any of them.
  • FPGA Field Programmable Gate Array
  • PLA Programmable Logic Array
  • ASIC application specific integrated circuit
  • one or more of the modules, sub-modules, units, sub-units in accordance with embodiments of the present disclosure may be implemented at least in part as a computer program module that, when executed, can perform the corresponding functions.
  • FIG. 1 A data processing method in the system or a data processing method in an instant messaging system applied to a domain instant messaging server.
  • a computing device in accordance with the present invention can include at least one processing unit and at least one memory unit.
  • the storage unit stores program code, when the program code is executed by the processing unit, causing the processing unit to perform various exemplary implementations according to the present invention described in the "Exemplary Method" section of the present specification.
  • the processing unit may perform operation S201 as shown in FIG.
  • operation S202 in response to a request of one of the domain instant messaging servers, creating or updating an information push policy of the user corresponding to the request; operation S202: to at least two domains At least one domain instant messaging server in the instant messaging server broadcasts the information push policy of the created or updated user, or performs operation S301 as shown in FIG. 3: receiving an information push policy of the user broadcasted by the central server; operation S302: responding to Receiving the information push policy of the user broadcasted by the central server, recording or updating the information push policy corresponding to the user.
  • a computing device 700 in accordance with such an embodiment of the present invention is described below with reference to FIG. 7 with reference to FIG. 7 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computing device 700 is embodied in the form of a general purpose computing device.
  • Components of computing device 700 may include, but are not limited to, at least one processing unit 710, at least one storage unit 720, and a bus 730 that connects different system components, including storage unit 720 and processing unit 710.
  • the bus 730 includes a data bus, a control bus, an address bus, and the like.
  • the storage unit 720 can include volatile memory, such as random access memory (RAM) 721 and/or cache memory 722, and can further include read only memory (ROM) 723.
  • RAM random access memory
  • ROM read only memory
  • the storage unit 720 can also include a program/utility 725 having a set (at least one) of the program modules 724, including but not limited to: an operating system, one or more applications, other program modules, and program data, Implementations of the network environment may be included in each or some of these examples.
  • a program/utility 725 having a set (at least one) of the program modules 724, including but not limited to: an operating system, one or more applications, other program modules, and program data, Implementations of the network environment may be included in each or some of these examples.
  • Computing device 700 can also communicate with one or more external devices 740 (eg, a keyboard, pointing device, Bluetooth device, etc.) that can be communicated through an input/output (I/O) interface 750.
  • computing device 700 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 760.
  • networks e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • network adapter 760 communicates with other modules of computing device 700 via bus 730.
  • other hardware and/or software modules may be utilized in conjunction with computing device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives. And data backup storage systems, etc.

Abstract

The present invention provides a data processing method in an instant messaging system. The instant messaging system comprises a central server and at least two domain instant messaging servers, the central server storing information related to a user, and said at least two domain instant messaging servers respectively corresponding to at least two instant messaging applications. Said method is applied to the central server, and comprises: in response to a request from a domain instant messaging server, creating or updating an information push policy of a user corresponding to the request; and broadcasting the created or updated information push policy of the user to at least one of said at least two domain instant messaging servers. In the method, a central node can implement a communication connection with a plurality of domain instant messaging servers, and an information push policy is set for each user, so that users can interact with one another by means of different domain instant messaging servers, improving communication efficiency between users of different communication applications, and improving user experience.

Description

即时通讯系统中的数据处理方法、装置、介质和计算设备Data processing method, device, medium and computing device in instant messaging system 技术领域Technical field
本发明的实施方式涉及即时通讯技术领域,更具体地,本发明的实施方式涉及一种即时通讯系统中的数据处理方法、装置、介质和计算设备。Embodiments of the present invention relate to the field of instant messaging technologies, and more particularly, embodiments of the present invention relate to a data processing method, apparatus, medium, and computing device in an instant messaging system.
背景技术Background technique
本部分旨在为权利要求书中陈述的本发明的实施方式提供背景或上下文。此处的描述不因为包括在本部分中就承认是现有技术。This section is intended to provide a background or context for the embodiments of the invention set forth in the claims. The description herein is not admitted to be prior art as it is included in this section.
随着科学技术的快速发展,各种即时通讯应用越来越多地应用于生活、工作等方方面面。通常情况下,各个即时通讯应用具有各自的通讯服务器为其提供服务,例如,微信应用具有微信后台服务器为其提供服务,QQ应用具有QQ后台服务器为其提供服务。然而,使用不同的即使通讯应用的用户之间不能相互通讯,用户双方为了能够通过即时通讯应用实现交互,不得不下载并使用相同的即使通讯应用,极其不便,使得用户体验感较差。With the rapid development of science and technology, various instant messaging applications are increasingly used in all aspects of life and work. Generally, each instant messaging application has its own communication server to provide services for it. For example, the WeChat application has a WeChat background server to provide services for it, and the QQ application has a QQ background server to provide services for it. However, users who use different communication applications cannot communicate with each other. In order to be able to interact with an instant messaging application, both users have to download and use the same even communication application, which is extremely inconvenient and makes the user experience worse.
发明内容Summary of the invention
可见,现有技术中的不同即时通讯应用之间不能实现交互,不便于用户之间的通讯效率,为用户使用带来不便。It can be seen that different instant messaging applications in the prior art cannot implement interaction between each other, which is inconvenient for communication efficiency between users and brings inconvenience to users.
为此,非常需要一种改进的即时通讯系统,该系统中包括多个即时通讯应用对应的域即时通讯服务器,各个域即时通讯服务器之间可以通过中心服务器进行信息交互,用户之间可以根据相应的信息推送策略实现不同域即时通讯服务器之间的信息交互,提高了用户体验。To this end, there is a great need for an improved instant messaging system, which includes a plurality of instant messaging servers corresponding to the instant messaging application, and each domain instant messaging server can exchange information through the central server, and the users can accordingly The information push strategy implements information interaction between different domain instant messaging servers, improving the user experience.
在本上下文中,本发明的实施方式期望提供一种即时通讯系统中的数据处理方法、装置、介质和计算设备。In this context, embodiments of the present invention are directed to a data processing method, apparatus, medium, and computing device in an instant messaging system.
在本发明实施方式的第一方面中,提供了一种即时通讯系统中的数据处理方法,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述方法应用于所述中心服务器中,该方法包括:响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,以及向所述至少两个域即时通讯服务器中至少一个域即时通讯服务器广播所述创建或者更新的用户的信息推送策略。In a first aspect of the embodiments of the present invention, a data processing method in an instant messaging system is provided, the instant messaging system including a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the method being applied to the central server, the method comprising: creating or updating in response to a request of one of the domain instant messaging servers And the information pushing policy of the user corresponding to the request, and broadcasting the information pushing policy of the created or updated user to at least one domain instant messaging server of the at least two domain instant messaging servers.
在本发明的一个实施例中,上述响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:响应于接收到用户通过其中一个域即时通讯 服务器发送的注册请求,为所述用户创建信息推送策略。In an embodiment of the present invention, the information pushing policy of the user corresponding to the request is created or updated in response to the request of one of the domain instant messaging servers, including: in response to receiving the user sending through one of the domain instant messaging servers Registration request to create an information push policy for the user.
在本发明的一个实施例中,上述信息推送策略包括:将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器,和/或将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。In an embodiment of the present invention, the information push policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
在本发明的一个实施例中,上述用户对应的默认域即时通讯服务器,包括:所述中心服务器根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器,或者所述中心服务器根据预定规则为所述用户设定默认域即时通讯服务器。In an embodiment of the present invention, the default domain instant messaging server corresponding to the user includes: the central server sets a default domain instant messaging server according to the received domain instant messaging server specified by the user, or the central server is configured according to The predetermined rule sets the default domain instant messaging server for the user.
在本发明的一个实施例中,上述中心服务器根据预定规则为所述用户设定默认域即时通讯服务器,包括:所述中心服务器根据所述用户注册的域即时通讯服务器为其设定默认域即时通讯服务器,或者所述中心服务器根据所述用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器,或者所述中心服务器根据所述用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。In an embodiment of the present invention, the central server sets a default domain instant messaging server for the user according to a predetermined rule, including: the central server sets a default domain instant according to the domain instant messaging server registered by the user. The communication server, or the central server, sets a default domain instant messaging server according to the number of logins of the user in each domain instant messaging server, or the central server according to the online duration of the user in each domain instant messaging server is It sets the default domain instant messaging server.
在本发明的一个实施例中,上述响应于所述域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新是所述信息推送策略。In an embodiment of the present invention, the information pushing policy of the user corresponding to the request is created or updated in response to the request of the domain instant messaging server, including: in response to receiving the user sending through one of the domain instant messaging servers The login request, the update is the information push policy.
在本发明的一个实施例中,上述响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新是所述信息推送策略,包括:响应于其接收所述用户的本次登录请求的域即时通讯服务器与从其接收上次登录请求的域即时通讯服务器发生变化的情况下,更新所述信息推送策略中的用户最近登录的域即时通讯服务器。In an embodiment of the present invention, in response to receiving the login request sent by the user through one of the domain instant messaging servers, the update is the information push policy, including: in response to receiving the current login request of the user When the domain instant messaging server changes from the domain instant messaging server from which the last login request was received, the domain instant messaging server that the user in the information push policy recently logged in is updated.
在本发明的一个实施例中,上述中心服务器包括管理节点和存储节点。In one embodiment of the invention, the central server includes a management node and a storage node.
在本发明的一个实施例中,上述存储节点包括区块链节点,所述区块链节点中存储所述与用户相关的信息。In an embodiment of the invention, the storage node includes a blockchain node, and the blockchain node stores the information related to the user.
在本发明实施方式的第二方面中,提供了一种即时通讯系统中的数据处理方法,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述方法应用于其中一个域即时通讯服务器中,该方法包括:响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新所述用户对应的信息推送策略。In a second aspect of the embodiments of the present invention, a data processing method in an instant messaging system is provided, the instant messaging system including a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the method being applied to one of the domain instant messaging servers, the method comprising: responding to receiving information of a user broadcasted through the central server Push the policy, record or update the information push policy corresponding to the user.
在本发明的一个实施例中,上述信息推送策略包括:将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器,和/或将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。In an embodiment of the present invention, the information push policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
在本发明的一个实施例中,上述方法还包括:接收用户发送信息的请求,根据所述信息 的目标用户对应的信息推送策略,确定所述信息的目标域即时通讯服务器,若所述信息的目标域即时通讯服务器为其本身,则所述信息经由其发送,若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。In an embodiment of the present invention, the method further includes: receiving a request for sending information by the user, determining a target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information, if the information is The target domain instant messaging server is itself, and the information is sent via it. If it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards it to other domain instant messaging servers.
在本发明的一个实施例中,上述信息包括以下任意一种或多种:普通通讯信息、社交圈动态通知信息或群组信息。In an embodiment of the present invention, the foregoing information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
在本发明的一个实施例中,在所述信息包括社交圈动态通知信息或群组信息的情况下,针对所述信息的多个目标用户的每个目标用户,根据该目标用户对应的信息推送策略,确定相应的目标域即时通讯服务器,若为其本身,则所述信息经由其发送,若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。In an embodiment of the present invention, in a case where the information includes social circle dynamic notification information or group information, each target user of the plurality of target users for the information is pushed according to information corresponding to the target user. The policy determines the corresponding target domain instant messaging server, if it is itself, the information is sent through it, and if it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards Give other domain instant messaging servers.
在本发明的一个实施例中,上述方法还包括:接收用户登录请求,判断所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器是否发生变化,在所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,将所述用户的登录请求发送至中心服务器。In an embodiment of the present invention, the method further includes: receiving a user login request, determining whether the domain instant messaging server of the current login of the user and the domain instant messaging server that has logged in from the last time change, When the user's current domain instant messaging server is logged in and the domain instant messaging server that was last logged in, the user's login request is sent to the central server.
在本发明实施方式的第三方面中,提供了一种即时通讯系统中的数据处理装置,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述装置应用于所述中心服务器中,该装置包括创建更新模块和广播模块。其中,创建更新模块响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略。广播模块向所述至少两个域即时通讯服务器中至少一个域即时通讯服务器广播所述创建或者更新的用户的信息推送策略。In a third aspect of the embodiments of the present invention, there is provided a data processing apparatus in an instant messaging system, the instant messaging system comprising a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the device being applied to the central server, the device comprising an creating update module and a broadcast module. The creation update module creates or updates an information push policy of the user corresponding to the request in response to a request of one of the domain instant messaging servers. The broadcast module broadcasts the information push policy of the created or updated user to at least one of the at least two domain instant messaging servers.
在本发明的一个实施例中,上述响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:响应于接收到用户通过其中一个域即时通讯服务器发送的注册请求,为所述用户创建信息推送策略。In an embodiment of the present invention, the information pushing policy of the user corresponding to the request is created or updated in response to the request of one of the domain instant messaging servers, including: in response to receiving the user sending through one of the domain instant messaging servers Registration request to create an information push policy for the user.
在本发明的一个实施例中,上述信息推送策略包括:将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器;和/或将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。In an embodiment of the present invention, the information pushing policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
在本发明的一个实施例中,上述用户对应的默认域即时通讯服务器,包括:根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器;或者根据预定规则为所述用户设定默认域即时通讯服务器。In an embodiment of the present invention, the default domain instant messaging server corresponding to the user includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user; or setting the user according to a predetermined rule. The default domain instant messaging server.
在本发明的一个实施例中,上述根据预定规则为所述用户设定默认域即时通讯服务器, 包括:根据所述用户注册的域即时通讯服务器为其设定默认域即时通讯服务器;或者根据所述用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器;或者根据所述用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。In an embodiment of the present invention, the setting a default domain instant messaging server for the user according to a predetermined rule includes: setting a default domain instant messaging server according to the domain instant messaging server registered by the user; or The user sets the default domain instant messaging server for the number of logins of the instant messaging server of each domain; or sets the default domain instant messaging server according to the online duration of the instant messaging server of each domain.
在本发明的一个实施例中,上述响应于所述域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新是所述信息推送策略。In an embodiment of the present invention, the information pushing policy of the user corresponding to the request is created or updated in response to the request of the domain instant messaging server, including: in response to receiving the user sending through one of the domain instant messaging servers The login request, the update is the information push policy.
在本发明的一个实施例中,上述响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新是所述信息推送策略,包括:响应于其接收所述用户的本次登录请求的域即时通讯服务器与从其接收上次登录请求的域即时通讯服务器发生变化的情况下,更新所述信息推送策略中的用户最近登录的域即时通讯服务器。In an embodiment of the present invention, in response to receiving the login request sent by the user through one of the domain instant messaging servers, the update is the information push policy, including: in response to receiving the current login request of the user When the domain instant messaging server changes from the domain instant messaging server from which the last login request was received, the domain instant messaging server that the user in the information push policy recently logged in is updated.
在本发明实施方式的第四方面中,提供了一种即时通讯系统中的数据处理装置,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述装置应用于其中一个域即时通讯服务器中,该装置包括:记录更新模块,响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新所述用户对应的信息推送策略。In a fourth aspect of the embodiments of the present invention, there is provided a data processing apparatus in an instant messaging system, the instant messaging system comprising a central server and at least two domain instant messaging servers, the central server storing user-related Information, the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications, the device being applied to one of the domain instant messaging servers, the device comprising: a record updating module, responsive to receiving the broadcast through the central server The user's information push policy records or updates the information push policy corresponding to the user.
在本发明的一个实施例中,上述信息推送策略包括:将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器;和/或将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。In an embodiment of the present invention, the information pushing policy includes: pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or pushing information sent to the user to the The domain instant messaging server that the user recently logged into.
在本发明的一个实施例中,上述装置还包括第一接收模块、确定模块和第一发送模块。其中,第一接收模块接收用户发送信息的请求。确定模块根据所述信息的目标用户对应的信息推送策略,确定所述信息的目标域即时通讯服务器。第一发送模块若所述信息的目标域即时通讯服务器为其本身,则所述信息经由其发送,若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。In an embodiment of the present invention, the apparatus further includes a first receiving module, a determining module, and a first sending module. The first receiving module receives a request for the user to send information. The determining module determines the target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information. The first sending module sends the information via the target domain instant messaging server of the information if it is itself, and if it is another domain instant messaging server, forwards the information to the central server, by the center The server forwards it to other domain instant messaging servers.
在本发明的一个实施例中,上述信息包括以下任意一种或多种:普通通讯信息、社交圈动态通知信息或群组信息。In an embodiment of the present invention, the foregoing information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
在本发明的一个实施例中,上述信息包括社交圈动态通知信息或群组信息的情况下,针对所述信息的多个目标用户的每个目标用户,根据该目标用户对应的信息推送策略,确定相应的目标域即时通讯服务器,若为其本身,则所述信息经由其发送;若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。In an embodiment of the present invention, in the case that the information includes social circle dynamic notification information or group information, each target user of the plurality of target users for the information is pushed according to the information corresponding to the target user. Determining a corresponding target domain instant messaging server, if it is itself, the information is sent; if it is another domain instant messaging server, forwarding the information to the central server, and forwarding the information to the other server Domain instant messaging server.
在本发明的一个实施例中,上述装置还包括第二接收模块、判断模块和第二发送模块。 其中,第二接收模块接收用户登录请求。判断模块判断所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器是否发生变化。第二发送模块在所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,将所述用户的登录请求发送至中心服务器。In an embodiment of the present invention, the apparatus further includes a second receiving module, a determining module, and a second sending module. The second receiving module receives the user login request. The judging module judges whether the domain instant messaging server of the current login of the user and the domain instant messaging server that has logged in from the last time change. The second sending module sends the login request of the user to the central server in a case where the domain instant messaging server of the current login of the user changes from the domain instant messaging server that has logged in from the last time.
在本发明实施方式的第五方面中,提供了一种计算设备,包括:处理单元;以及存储单元,其上存储有可执行指令,所述指令被所述处理单元执行时使所述处理单元执行如上述的任一方法。In a fifth aspect of the embodiments of the present invention, a computing device is provided, comprising: a processing unit; and a storage unit having stored thereon an executable instruction, the instruction being executed by the processing unit to cause the processing unit Perform any of the methods described above.
在本发明实施方式的第六方面中,提供了一种计算机可读存储介质,其上存储有可执行指令,所述指令被处理单元执行时使所述处理单元执行如上所述的任一方法。In a sixth aspect of the embodiments of the present invention, there is provided a computer readable storage medium having stored thereon executable instructions that, when executed by a processing unit, cause the processing unit to perform any of the methods described above .
根据本发明实施方式的即时通讯系统中的数据处理方法,通过中心服务器与多个域即时通讯服务器之间的通讯连接,使得多个域即时通讯服务器可以通过中心服务器交互各个用户的相关信息。该方法为每个用户设定相应的信息推送策略,使得用户之间可以根据相应的信息推送策略实现不同域即时通讯服务器之间的信息交互,提高了不同通讯应用的用户的之间通讯效率,提高了用户体验感。According to the data processing method in the instant messaging system according to the embodiment of the present invention, the communication connection between the central server and the plurality of domain instant messaging servers enables the plurality of domain instant messaging servers to exchange related information of the respective users through the central server. The method sets a corresponding information push strategy for each user, so that users can implement information interaction between different domain instant messaging servers according to corresponding information push policies, and improve communication efficiency between users of different communication applications. Improve the user experience.
附图说明DRAWINGS
通过参考附图阅读下文的详细描述,本发明示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本发明的若干实施方式,其中:The above and other objects, features and advantages of the exemplary embodiments of the present invention will become < In the drawings, several embodiments of the invention are shown in the
图1示意性地示出了根据本发明实施例的应用场景;FIG. 1 schematically shows an application scenario according to an embodiment of the present invention; FIG.
图2示意性地示出了根据本发明实施方式的即时通讯系统中的数据处理方法的流程图;2 is a flow chart schematically showing a data processing method in an instant messaging system according to an embodiment of the present invention;
图3示意性地示出了根据本发明另一实施方式的即时通讯系统中的数据处理方法的流程图;3 is a flow chart schematically showing a data processing method in an instant messaging system according to another embodiment of the present invention;
图4示意性地示出了根据本发明实施例的可读存储介质的示意图;FIG. 4 schematically shows a schematic diagram of a readable storage medium in accordance with an embodiment of the present invention; FIG.
图5示意性地示出了根据本发明实施方式的即时通讯系统中的数据处理装置的框图;FIG. 5 is a block diagram schematically showing a data processing apparatus in an instant messaging system according to an embodiment of the present invention; FIG.
图6示意性地示出了根据本发明另一实施方式的即时通讯系统中的数据处理装置的框图;以及6 is a block diagram schematically showing a data processing apparatus in an instant messaging system according to another embodiment of the present invention;
图7示意性地示出了根据本发明实施例的适于实现即时通讯系统中的数据处理方法的计算设备。FIG. 7 schematically illustrates a computing device adapted to implement a data processing method in an instant messaging system in accordance with an embodiment of the present invention.
在附图中,相同或对应的标号表示相同或对应的部分。In the figures, the same or corresponding reference numerals indicate the same or corresponding parts.
具体实施方式detailed description
下面将参考若干示例性实施方式来描述本发明的原理和精神。应当理解,给出这些实施方式仅仅是为了使本领域技术人员能够更好地理解进而实现本发明,而并非以任何方式限制本发明的范围。相反,提供这些实施方式是为了使本公开更加透彻和完整,并且能够将本公开的范围完整地传达给本领域的技术人员。The principles and spirit of the present invention are described below with reference to a few exemplary embodiments. It is to be understood that the embodiments are presented only to enable those skilled in the art to understand the invention. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
本领域技术人员知道,本发明的实施方式可以实现为一种系统、装置、设备、方法或计算机程序产品。因此,本公开可以具体实现为以下形式,即:完全的硬件、完全的软件(包括固件、驻留软件、微代码等),或者硬件和软件结合的形式。Those skilled in the art will appreciate that embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of full hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
根据本发明的实施方式,提出了一种即时通讯系统中的数据处理方法、装置、介质和计算设备。According to an embodiment of the present invention, a data processing method, apparatus, medium, and computing device in an instant messaging system are proposed.
在本文中,需要理解的是,附图中的任何元素数量均用于示例而非限制,以及任何命名都仅用于区分,而不具有任何限制含义。In this context, it is to be understood that any number of elements in the figures are used for the purposes of illustration and not limitation, and any no
下面参考本发明的若干代表性实施方式,详细阐释本发明的原理和精神。The principles and spirit of the present invention are explained in detail below with reference to a few representative embodiments of the invention.
发明概述Summary of invention
本发明人发现,为了使得不同的通讯应用之间能够实现即时通讯,可以构建即时通讯系统,即时通讯系统可以包括中心服务器以及多个域即时通讯服务器,该中心服务器能够与多个域即时通讯服务器实现通讯连接,从而各个域即时通讯服务器可以将各自的相应的数据发送至中心服务器,通过中心服务器实现数据的交互,并且该即时通讯系统还可以为每个用户设置信息推送策略,用户之间可以根据相应的信息推送策略实现不同域即时通讯服务器之间的信息交互,提高了不同通讯应用的用户的之间通讯效率,提高了用户体验感。The inventors have found that in order to enable instant communication between different communication applications, an instant messaging system can be constructed. The instant messaging system can include a central server and a plurality of domain instant messaging servers, and the central server can be combined with multiple domain instant messaging servers. The communication connection is realized, so that each domain instant messaging server can send the corresponding data to the central server, realize the data interaction through the central server, and the instant messaging system can also set the information pushing policy for each user, and the user can According to the corresponding information push strategy, information interaction between different domain instant messaging servers is realized, the communication efficiency between users of different communication applications is improved, and the user experience is improved.
在介绍了本发明的基本原理之后,下面具体介绍本发明的各种非限制性实施方式。Having described the basic principles of the invention, various non-limiting embodiments of the invention are described in detail below.
应用场景总览Application scenario overview
首先参考图1,图1示意性地示出了根据本发明实施例的应用场景。Referring first to Figure 1, Figure 1 schematically illustrates an application scenario in accordance with an embodiment of the present invention.
如图1所示,该应用场景包括即时通讯系统100,即时通讯系统100可以包括中心服务器110、第一域即时通讯服务器120以及第二域即时通讯服务器130。As shown in FIG. 1, the application scenario includes an instant messaging system 100. The instant messaging system 100 can include a central server 110, a first domain instant messaging server 120, and a second domain instant messaging server 130.
根据本公开实施例,中心服务器110能够与第一域即时通讯服务器120以及第二域即时通讯服务器130实现通讯连接,例如可以是有线、无线通讯链路等等。According to an embodiment of the present disclosure, the central server 110 can implement a communication connection with the first domain instant messaging server 120 and the second domain instant messaging server 130, such as a wired, wireless communication link, and the like.
在本公开实施例中,第一域即时通讯服务器120以及第二域即时通讯服务器130可以是为对应的即时通讯应用提供服务的服务器或者服务器集群。例如,可以是对即时通讯应用提 供支持的各种后台服务器或者服务器集群。例如,第一域即时通讯服务器120可以为微信应用提供服务,第二域即时通讯服务器120可以为QQ应用提供服务等等。In the embodiment of the present disclosure, the first domain instant messaging server 120 and the second domain instant messaging server 130 may be servers or server clusters that provide services for corresponding instant messaging applications. For example, it can be a variety of backend servers or server clusters that support instant messaging applications. For example, the first domain instant messaging server 120 can provide services for the WeChat application, the second domain instant messaging server 120 can provide services for the QQ application, and the like.
在本公开实施例中,中心服务器110例如可以是网关节点、路由节点、管理平台或其他存储有其连接的域即时通讯服务器的至少部分公共信息的各类设备。In an embodiment of the present disclosure, the central server 110 may be, for example, a gateway node, a routing node, a management platform, or other types of devices that store at least a portion of the public information of the domain instant messaging server to which it is connected.
根据本公开实施例,用户A通过第一即时通讯应用发送信息给用户B时,第一域即时通讯服务器120可以根据用户B对应的信息推送策略确定该信息发送的目标域即时通讯服务器,若目标域即时通讯服务器是第一域即时通讯服务器120,则该信息可以经由第一域即时通讯服务器120发送给用户B,否则,第一域即时通讯服务器120将该信息转发给中心服务器110,由中心服务器110转发给相应的目标域即时通讯服务器。According to an embodiment of the present disclosure, when the user A sends the information to the user B through the first instant messaging application, the first domain instant messaging server 120 may determine the target domain instant messaging server according to the information push policy corresponding to the user B, if the target The domain instant messaging server is the first domain instant messaging server 120, and the information can be sent to the user B via the first domain instant messaging server 120. Otherwise, the first domain instant messaging server 120 forwards the information to the central server 110. The server 110 forwards to the corresponding target domain instant messaging server.
根据本公开实施例,即时通讯系统100可以为每个用户设定相应的信息推送策略,例如,可以是将发送给该用户的信息推送至该用户对应的默认域即时通讯服务器,也可以是将发送给该用户的信息推送至该用户最近登录的域即时通讯服务器等。即时通讯系统100可以根据各用户的信息推送策略实现用户之间的信息交互,从而提高了不同通讯应用的用户的之间通讯效率,提高了用户体验感。According to an embodiment of the present disclosure, the instant messaging system 100 may set a corresponding information push policy for each user. For example, the information sent to the user may be pushed to the default domain instant messaging server corresponding to the user, or may be The information sent to the user is pushed to the domain instant messaging server that the user recently logged in. The instant messaging system 100 can implement information interaction between users according to the information push policy of each user, thereby improving the communication efficiency between users of different communication applications and improving the user experience.
示例性方法Exemplary method
下面结合图1的应用场景,参考图2~图3来描述根据本发明示例性实施方式的即时通讯系统中的数据处理方法。需要注意的是,上述应用场景仅是为了便于理解本发明的精神和原理而示出,本发明的实施方式在此方面不受任何限制。相反,本发明的实施方式可以应用于适用的任何场景。The data processing method in the instant messaging system according to an exemplary embodiment of the present invention will be described below with reference to FIG. 2 to FIG. 3 in conjunction with the application scenario of FIG. 1. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present invention, and embodiments of the present invention are not limited in this respect. Rather, embodiments of the invention may be applied to any scenario that is applicable.
图2示意性地示出了根据本发明实施方式的即时通讯系统中的数据处理方法的流程图。2 is a flow chart schematically showing a data processing method in an instant messaging system according to an embodiment of the present invention.
根据本公开实施例,即时通讯系统可以包括中心服务器和至少两个域即时通讯服务器。其中,中心服务器存储与用户相关的信息,至少两个域即时通讯服务器分别对应于至少两种即时通讯应用。According to an embodiment of the present disclosure, an instant messaging system may include a central server and at least two domain instant messaging servers. The central server stores information related to the user, and at least two domain instant messaging servers respectively correspond to at least two instant messaging applications.
在本公开实施例中,域即时通讯服务器可以是为对应的即时通讯应用提供服务的服务器或者服务器集群,例如,可以是对即时通讯应用提供支持的各种后台服务器或者服务器集群。例如,微信域即时通讯服务器可以为微信应用提供服务,QQ域即时通讯服务器可以为QQ应用提供服务等等。In the embodiment of the present disclosure, the domain instant messaging server may be a server or a server cluster that provides services for the corresponding instant messaging application, for example, various background servers or server clusters that provide support for the instant messaging application. For example, the WeChat domain instant messaging server can provide services for WeChat applications, the QQ domain instant messaging server can provide services for QQ applications, and so on.
在本公开实施例中,中心服务器能够与至少两个域即时通讯服务器实现通讯连接,中心服务器例如可以是存储有其连接的至少两个域即时通讯服务器的至少部分公共信息(例如,与用户相关的信息)的网关、路由等各种网络节点。In an embodiment of the present disclosure, the central server is capable of implementing a communication connection with at least two domain instant messaging servers, and the central server may be, for example, at least part of public information of at least two domain instant messaging servers that are connected thereto (eg, related to the user) Information) gateways, routes, and other network nodes.
具体地,如图2所示,该方法包括操作S201~S202,该方法可以应用于中心服务器中。Specifically, as shown in FIG. 2, the method includes operations S201 to S202, and the method can be applied to a central server.
在操作S201,响应于其中一个域即时通讯服务器的请求,创建或者更新该请求对应的用户的信息推送策略。In operation S201, in response to a request of one of the domain instant messaging servers, an information push policy of the user corresponding to the request is created or updated.
在操作S202,向至少两个域即时通讯服务器中的至少一个域即时通讯服务器广播创建或者更新的用户的信息推送策略。In operation S202, the information push policy of the created or updated user is broadcast to at least one of the at least two domain instant messaging servers.
根据本公开实施例,即时通讯系统可以在用户注册时为该名用户创建信息推送策略,该策略可以规定发送给该用户的信息应该推送至哪个域即时通讯服务器。随着用户使用情况的变化,即时通讯系统还可以相应的更新该名用户的信息推送策略,使该策略中规定的推送的域即时通讯服务器更加符合用户使用习惯,提高用户体验感。According to an embodiment of the present disclosure, the instant messaging system can create an information push policy for the user when the user registers, which can specify to which domain instant messaging server the information sent to the user should be pushed. As the user's usage changes, the instant messaging system can also update the information push policy of the user accordingly, so that the pushed domain instant messaging server specified in the policy is more in line with the user's usage habits and improves the user experience.
根据本公开实施例,中心服务器中可以存储有各个用户对应的信息推送策略,同时可以将其存储的信息推送策略同步到各域即时通讯服务器中,使得各域即时通讯服务器中也可以存储有各用户对应的信息推送策略,以便在用户发送信息时可以根据相应的信息推送策略将信息准确地发送给目标域即时通讯服务器。According to an embodiment of the present disclosure, an information push policy corresponding to each user may be stored in the central server, and the stored information push policy may be synchronized to each domain instant messaging server, so that each domain instant messaging server may also store each The information push policy corresponding to the user, so that when the user sends the information, the information can be accurately sent to the target domain instant messaging server according to the corresponding information push policy.
在本公开实施例中,中心服务器可以响应于接收到用户通过其中一个域即时通讯服务器发送的注册请求,为该用户创建信息推送策略。In an embodiment of the present disclosure, the central server may create an information push policy for the user in response to receiving a registration request sent by the user through one of the domain instant messaging servers.
例如,用户通过域即时通讯服务器A进行注册,则域即时通讯服务器A可以将该用户的注册请求发送给中心服务器,由中心服务器执行相应注册处理,并记录该用户的相关信息,同时为该用户创建信息推送策略。For example, if the user registers with the domain instant messaging server A, the domain instant messaging server A can send the registration request of the user to the central server, and the central server performs corresponding registration processing, and records related information of the user, and is also the user. Create an information push policy.
或者本公开实施例也可以是接收到用户注册请求的域即时通讯服务器为该名创建信息推送策略,并将该名用户的注册请求以及相应的信息推送策略一起发送给中心服务器。Or the embodiment of the present disclosure may be that the domain instant messaging server that receives the user registration request creates an information push policy for the name, and sends the registration request of the user and the corresponding information push policy to the central server.
中心服务器可以将来自不同域即时通讯服务器的注册用户的相关信息和信息推送策略记录汇总,各个域即时通讯服务器可以访问中心服务器中存储的公共信息,中心服务器也可以将相应的公共信息广播给各个域即时通讯服务器,从而各个域即时通讯服务器可以同步各个用户的信息以及信息推送策略。The central server can aggregate related information and information push policy records of registered users from different domain instant messaging servers, and each domain instant messaging server can access public information stored in the central server, and the central server can also broadcast corresponding public information to each. A domain instant messaging server, so that each domain instant messaging server can synchronize the information of each user and the information push policy.
根据本公开实施例,信息推送策略可以包括:将发送给用户的信息推送至该用户对应的默认域即时通讯服务器,和/或将发送给用户的信息推送至该用户最近登录的域即时通讯服务器。According to an embodiment of the present disclosure, the information push policy may include: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the domain instant messaging server that the user recently logged into .
其中,用户对应的默认域即时通讯服务器,包括:中心服务器根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器,或者中心服务器根据预定规则为该用户设定默认域即时通讯服务器。The default domain instant messaging server corresponding to the user includes: the central server sets a default domain instant messaging server according to the received domain instant messaging server specified by the user, or the central server sets a default domain instant messaging server for the user according to a predetermined rule. .
例如,用户可以指定接受信息的域即时通讯服务器,则发送给该名用户的信息都会推送 到用户指定的域即时通讯服务器。For example, if a user can specify a domain instant messaging server that accepts information, the information sent to that user will be pushed to the user-specified domain instant messaging server.
根据本公开实施例,如果用户没有指定接受信息的域即时通讯服务器,也可以为用户设定默认的默认域即时通讯服务器。According to an embodiment of the present disclosure, if the user does not specify a domain instant messaging server that accepts information, a default default domain instant messaging server may be set for the user.
例如,中心服务器可以根据用户注册的域即时通讯服务器为其设定默认域即时通讯服务器,或者中心服务器也可以根据该用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器,或者中心服务器还可以根据用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。For example, the central server may set a default domain instant messaging server according to the domain instant messaging server registered by the user, or the central server may also set a default domain instant messaging server according to the number of logins of the instant messaging server of each domain. Or the central server can also set a default domain instant messaging server according to the online duration of the user's instant messaging server in each domain.
可以理解,默认域即时通讯服务器可以是固定的不随用户使用而改变的域即时通讯服务器,例如,用户指定的默认域即时通讯服务器,或者系统将其进行注册的域即时通讯服务器设定为默认域即时通讯服务器。或者,默认域即时通讯服务器也可以是随着用户使用情况而改变的域即时通讯服务器,例如,系统可以定期根据用户在各域即时通讯服务器的登录次数或者在各域即时通讯服务器的在线时长重新为其设定默认域即时通讯服务器。It can be understood that the default domain instant messaging server can be a fixed domain instant messaging server that does not change with the user, for example, a user-specified default domain instant messaging server, or the domain instant messaging server that the system registers with is set as the default domain. Instant messaging server. Alternatively, the default domain instant messaging server may also be a domain instant messaging server that changes with the user's usage. For example, the system may periodically re-based the number of logins of the user's instant messaging server in each domain or the online duration of the instant messaging server of each domain. Set the default domain instant messaging server for it.
根据本公开实施例,中心服务器可以响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新是该名用户的信息推送策略,例如如前所述那样,改变默认域即时通讯服务器。According to an embodiment of the present disclosure, the central server may respond to receiving a login request sent by the user through one of the domain instant messaging servers, updating the information push policy of the user, for example, changing the default domain instant messaging server as described above.
在本公开实施例中,信息推送策略可以是将发送给用户的信息推送至该用户最近登录的域即时通讯服务器。则中心服务器可以响应于其接收用户的本次登录请求的域即时通讯服务器与从其接收上次登录请求的域即时通讯服务器发生变化的情况下,更新该名用户的信息推送策略中的用户最近登录的域即时通讯服务器。In an embodiment of the present disclosure, the information push policy may be to push information sent to the user to the domain instant messaging server that the user recently logged in. The central server may update the user in the information push policy of the user in response to the change of the domain instant messaging server that receives the user's current login request and the domain instant messaging server from which the last login request was received. Log in to the domain instant messaging server.
在本公开实施例中,可以是用户本次登录的域即时通讯服务器判断用户本次登录与上次登录的域即时通讯服务器是否发生变化,在发生变化的情况下,将用户本次登录请求发送给中心服务器,以便中心服务器更新该用户的信息推送策略。In the embodiment of the present disclosure, the domain instant messaging server that the user logs in this time may determine whether the user's current login and the last-time domain instant messaging server change, and if the change occurs, the user sends the current login request. Give the central server so that the central server updates the user's information push policy.
在本公开实施例中,还可以是用户本次登录的域即时通讯服务器将用户本次登录请求直接发送给中心服务器,由中心服务器判断用户本次登录与上次登录的域即时通讯服务器是否发生变化,在发生变化的情况下,中心服务器更新该名用户的信息推送策略。In the embodiment of the present disclosure, the domain instant messaging server that the user logs in this time may directly send the user's current login request to the central server, and the central server determines whether the user's current login and the last registered domain instant messaging server occur. Change, in the case of a change, the central server updates the information push policy of the user.
根据本公开实施例,在中心服务器创建或者更新某一用户的信息推送策略后,将创建或者更新后的信息推送策略广播给各域即时通讯服务器,以使各域即时通讯服务器可以同步各用户的信息推送策略,从而可以将信息准确地推送至目标域即时通讯服务器。According to an embodiment of the present disclosure, after the central server creates or updates an information push policy of a certain user, the created or updated information push policy is broadcasted to each domain instant messaging server, so that the domain instant messaging servers can synchronize the users. Information push strategy so that information can be accurately pushed to the target domain instant messaging server.
根据本公开实施例,中心服务器可以包括管理节点和存储节点,其中,存储节点可以为区块链节点,区块链节点中可以存储与用户相关的信息,例如,区块链节点中可以存储各用户对应的信息推送策略。According to an embodiment of the present disclosure, the central server may include a management node and a storage node, wherein the storage node may be a blockchain node, and the blockchain node may store information related to the user, for example, the blockchain node may store each The information push policy corresponding to the user.
本公开实施例的中心服务器能够与多个域即时通讯服务器实现通讯连接,从而各个域即时通讯服务器可以将各自的相应的数据发送至中心服务器,通过中心服务器实现数据的交互,并且该即时通讯系统还可以为每个用户设置信息推送策略,用户之间可以根据相应的信息推送策略实现不同域即时通讯服务器之间的信息交互,提高了不同通讯应用的用户的之间通讯效率,提高了用户体验感。The central server of the embodiment of the present disclosure can implement a communication connection with a plurality of domain instant messaging servers, so that each domain instant messaging server can send respective corresponding data to the central server, realize data interaction through the central server, and the instant messaging system It is also possible to set an information push policy for each user, and users can implement information interaction between different domain instant messaging servers according to corresponding information push policies, improve communication efficiency between users of different communication applications, and improve user experience. sense.
图3示意性地示出了根据本发明另一实施方式的即时通讯系统中的数据处理方法的流程图。FIG. 3 is a flow chart schematically showing a data processing method in an instant messaging system according to another embodiment of the present invention.
根据本公开实施例,即时通讯系统可以包括中心服务器和至少两个域即时通讯服务器。其中,中心服务器存储与用户相关的信息,至少两个域即时通讯服务器分别对应于至少两种即时通讯应用。According to an embodiment of the present disclosure, an instant messaging system may include a central server and at least two domain instant messaging servers. The central server stores information related to the user, and at least two domain instant messaging servers respectively correspond to at least two instant messaging applications.
在本公开实施例中,域即时通讯服务器可以是为对应的即时通讯应用提供服务的服务器或者服务器集群,例如,可以是对即时通讯应用提供支持的各种后台服务器或者服务器集群。例如,微信域即时通讯服务器可以为微信应用提供服务,QQ域即时通讯服务器可以为QQ应用提供服务等等。In the embodiment of the present disclosure, the domain instant messaging server may be a server or a server cluster that provides services for the corresponding instant messaging application, for example, various background servers or server clusters that provide support for the instant messaging application. For example, the WeChat domain instant messaging server can provide services for WeChat applications, the QQ domain instant messaging server can provide services for QQ applications, and so on.
在本公开实施例中,中心服务器能够与至少两个域即时通讯服务器实现通讯连接,中心服务器例如可以是存储有其连接的至少两个域即时通讯服务器的至少部分公共信息(例如,与用户相关的信息)的网关、路由等各种网络节点。In an embodiment of the present disclosure, the central server is capable of implementing a communication connection with at least two domain instant messaging servers, and the central server may be, for example, at least part of public information of at least two domain instant messaging servers that are connected thereto (eg, related to the user) Information) gateways, routes, and other network nodes.
具体地,如图3所示,该方法包括操作S301~S302,该方法可以应用于其中一个域即时通讯服务器中。Specifically, as shown in FIG. 3, the method includes operations S301 to S302, and the method can be applied to one of the domain instant messaging servers.
在操作S301,接收通过中心服务器广播的用户的信息推送策略。In operation S301, an information push policy of a user broadcasted through the center server is received.
在操作S302,响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新该用户对应的信息推送策略。In operation S302, in response to receiving the information push policy of the user broadcasted by the central server, the information push policy corresponding to the user is recorded or updated.
根据本公开实施例,各域即时通讯服务器可以存储有各用户的信息推送策略,以便根据策略将发送给该用户的信息发送至相应的域即时通讯服务器。According to an embodiment of the present disclosure, each domain instant messaging server may store an information push policy of each user to send information sent to the user to the corresponding domain instant messaging server according to the policy.
在本公开实施例中,中心服务器中可以存储有各用户的信息推送策略,并在该策略初创建或者发生更新变化后,将变化后的信息推送策略广播给各域即时通讯服务器,使得各域即时通讯服务器可以同步记录或者更新相应用户的信息推送策略。In the embodiment of the present disclosure, the information push policy of each user may be stored in the central server, and after the policy is initially created or updated, the changed information push policy is broadcasted to each domain instant messaging server, so that the domains are The instant messaging server can synchronously record or update the information push policy of the corresponding user.
根据本公开实施例,信息推送策略可以包括:将发送给用户的信息推送至该用户对应的默认域即时通讯服务器,和/或将发送给用户的信息推送至该用户最近登录的域即时通讯服务器。According to an embodiment of the present disclosure, the information push policy may include: pushing information sent to the user to a default domain instant messaging server corresponding to the user, and/or pushing information sent to the user to the domain instant messaging server that the user recently logged into .
其中,用户对应的默认域即时通讯服务器,包括:根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器,或者根据预定规则为该用户设定默认域即时通讯服务器。The default domain instant messaging server corresponding to the user includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user, or setting a default domain instant messaging server for the user according to a predetermined rule.
例如,用户可以指定接受信息的域即时通讯服务器,则发送给该名用户的信息都会推送到用户指定的域即时通讯服务器。For example, if a user can specify a domain instant messaging server that accepts information, the information sent to that user will be pushed to the user-specified domain instant messaging server.
根据本公开实施例,如果用户没有指定接受信息的域即时通讯服务器,也可以为用户设定默认的默认域即时通讯服务器。According to an embodiment of the present disclosure, if the user does not specify a domain instant messaging server that accepts information, a default default domain instant messaging server may be set for the user.
例如,可以根据用户注册的域即时通讯服务器为其设定默认域即时通讯服务器,或者也可以根据该用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器,或者还可以根据用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。For example, the default domain instant messaging server may be set according to the domain instant messaging server registered by the user, or the default domain instant messaging server may be set according to the number of logins of the instant messaging server of each domain, or may also be based on The user sets the default domain instant messaging server for the online duration of each domain instant messaging server.
可以理解,默认域即时通讯服务器可以是固定的不随用户使用而改变的域即时通讯服务器,例如,用户指定的默认域即时通讯服务器,或者系统将其进行注册的域即时通讯服务器设定为默认域即时通讯服务器。或者,默认域即时通讯服务器也可以是随着用户使用情况而改变的域即时通讯服务器,例如,系统可以定期根据用户在各域即时通讯服务器的登录次数或者在各域即时通讯服务器的在线时长重新为其设定默认域即时通讯服务器。It can be understood that the default domain instant messaging server can be a fixed domain instant messaging server that does not change with the user, for example, a user-specified default domain instant messaging server, or the domain instant messaging server that the system registers with is set as the default domain. Instant messaging server. Alternatively, the default domain instant messaging server may also be a domain instant messaging server that changes with the user's usage. For example, the system may periodically re-based the number of logins of the user's instant messaging server in each domain or the online duration of the instant messaging server of each domain. Set the default domain instant messaging server for it.
在本公开实施例中,信息推送策略可以是将发送给用户的信息推送至该用户最近登录的域即时通讯服务器。In an embodiment of the present disclosure, the information push policy may be to push information sent to the user to the domain instant messaging server that the user recently logged in.
根据本公开实施例,域即时通讯服务器可以执行:接收用户登录请求,判断该用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器是否发生变化,在该用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,将该用户的登录请求发送至中心服务器。According to an embodiment of the present disclosure, the domain instant messaging server may perform: receiving a user login request, determining whether the domain instant messaging server of the user's current login and the domain instant messaging server from which the user last logged in changed, in the user's When the secondary login domain instant messaging server changes from the domain instant messaging server from which it was last logged, the user's login request is sent to the central server.
例如,可以是用户本次登录的域即时通讯服务器判断用户本次登录与上次登录的域即时通讯服务器是否发生变化,在发生变化的情况下,将用户本次登录请求发送给中心服务器,以便中心服务器更新该用户的信息推送策略。For example, the domain instant messaging server that the user logs in this time determines whether the user's current login and the last login domain instant messaging server change, and in the event of a change, the user logs the current login request to the central server, so that The central server updates the user's information push policy.
可以理解,本公开实施例还可以是在该用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,本次登录的域即时通讯服务器更新该名用户的信息推送策略,并将更新后的信息推送策略发送给中心服务器,以便中心服务器将更新后的信息推送策略广播给其他域即时通讯服务器。It can be understood that the embodiment of the present disclosure may also be that when the domain instant messaging server of the user's current login changes with the domain instant messaging server that has logged in from the last time, the domain instant messaging server that is logged in this time updates the name. The user's information push policy sends the updated information push policy to the central server, so that the central server broadcasts the updated information push policy to other domain instant messaging servers.
根据本公开实施例,域即时通讯服务器可以接收用户发送信息的请求,根据该信息的目标用户对应的信息推送策略,确定该信息的目标域即时通讯服务器,若该信息的目标域即时通讯服务器为其本身,则该信息经由其发送,若为其他域即时通讯服务器,则将该信息转发给中心服务器,由中心服务器转发给其他域即时通讯服务器。其中,该信息包括以下任意一 种或多种:普通通讯信息、社交圈动态通知信息或群组信息。According to an embodiment of the present disclosure, the domain instant messaging server may receive a request for sending information by the user, determine a target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information, and if the target domain instant messaging server of the information is On its own, the information is sent via it. If it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards it to other domain instant messaging servers. The information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
例如,当用户A想要将信息发送给目标用户B的情况下,用户A对当前域即时通讯服务器发送请求,当前域即时通讯服务器根据目标用户B对应的信息推送策略,确定目标域即时通讯服务器(例如可以是默认的域即时通讯服务器或者是目标用户B最近登录的域即时通讯服务器),若目标域即时通讯服务器为其本身,则可以在本域内通过当前域即时通讯服务器发送该消息,否则,当前域即时通讯服务器将该消息发送给中心服务器,而后由中心服务器转发给其他域即时通讯服务器。For example, when user A wants to send information to target user B, user A sends a request to the current domain instant messaging server, and the current domain instant messaging server determines the target domain instant messaging server according to the information push policy corresponding to the target user B. (For example, it may be the default domain instant messaging server or the domain instant messaging server that the target user B recently logged in.) If the target domain instant messaging server is its own, the message may be sent through the current domain instant messaging server in the local domain. Otherwise, The current domain instant messaging server sends the message to the central server, which then forwards it to other domain instant messaging servers.
在本公开实施例中,在信息包括社交圈动态通知信息或群组信息的情况下,针对该信息的多个目标用户的每个目标用户,根据该目标用户对应的信息推送策略,确定相应的目标域即时通讯服务器,若为其本身,则该信息经由其发送;若为其他域即时通讯服务器,则将该信息转发给所述中心服务器,由中心服务器转发给其他域即时通讯服务器。In the embodiment of the present disclosure, in the case that the information includes the social circle dynamic notification information or the group information, each target user of the multiple target users of the information determines the corresponding according to the information pushing policy corresponding to the target user. The target domain instant messaging server, if it is itself, sends the information via it; if it is another domain instant messaging server, it forwards the information to the central server, and the central server forwards it to other domain instant messaging servers.
例如,当目标用户为多个用户的情况下,需要针对每个用户的信息推送策略确定每个用户的对应的目标域即时通讯服务器,然后以每个用户为单位,向其对应的目标域即时通讯服务器发送该消息。For example, when the target user is a plurality of users, it is necessary to determine a corresponding target domain instant messaging server for each user for each user's information push policy, and then, for each user, to the corresponding target domain. The communication server sends the message.
本公开实施例的中心服务器能够与多个域即时通讯服务器实现通讯连接,从而各个域即时通讯服务器可以将各自的相应的数据发送至中心服务器,通过中心服务器实现数据的交互,并且该即时通讯系统还可以为每个用户设置信息推送策略,用户之间可以根据相应的信息推送策略实现不同域即时通讯服务器之间的信息交互,提高了不同通讯应用的用户的之间通讯效率,提高了用户体验感。The central server of the embodiment of the present disclosure can implement a communication connection with a plurality of domain instant messaging servers, so that each domain instant messaging server can send respective corresponding data to the central server, realize data interaction through the central server, and the instant messaging system It is also possible to set an information push policy for each user, and users can implement information interaction between different domain instant messaging servers according to corresponding information push policies, improve communication efficiency between users of different communication applications, and improve user experience. sense.
本发明所公开的上述实施例可任意组合,或者做简单变换,得到需要的处理策略,以实现较好的技术效果。The above-mentioned embodiments disclosed in the present invention can be combined arbitrarily or simply transformed to obtain a required processing strategy to achieve better technical effects.
示例性介质Exemplary medium
本发明示例性实施方式提供了一种计算机可读存储介质,存储有计算机可执行指令,上述指令在被处理单元执行时用于实现上述方法实施例中任一项所述的应用于中心服务器的即时通讯系统中的数据处理方法或者应用于域即时通讯服务器的即时通讯系统中的数据处理方法。The exemplary embodiment of the present invention provides a computer readable storage medium storing computer executable instructions for performing the application to the central server according to any one of the foregoing method embodiments when executed by the processing unit. A data processing method in an instant messaging system or a data processing method in an instant messaging system applied to a domain instant messaging server.
在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在计算设备上运行时,所述程序代码用于使所述计算设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的应用于中心服务器的即时通讯系统中的数据处理方法或者应用于域即时通讯服务器的即时通讯系统中的数 据处理方法中的步骤,例如,所述计算设备可以执行如图2中所示的操作S201:响应于其中一个域即时通讯服务器的请求,创建或者更新该请求对应的用户的信息推送策略;操作S202:向至少两个域即时通讯服务器中的至少一个域即时通讯服务器广播创建或者更新的用户的信息推送策略,或者执行如图3所示的操作S301:接收通过中心服务器广播的用户的信息推送策略;操作S302:响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新该用户对应的信息推送策略。In some possible implementations, aspects of the present invention may also be embodied in the form of a program product comprising program code for causing said program product to run on a computing device The computing device performs the data processing method in the instant messaging system applied to the central server or the instant messaging system applied to the domain instant messaging server according to various exemplary embodiments of the present invention described in the "Exemplary Method" section of the present specification described above. Steps in the data processing method, for example, the computing device may perform operation S201 as shown in FIG. 2: in response to a request of one of the domain instant messaging servers, creating or updating an information push policy of the user corresponding to the request; Operation S202: Broadcasting an information push policy of the created or updated user to at least one of the at least two domain instant messaging servers, or performing operation S301 shown in FIG. 3: receiving information of the user broadcasted by the central server Push policy; operation S302: responding to receipt through the center The information push policy of the user broadcasted by the server records or updates the information push policy corresponding to the user.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product can employ any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
如图4所示,描述了根据本发明的实施方式的用于即时通讯系统中的数据处理方法的程序产品400,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在计算设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。As shown in FIG. 4, a program product 400 for a data processing method in an instant messaging system according to an embodiment of the present invention is described, which may employ a portable compact disk read only memory (CD-ROM) and includes program code, and It can be run on a computing device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in the present document, the readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus or device.
可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The readable signal medium can include a data signal that is propagated in the baseband or as part of a carrier, carrying readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、有线、光缆,RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium can be transmitted by any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言——诸如Java,C++等,还包括常规的过程式程序设计语言——诸如“C”,语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分在用户设备上执行部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)一连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language, such as Java, C++, etc., including conventional procedures. Programming language - such as "C", language or similar programming language. The program code may execute entirely on the user computing device, partially on the user device, or on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computing device (eg, utilizing Internet services) The provider is connected via the Internet).
示例性装置Exemplary device
在介绍了本发明示例性实施方式的介质之后,接下来,参考图5~图6对本发明示例性实施方式的即时通讯系统中的数据处理装置进行介绍。Having described the medium of the exemplary embodiment of the present invention, next, a data processing apparatus in the instant messaging system according to an exemplary embodiment of the present invention will be described with reference to FIGS. 5 to 6.
图5示意性地示出了根据本发明实施方式的即时通讯系统中的数据处理装置500的框图。FIG. 5 schematically shows a block diagram of a data processing apparatus 500 in an instant messaging system in accordance with an embodiment of the present invention.
根据本公开实施例,即时通讯系统包括中心服务器和至少两个域即时通讯服务器,中心服务器存储与用户相关的信息,至少两个域即时通讯服务器分别对应于至少两种即时通讯应用。数据处理装置500可以应用于中心服务器中。According to an embodiment of the present disclosure, an instant messaging system includes a central server and at least two domain instant messaging servers, the central server stores information related to the user, and the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications. The data processing device 500 can be applied to a central server.
如图5所示,即时通讯系统中的数据处理装置500包括创建更新模块510、以及广播模块520。As shown in FIG. 5, the data processing apparatus 500 in the instant messaging system includes a create update module 510, and a broadcast module 520.
具体地,创建更新模块510响应于其中一个域即时通讯服务器的请求,创建或者更新该请求对应的用户的信息推送策略。Specifically, the creation update module 510 creates or updates an information push policy of the user corresponding to the request in response to a request of one of the domain instant messaging servers.
广播模块520向至少两个域即时通讯服务器中至少一个域即时通讯服务器广播创建或者更新的用户的信息推送策略。The broadcast module 520 broadcasts the information push policy of the created or updated user to at least one of the at least two domain instant messaging servers.
根据本公开实施例,响应于其中一个域即时通讯服务器的请求,创建或者更新该请求对应的用户的信息推送策略,包括:响应于接收到用户通过其中一个域即时通讯服务器发送的注册请求,为该用户创建信息推送策略。According to an embodiment of the present disclosure, in response to a request of one of the domain instant messaging servers, creating or updating an information push policy of the user corresponding to the request includes: in response to receiving a registration request sent by the user through one of the domain instant messaging servers, The user creates an information push policy.
根据本公开实施例,信息推送策略包括:将发送给用户的信息推送至该用户对应的默认域即时通讯服务器,和/或将发送给用户的信息推送至该用户最近登录的域即时通讯服务器。According to an embodiment of the present disclosure, the information push policy includes: pushing the information sent to the user to the default domain instant messaging server corresponding to the user, and/or pushing the information sent to the user to the domain instant messaging server that the user recently logged in.
根据本公开实施例,用户对应的默认域即时通讯服务器,包括:根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器;或者根据预定规则为该用户设定默认域即时通讯服务器。According to an embodiment of the present disclosure, the default domain instant messaging server corresponding to the user includes: setting a default domain instant messaging server according to the received domain instant messaging server specified by the user; or setting a default domain instant messaging server for the user according to a predetermined rule. .
根据本公开实施例,根据预定规则为用户设定默认域即时通讯服务器,包括:根据用户注册的域即时通讯服务器为其设定默认域即时通讯服务器;或者根据用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器;或者根据用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。According to an embodiment of the present disclosure, setting a default domain instant messaging server for a user according to a predetermined rule includes: setting a default domain instant messaging server according to a domain instant messaging server registered by the user; or logging in according to the user's instant messaging server in each domain Set the default domain instant messaging server for the number of times; or set the default domain instant messaging server for the online duration of the user's instant messaging server.
根据本公开实施例,响应于域即时通讯服务器的请求,创建或者更新该请求对应的用户的信息推送策略,包括:响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新信息推送策略。According to an embodiment of the present disclosure, in response to a request of a domain instant messaging server, creating or updating an information push policy of a user corresponding to the request includes: updating the information push in response to receiving a login request sent by the user through one of the domain instant messaging servers Strategy.
根据本公开实施例,响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新信息推送策略,包括:响应于其接收用户的本次登录请求的域即时通讯服务器与从其接 收上次登录请求的域即时通讯服务器发生变化的情况下,更新信息推送策略中的用户最近登录的域即时通讯服务器。According to an embodiment of the present disclosure, in response to receiving a login request sent by the user through one of the domain instant messaging servers, updating the information push policy includes: responding to the domain instant messaging server receiving the user's current login request and receiving therefrom In the case where the domain instant messaging server of the secondary login request changes, the domain instant messaging server that the user recently logged in in the information push policy is updated.
根据本公开实施例,数据处理装置500例如可以执行上文参考图2描述的方法,在此不再赘述。According to an embodiment of the present disclosure, the data processing apparatus 500 may perform the method described above with reference to FIG. 2, for example, and details are not described herein again.
图6示意性地示出了根据本发明另一实施方式的即时通讯系统中的数据处理装置600的框图。FIG. 6 schematically shows a block diagram of a data processing apparatus 600 in an instant messaging system in accordance with another embodiment of the present invention.
根据本公开实施例,即时通讯系统包括中心服务器和至少两个域即时通讯服务器,中心服务器存储与用户相关的信息,至少两个域即时通讯服务器分别对应于至少两种即时通讯应用。数据处理装置600可以应用于其中一个域即时通讯服务器中。According to an embodiment of the present disclosure, an instant messaging system includes a central server and at least two domain instant messaging servers, the central server stores information related to the user, and the at least two domain instant messaging servers respectively correspond to at least two instant messaging applications. The data processing device 600 can be applied to one of the domain instant messaging servers.
如图6所示,即时通讯系统中的数据处理装置600包括记录更新模块610。As shown in FIG. 6, the data processing apparatus 600 in the instant messaging system includes a record update module 610.
记录更新模块610响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新该用户对应的信息推送策略。The record update module 610 records or updates the information push policy corresponding to the user in response to receiving the information push policy of the user broadcasted by the center server.
根据本公开实施例,信息推送策略包括:将发送给用户的信息推送至该用户对应的默认域即时通讯服务器,和/或将发送给用户的信息推送至该用户最近登录的域即时通讯服务器。According to an embodiment of the present disclosure, the information push policy includes: pushing the information sent to the user to the default domain instant messaging server corresponding to the user, and/or pushing the information sent to the user to the domain instant messaging server that the user recently logged in.
根据本公开实施例,数据处理装置600还可以包括第一接收模块620、确定模块630、第一发送模块640。According to an embodiment of the present disclosure, the data processing apparatus 600 may further include a first receiving module 620, a determining module 630, and a first sending module 640.
其中,第一接收模块620接收用户发送信息的请求。The first receiving module 620 receives a request for the user to send information.
确定模块630根据信息的目标用户对应的信息推送策略,确定该信息的目标域即时通讯服务器。The determining module 630 determines the target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information.
第一发送模块640若信息的目标域即时通讯服务器为其本身,则该信息经由其发送,若为其他域即时通讯服务器,则将该信息转发给中心服务器,由中心服务器转发给其他域即时通讯服务器。The first sending module 640 sends the information to the central server if the target domain instant messaging server of the information is itself, and if it is another domain instant messaging server, forwards the information to the central server, and the central server forwards the instant messaging to other domains. server.
根据本公开实施例,该信息包括以下任意一种或多种:普通通讯信息、社交圈动态通知信息或群组信息。According to an embodiment of the present disclosure, the information includes any one or more of the following: general communication information, social circle dynamic notification information, or group information.
根据本公开实施例,在信息包括社交圈动态通知信息或群组信息的情况下,针对该信息的多个目标用户的每个目标用户,根据该目标用户对应的信息推送策略,确定相应的目标域即时通讯服务器,若为其本身,则该信息经由其发送;若为其他域即时通讯服务器,则将该信息转发给中心服务器,由中心服务器转发给其他域即时通讯服务器。According to an embodiment of the present disclosure, in a case where the information includes social circle dynamic notification information or group information, each target user of the plurality of target users for the information determines a corresponding target according to the information push policy corresponding to the target user. The domain instant messaging server, if it is itself, sends the information via it; if it is another domain instant messaging server, it forwards the information to the central server, which forwards it to other domain instant messaging servers.
根据本公开实施例,数据处理装置600还可以包括第二接收模块650、判断模块660、第二发送模块670。According to an embodiment of the present disclosure, the data processing apparatus 600 may further include a second receiving module 650, a determining module 660, and a second sending module 670.
其中,第二接收模块650接收用户登录请求。The second receiving module 650 receives the user login request.
判断模块660判断该用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器是否发生变化。The determining module 660 determines whether the domain instant messaging server of the user's current login and the domain instant messaging server from which it was last logged changed.
第二发送模块670在该用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,将该用户的登录请求发送至中心服务器。The second sending module 670 sends the login request of the user to the central server when the domain instant messaging server of the current login of the user changes from the domain instant messaging server that was last logged in.
根据本公开实施例,数据处理装置600例如可以执行上文参考图3描述的方法,在此不再赘述。According to an embodiment of the present disclosure, the data processing apparatus 600 may perform the method described above with reference to FIG. 3, for example, and details are not described herein again.
根据本公开的实施例的模块、子模块、单元、子单元中的任意多个、或其中任意多个的至少部分功能可以在一个模块中实现。根据本公开实施例的模块、子模块、单元、子单元中的任意一个或多个可以被拆分成多个模块来实现。根据本公开实施例的模块、子模块、单元、子单元中的任意一个或多个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式的硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,根据本公开实施例的模块、子模块、单元、子单元中的一个或多个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。Any of a plurality of modules, sub-modules, units, sub-units, or at least some of the functions of any one of the plurality of modules, sub-modules, or any of the plurality of functions according to an embodiment of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to an embodiment of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units in accordance with embodiments of the present disclosure may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), System-on-a-chip, system on a substrate, system on a package, an application specific integrated circuit (ASIC), or any other reasonable means of hardware or firmware that integrates or encapsulates the circuit, or in software, hardware, and firmware. Any one of the implementations or in any suitable combination of any of them. Alternatively, one or more of the modules, sub-modules, units, sub-units in accordance with embodiments of the present disclosure may be implemented at least in part as a computer program module that, when executed, can perform the corresponding functions.
示例性计算设备Exemplary computing device
在介绍了本发明示例性实施方式的方法、介质和装置之后,接下来,参考图7描述本发明示例性实施方式的一种计算设备,其用于实现本发明的应用于中心服务器的即时通讯系统中的数据处理方法或者应用于域即时通讯服务器的即时通讯系统中的数据处理方法。Having described the method, medium and device of an exemplary embodiment of the present invention, a computing device of an exemplary embodiment of the present invention for implementing instant messaging applied to a central server of the present invention will be described next with reference to FIG. A data processing method in the system or a data processing method in an instant messaging system applied to a domain instant messaging server.
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art will appreciate that various aspects of the present invention can be implemented as a system, method, or program product. Therefore, various aspects of the present invention may be embodied in the form of a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein. "Circuit," "module," or "system."
在一些可能的实施方式中,根据本发明的计算设备可以至少包括至少一个处理单元、以及至少一个存储单元。其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的应用于中心服务器的即时通讯系统中的数据处理方法或者应用于域即时通讯服务器的即时通讯系统中的数据处理方法中的步骤。例如,所述处理单元可以执行如图2中所示的操作S201:响应于其中一个域即时通讯服务器的请求,创建或者更新该请求对应 的用户的信息推送策略;操作S202:向至少两个域即时通讯服务器中的至少一个域即时通讯服务器广播创建或者更新的用户的信息推送策略,或者执行如图3所示的操作S301:接收通过中心服务器广播的用户的信息推送策略;操作S302:响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新该用户对应的信息推送策略。In some possible implementations, a computing device in accordance with the present invention can include at least one processing unit and at least one memory unit. Wherein the storage unit stores program code, when the program code is executed by the processing unit, causing the processing unit to perform various exemplary implementations according to the present invention described in the "Exemplary Method" section of the present specification. The method of applying the data processing method in the instant messaging system of the central server or the data processing method in the instant messaging system of the domain instant messaging server. For example, the processing unit may perform operation S201 as shown in FIG. 2: in response to a request of one of the domain instant messaging servers, creating or updating an information push policy of the user corresponding to the request; operation S202: to at least two domains At least one domain instant messaging server in the instant messaging server broadcasts the information push policy of the created or updated user, or performs operation S301 as shown in FIG. 3: receiving an information push policy of the user broadcasted by the central server; operation S302: responding to Receiving the information push policy of the user broadcasted by the central server, recording or updating the information push policy corresponding to the user.
下面参照图7来描述根据本发明的这种实施方式的计算设备700。图7所示的计算设备700仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。A computing device 700 in accordance with such an embodiment of the present invention is described below with reference to FIG. The computing device 700 shown in FIG. 7 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图7所示,计算设备700以通用计算设备的形式表现。计算设备700的组件可以包括但不限于:上述至少一个处理单元710、上述至少一个存储单元720、连接不同系统组件(包括存储单元720和处理单元710)的总线730。As shown in Figure 7, computing device 700 is embodied in the form of a general purpose computing device. Components of computing device 700 may include, but are not limited to, at least one processing unit 710, at least one storage unit 720, and a bus 730 that connects different system components, including storage unit 720 and processing unit 710.
总线730包括数据总线、控制总线、地址总线等。The bus 730 includes a data bus, a control bus, an address bus, and the like.
存储单元720可以包括易失性存储器,例如随机存取存储器(RAM)721和/或高速缓存存储器722,还可以进一步包括只读存储器(ROM)723。The storage unit 720 can include volatile memory, such as random access memory (RAM) 721 and/or cache memory 722, and can further include read only memory (ROM) 723.
存储单元720还可以包括具有一组(至少一个)程序模块724的程序/实用工具725,这样的程序模块724包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 720 can also include a program/utility 725 having a set (at least one) of the program modules 724, including but not limited to: an operating system, one or more applications, other program modules, and program data, Implementations of the network environment may be included in each or some of these examples.
计算设备700也可以与一个或多个外部设备740(例如键盘、指向设备、蓝牙设备等)通讯,这种通讯可以通过输入/输出(I/O)接口750进行。并且,计算设备700还可以通过网络适配器760与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通讯。如图所示,网络适配器760通过总线730与计算设备700的其它模块通讯。应当明白,尽管图中未示出,可以结合计算设备700使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。 Computing device 700 can also communicate with one or more external devices 740 (eg, a keyboard, pointing device, Bluetooth device, etc.) that can be communicated through an input/output (I/O) interface 750. Moreover, computing device 700 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 760. As shown, network adapter 760 communicates with other modules of computing device 700 via bus 730. It should be understood that although not shown in the figures, other hardware and/or software modules may be utilized in conjunction with computing device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives. And data backup storage systems, etc.
应当注意,尽管在上文详细描述中提及了对显示区域中的多个组件进行显示的装置的若干单元/模块或子单元/模块,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多单元/模块的特征和功能可以在一个单元/模块中具体化。反之,上文描述的一个单元/模块的特征和功能可以进一步划分为由多个单元/模块来具体化。It should be noted that although several units/modules or sub-units/modules of a device for displaying a plurality of components in a display area are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, in accordance with embodiments of the present invention, the features and functions of the two or more units/modules described above may be embodied in one unit/module. Conversely, the features and functions of one unit/module described above may be further divided into multiple units/modules.
此外,尽管在附图中以特定顺序描述了本发明方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。Furthermore, although the operation of the method of the present invention is described in a particular order in the figures, this is not a requirement or implied that the operations must be performed in the specific order, or all the operations shown must be performed to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps being combined into one step, and/or one step being broken down into multiple steps.
虽然已经参考若干具体实施方式描述了本发明的精神和原理,但是应该理解,本发明并 不限于所公开的具体实施方式,对各方面的划分也不意味着这些方面中的特征不能组合以进行受益,这种划分仅是为了表述的方便。本发明旨在涵盖所附权利要求的精神和范围内所包括的各种修改和等同布置。While the spirit and principles of the present invention have been described with reference to the specific embodiments of the present invention, it is understood that the invention is not limited to the specific embodiments disclosed. Benefits, this division is only for the convenience of expression. The invention is intended to cover various modifications and equivalents

Claims (30)

  1. 一种即时通讯系统中的数据处理方法,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述方法应用于所述中心服务器中,该方法包括:A data processing method in an instant messaging system, the instant messaging system includes a central server and at least two domain instant messaging servers, wherein the central server stores information related to a user, and the at least two domain instant messaging servers respectively correspond to For at least two instant messaging applications, the method is applied to the central server, the method comprising:
    响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略;以及Creating or updating an information push policy of a user corresponding to the request in response to a request of one of the domain instant messaging servers;
    向所述至少两个域即时通讯服务器中至少一个域即时通讯服务器广播所述创建或者更新的用户的信息推送策略。Broadcasting the information push policy of the created or updated user to at least one of the at least two domain instant messaging servers.
  2. 根据权利要求1所述的方法,其中,所述响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:The method of claim 1, wherein the generating or updating the information push policy of the user corresponding to the request in response to the request of one of the domain instant messaging servers comprises:
    响应于接收到用户通过其中一个域即时通讯服务器发送的注册请求,为所述用户创建信息推送策略。An information push policy is created for the user in response to receiving a registration request sent by the user through one of the domain instant messaging servers.
  3. 根据权利要求2所述的方法,其中,所述信息推送策略包括:The method of claim 2 wherein said information push policy comprises:
    将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器;和/或Pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or
    将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。Pushing the information sent to the user to the domain instant messaging server that the user recently logged into.
  4. 根据权利要求3所述的方法,其中,所述用户对应的默认域即时通讯服务器,包括:The method according to claim 3, wherein the default domain instant messaging server corresponding to the user comprises:
    所述中心服务器根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器;或者The central server sets a default domain instant messaging server according to the received domain instant messaging server specified by the user; or
    所述中心服务器根据预定规则为所述用户设定默认域即时通讯服务器。The central server sets a default domain instant messaging server for the user according to a predetermined rule.
  5. 根据权利要求4所述的方法,其中,所述中心服务器根据预定规则为所述用户设定默认域即时通讯服务器,包括:The method of claim 4, wherein the central server sets a default domain instant messaging server for the user according to a predetermined rule, comprising:
    所述中心服务器根据所述用户注册的域即时通讯服务器为其设定默认域即时通讯服务器;或者The central server sets a default domain instant messaging server according to the domain instant messaging server registered by the user; or
    所述中心服务器根据所述用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器;或者The central server sets a default domain instant messaging server according to the number of logins of the user in each domain instant messaging server; or
    所述中心服务器根据所述用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。The central server sets a default domain instant messaging server according to the online duration of the user in each domain instant messaging server.
  6. 根据权利要求1所述的方法,其中,所述响应于所述域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:The method of claim 1, wherein the generating or updating the information push policy of the user corresponding to the request in response to the request of the domain instant messaging server comprises:
    响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新所述信息推送 策略。The information push policy is updated in response to receiving a login request sent by the user through one of the domain instant messaging servers.
  7. 根据权利要求6所述的方法,其中,所述响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新所述信息推送策略,包括:The method of claim 6, wherein the updating the information push policy in response to receiving a login request sent by the user through one of the domain instant messaging servers comprises:
    响应于其接收所述用户的本次登录请求的域即时通讯服务器与从其接收上次登录请求的域即时通讯服务器发生变化的情况下,更新所述信息推送策略中的用户最近登录的域即时通讯服务器。In response to a change in the domain instant messaging server from which the user's current login request is received and the domain instant messaging server from which the last login request was received, the user in the information push policy is updated to the domain that was recently logged in. Communication server.
  8. 根据权利要求1所述的方法,其中,所述中心服务器包括管理节点和存储节点。The method of claim 1 wherein said central server comprises a management node and a storage node.
  9. 根据权利要求8所述的方法,其中,所述存储节点包括区块链节点,所述区块链节点中存储所述与用户相关的信息。The method of claim 8 wherein said storage node comprises a blockchain node, said user-related information being stored in said blockchain node.
  10. 一种即时通讯系统中的数据处理方法,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述方法应用于其中一个域即时通讯服务器中,该方法包括:A data processing method in an instant messaging system, the instant messaging system includes a central server and at least two domain instant messaging servers, wherein the central server stores information related to a user, and the at least two domain instant messaging servers respectively correspond to For at least two instant messaging applications, the method is applied to one of the domain instant messaging servers, the method comprising:
    响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新所述用户对应的信息推送策略。The information push policy corresponding to the user is recorded or updated in response to receiving the information push policy of the user broadcasted by the center server.
  11. 根据权利要求10所述的方法,其中,所述信息推送策略包括:The method of claim 10 wherein said information push policy comprises:
    将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器;和/或Pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or
    将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。Pushing the information sent to the user to the domain instant messaging server that the user recently logged into.
  12. 根据权利要求10所述的方法,还包括:The method of claim 10 further comprising:
    接收用户发送信息的请求;Receiving a request for a user to send a message;
    根据所述信息的目标用户对应的信息推送策略,确定所述信息的目标域即时通讯服务器;Determining a target domain instant messaging server of the information according to an information push policy corresponding to the target user of the information;
    若所述信息的目标域即时通讯服务器为其本身,则所述信息经由其发送,若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。If the target domain instant messaging server of the information is itself, the information is sent via the network, and if it is another domain instant messaging server, the information is forwarded to the central server, and the central server forwards the information to the other server. Domain instant messaging server.
  13. 根据权利要求12所述的方法,其中,所述信息包括以下任意一种或多种:The method of claim 12, wherein the information comprises any one or more of the following:
    普通通讯信息、社交圈动态通知信息或群组信息。Ordinary communication information, social circle dynamic notification information or group information.
  14. 根据权利要求13所述的方法,其中,在所述信息包括社交圈动态通知信息或群组信息的情况下,针对所述信息的多个目标用户的每个目标用户,根据该目标用户对应的信息推送策略,确定相应的目标域即时通讯服务器,若为其本身,则所述信息经由其发送;若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。The method according to claim 13, wherein, in the case where the information includes social circle dynamic notification information or group information, each target user of the plurality of target users for the information is corresponding according to the target user The information push policy determines the corresponding target domain instant messaging server, if it is itself, the information is sent; if it is another domain instant messaging server, the information is forwarded to the central server, by the center The server forwards it to other domain instant messaging servers.
  15. 根据权利要求10所述的方法,还包括:The method of claim 10 further comprising:
    接收用户登录请求;Receiving a user login request;
    判断所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器是否发生变化;Determining whether the domain instant messaging server of the user's current login and the domain instant messaging server from which it was last logged changed;
    在所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,将所述用户的登录请求发送至中心服务器。In the case where the domain instant messaging server of the current login of the user changes from the domain instant messaging server from which it was last logged, the login request of the user is sent to the central server.
  16. 一种即时通讯系统中的数据处理装置,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述装置应用于所述中心服务器中,该装置包括:A data processing device in an instant messaging system, the instant messaging system comprising a central server and at least two domain instant messaging servers, the central server storing information related to a user, the at least two domain instant messaging servers respectively corresponding to For at least two instant messaging applications, the device is applied to the central server, the device comprising:
    创建更新模块,响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略;以及Creating an update module, in response to a request of one of the domain instant messaging servers, creating or updating an information push policy of the user corresponding to the request;
    广播模块,向所述至少两个域即时通讯服务器中至少一个域即时通讯服务器广播所述创建或者更新的用户的信息推送策略。The broadcast module broadcasts the information push policy of the created or updated user to at least one domain instant messaging server of the at least two domain instant messaging servers.
  17. 根据权利要求16所述的装置,其中,所述响应于其中一个域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:The device of claim 16, wherein the generating or updating the information push policy of the user corresponding to the request in response to the request of one of the domain instant messaging servers comprises:
    响应于接收到用户通过其中一个域即时通讯服务器发送的注册请求,为所述用户创建信息推送策略。An information push policy is created for the user in response to receiving a registration request sent by the user through one of the domain instant messaging servers.
  18. 根据权利要求17所述的装置,其中,所述信息推送策略包括:The apparatus of claim 17, wherein the information push policy comprises:
    将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器;和/或Pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or
    将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。Pushing the information sent to the user to the domain instant messaging server that the user recently logged into.
  19. 根据权利要求18所述的装置,其中,所述用户对应的默认域即时通讯服务器,包括:The device according to claim 18, wherein the default domain instant messaging server corresponding to the user comprises:
    根据接收到的用户指定的域即时通讯服务器设定默认域即时通讯服务器;或者Setting the default domain instant messaging server according to the received user-specified domain instant messaging server; or
    根据预定规则为所述用户设定默认域即时通讯服务器。The default domain instant messaging server is set for the user according to a predetermined rule.
  20. 根据权利要求19所述的装置,其中,所述根据预定规则为所述用户设定默认域即时通讯服务器,包括:The apparatus according to claim 19, wherein said setting a default domain instant messaging server for said user according to a predetermined rule comprises:
    根据所述用户注册的域即时通讯服务器为其设定默认域即时通讯服务器;或者Setting a default domain instant messaging server according to the domain instant messaging server registered by the user; or
    根据所述用户在各域即时通讯服务器的登录次数为其设定默认域即时通讯服务器;或者Setting a default domain instant messaging server according to the number of logins of the user in each domain instant messaging server; or
    根据所述用户在各域即时通讯服务器的在线时长为其设定默认域即时通讯服务器。The default domain instant messaging server is set according to the online duration of the user's instant messaging server in each domain.
  21. 根据权利要求16所述的装置,其中,所述响应于所述域即时通讯服务器的请求,创建或者更新所述请求对应的用户的信息推送策略,包括:The device of claim 16, wherein the generating or updating the information push policy of the user corresponding to the request in response to the request of the domain instant messaging server comprises:
    响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新所述信息推送 策略。The information push policy is updated in response to receiving a login request sent by the user through one of the domain instant messaging servers.
  22. 根据权利要求21所述的装置,其中,所述响应于接收到用户通过其中一个域即时通讯服务器发送的登录请求,更新是所述信息推送策略,包括:The apparatus according to claim 21, wherein said updating is said information pushing policy in response to receiving a login request sent by a user through one of the domain instant messaging servers, comprising:
    响应于其接收所述用户的本次登录请求的域即时通讯服务器与从其接收上次登录请求的域即时通讯服务器发生变化的情况下,更新所述信息推送策略中的用户最近登录的域即时通讯服务器。In response to a change in the domain instant messaging server from which the user's current login request is received and the domain instant messaging server from which the last login request was received, the user in the information push policy is updated to the domain that was recently logged in. Communication server.
  23. 一种即时通讯系统中的数据处理装置,所述即时通讯系统包括中心服务器和至少两个域即时通讯服务器,所述中心服务器存储与用户相关的信息,所述至少两个域即时通讯服务器分别对应于至少两种即时通讯应用,所述装置应用于其中一个域即时通讯服务器中,该装置包括:A data processing device in an instant messaging system, the instant messaging system comprising a central server and at least two domain instant messaging servers, the central server storing information related to a user, the at least two domain instant messaging servers respectively corresponding to For at least two instant messaging applications, the device is applied to one of the domain instant messaging servers, the device comprising:
    记录更新模块,响应于接收到通过中心服务器广播的用户的信息推送策略,记录或者更新所述用户对应的信息推送策略。The record update module records or updates the information push policy corresponding to the user in response to receiving the information push policy of the user broadcasted by the center server.
  24. 根据权利要求23所述的装置,其中,所述信息推送策略包括:The apparatus of claim 23, wherein the information push policy comprises:
    将发送给所述用户的信息推送至所述用户对应的默认域即时通讯服务器;和/或Pushing information sent to the user to a default domain instant messaging server corresponding to the user; and/or
    将发送给所述用户的信息推送至所述用户最近登录的域即时通讯服务器。Pushing the information sent to the user to the domain instant messaging server that the user recently logged into.
  25. 根据权利要求23所述的装置,还包括:The apparatus of claim 23, further comprising:
    第一接收模块,接收用户发送信息的请求;The first receiving module receives a request for sending information by the user;
    确定模块,根据所述信息的目标用户对应的信息推送策略,确定所述信息的目标域即时通讯服务器;Determining a module, determining a target domain instant messaging server of the information according to the information pushing policy corresponding to the target user of the information;
    第一发送模块,若所述信息的目标域即时通讯服务器为其本身,则所述信息经由其发送,若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。a first sending module, if the target domain instant messaging server of the information is itself, the information is sent via the network, and if it is another domain instant messaging server, forwarding the information to the central server, The central server forwards it to other domain instant messaging servers.
  26. 根据权利要求25所述的装置,其中,所述信息包括以下任意一种或多种:The apparatus according to claim 25, wherein said information comprises any one or more of the following:
    普通通讯信息、社交圈动态通知信息或群组信息。Ordinary communication information, social circle dynamic notification information or group information.
  27. 根据权利要求26所述的装置,其中,在所述信息包括社交圈动态通知信息或群组信息的情况下,针对所述信息的多个目标用户的每个目标用户,根据该目标用户对应的信息推送策略,确定相应的目标域即时通讯服务器,若为其本身,则所述信息经由其发送;若为其他域即时通讯服务器,则将所述信息转发给所述中心服务器,由所述中心服务器转发给其他域即时通讯服务器。The apparatus according to claim 26, wherein, in the case where the information includes social circle dynamic notification information or group information, each target user of the plurality of target users for the information is corresponding according to the target user The information push policy determines the corresponding target domain instant messaging server, if it is itself, the information is sent; if it is another domain instant messaging server, the information is forwarded to the central server, by the center The server forwards it to other domain instant messaging servers.
  28. 根据权利要求23所述的装置,还包括:The apparatus of claim 23, further comprising:
    第二接收模块,接收用户登录请求;a second receiving module, receiving a user login request;
    判断模块,判断所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器是否发生变化;a judging module, judging whether the domain instant messaging server of the current login of the user and the domain instant messaging server that has logged in from the last time change;
    第二发送模块,在所述用户的本次登录的域即时通讯服务器与从其上次登录的域即时通讯服务器发生变化的情况下,将所述用户的登录请求发送至中心服务器。The second sending module sends the login request of the user to the central server in a case where the domain instant messaging server of the current login of the user changes from the domain instant messaging server that has logged in from the last time.
  29. 一种计算设备,包括:A computing device comprising:
    处理单元;以及Processing unit;
    存储单元,其上存储有可执行指令,所述指令被所述处理单元执行时使所述处理单元执行根据权利要求1-15中任一项所述的方法。A storage unit having stored thereon executable instructions that, when executed by the processing unit, cause the processing unit to perform the method of any of claims 1-15.
  30. 一种计算机可读存储介质,其上存储有可执行指令,所述指令被处理单元执行时使所述处理单元执行根据权利要求1-15中任一项所述的方法。A computer readable storage medium having stored thereon executable instructions that, when executed by a processing unit, cause the processing unit to perform the method of any of claims 1-15.
PCT/CN2018/116682 2018-05-10 2018-11-21 Data processing method and apparatus in instant messaging system, medium, and computing device WO2019214208A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810446414.5 2018-05-10
CN201810446414.5A CN108683586B (en) 2018-05-10 2018-05-10 Data processing method, device, medium and computing equipment in instant communication system

Publications (1)

Publication Number Publication Date
WO2019214208A1 true WO2019214208A1 (en) 2019-11-14

Family

ID=63806153

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116682 WO2019214208A1 (en) 2018-05-10 2018-11-21 Data processing method and apparatus in instant messaging system, medium, and computing device

Country Status (2)

Country Link
CN (1) CN108683586B (en)
WO (1) WO2019214208A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010786A (en) * 2021-03-19 2021-06-22 北京百度网讯科技有限公司 Information pushing method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683586B (en) * 2018-05-10 2020-02-21 网易(杭州)网络有限公司 Data processing method, device, medium and computing equipment in instant communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202015A (en) * 2011-06-09 2011-09-28 张李影 Method and system for realizing intercommunication among different kinds of instant messaging tools
CN103095549A (en) * 2011-10-31 2013-05-08 腾讯科技(北京)有限公司 Method and system for messaging between instant messaging tools
WO2015161777A1 (en) * 2014-04-21 2015-10-29 Tencent Technology (Shenzhen) Company Limited Information transmission control method, apparatus, and system
CN108683586A (en) * 2018-05-10 2018-10-19 网易(杭州)网络有限公司 Data processing method, device, medium in instant communicating system and computing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227652B (en) * 2008-02-04 2011-08-03 中国移动通信集团公司 Instant communicating method, device and system
CN107872494B (en) * 2016-09-28 2020-12-08 腾讯科技(深圳)有限公司 Message pushing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202015A (en) * 2011-06-09 2011-09-28 张李影 Method and system for realizing intercommunication among different kinds of instant messaging tools
CN103095549A (en) * 2011-10-31 2013-05-08 腾讯科技(北京)有限公司 Method and system for messaging between instant messaging tools
WO2015161777A1 (en) * 2014-04-21 2015-10-29 Tencent Technology (Shenzhen) Company Limited Information transmission control method, apparatus, and system
CN108683586A (en) * 2018-05-10 2018-10-19 网易(杭州)网络有限公司 Data processing method, device, medium in instant communicating system and computing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010786A (en) * 2021-03-19 2021-06-22 北京百度网讯科技有限公司 Information pushing method, device, equipment and storage medium
CN113010786B (en) * 2021-03-19 2024-01-09 北京百度网讯科技有限公司 Information pushing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108683586A (en) 2018-10-19
CN108683586B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
WO2019200920A1 (en) Method for implementing instant messaging system on basis of block chain, and medium and computing device
JP2022511616A (en) Business processing methods, equipment, electronic devices and computer programs based on blockchain systems
CN101194489B (en) Information processing server, remote control system, and remote control method
US20140355441A1 (en) Method and apparatus of delivering assured services over unreliable internet infrastructure by using virtual overlay network architecture over a public cloud backbone
US10911420B2 (en) Manage encrypted network traffic using DNS responses
US9633127B2 (en) Deploying programs in a cluster node
US10382258B2 (en) Viral system discovery and installation for distributed networks
US20140198702A1 (en) Method and system for enabling multicast distribution of mobile device update data
WO2019109923A1 (en) Message processing method and system, storage medium and electronic device
US11860924B2 (en) System and method for dynamically accessing media assets
US11063992B1 (en) Network-based media processing (NBMP) workflow management through 5G framework for live uplink streaming (FLUS) control
WO2019214208A1 (en) Data processing method and apparatus in instant messaging system, medium, and computing device
JP2017201776A (en) Content delivery through uneven network
JP2017208797A (en) Unified data networking across heterogeneous networks
CN109729189B (en) Method and device for configuring domain name
CN113452600A (en) Cross-region message communication method and device, electronic equipment and storage medium
WO2021232243A1 (en) Cluster management method, cluster management apparatus, storage medium and electronic device
US20150047009A1 (en) Access control method, access control system and access control device
US11509527B1 (en) Assisted and context-driven network changes
US20220138220A1 (en) Dedicated replication channels for replicating records between regions
CN114422436A (en) Gateway, gateway control method, gateway control device, electronic equipment and storage medium
US20120011250A1 (en) Communication program, communication method, and electric apparatus
US11784876B1 (en) System and method for managing the operation and remote provisioning of data processing systems
JP2005333546A (en) Vlan configuration management method, system and program
CN115190580A (en) Network function registration method, discovery method, device, equipment and medium

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: 18917856

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: 18917856

Country of ref document: EP

Kind code of ref document: A1