CN111786963A - Method and device for realizing communication process, storage medium and electronic device - Google Patents

Method and device for realizing communication process, storage medium and electronic device Download PDF

Info

Publication number
CN111786963A
CN111786963A CN202010537355.XA CN202010537355A CN111786963A CN 111786963 A CN111786963 A CN 111786963A CN 202010537355 A CN202010537355 A CN 202010537355A CN 111786963 A CN111786963 A CN 111786963A
Authority
CN
China
Prior art keywords
target
list
devices
communication
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010537355.XA
Other languages
Chinese (zh)
Other versions
CN111786963B (en
Inventor
王守峰
白雪
尹德帅
梁旭亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202010537355.XA priority Critical patent/CN111786963B/en
Publication of CN111786963A publication Critical patent/CN111786963A/en
Application granted granted Critical
Publication of CN111786963B publication Critical patent/CN111786963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention discloses a method and a device for realizing a communication process, a storage medium and an electronic device, wherein the method comprises the following steps: establishing an incidence relation between a first object and a second object, wherein the first object is registered on first equipment, and the second object is registered on second equipment; under the condition that the association relationship between the first object and the second object is established, acquiring a device list containing one or more second devices; and selecting a target second device from the device list to realize the communication process between the first object and the second object through the target second device, namely, selecting one target second device from the device list including the second device to communicate with the second device under the condition that the association relationship between the first object and the second object is established, so as to realize the communication process between the first object and the second object, and solve the problems that the communication between different objects cannot be realized through the communication from a device end to a device end in the related art.

Description

Method and device for realizing communication process, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for implementing a communication process, a storage medium, and an electronic apparatus.
Background
Under the internet of things era, independent objects are more intelligent, a family can be taken as an example, family equipment used by people is more and more intelligent, and the intelligent household equipment has more convenient functions of convenient networking, communication and the like, so that the equipment communication of people can be carried out at the right moment.
Generally, people's social contact is many-to-many social contact, and multiple-segment communication of different people can be generated within a certain time, and the communication mode is expanded to remote communication, namely, the communication requirement from a device end to a device end is generated. Meanwhile, as the equipment is more and more intelligent, the equipment not only stays at mobile equipment ends such as mobile phones, but also has a large number of household equipment ends and the function of communication.
At present, the commonly used communication is single-point communication, the single-point communication is based on communication among accounts, one-to-one communication is performed among devices in the communication process, and the communication from a device end to a device end cannot be realized, that is, different devices of one account can communicate with different communication parties, so that the communication efficiency among the devices is low.
Aiming at the problems that the communication between different objects cannot be realized through the communication from the equipment end to the equipment end and the like in the related technology, an effective solution is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a method and a device for realizing a communication process, a storage medium and an electronic device, which are used for at least solving the technical problem that the communication between different objects cannot be realized through the communication from a device end to a device end in the related technology.
According to an aspect of the embodiments of the present invention, a method for implementing a communication process is provided, including: establishing an incidence relation between a first object and a second object, wherein the first object is registered on a first device, and the second object is registered on a second device; under the condition that the association relationship between the first object and the second object is established, acquiring a device list containing one or more second devices; and selecting a target second device from the device list so as to realize the communication process of the first object and the second object through the target second device.
In an exemplary embodiment, establishing the association relationship between the first object and the second object includes: acquiring identification information of the second object, wherein the identification information is allocated when the second object is registered on second equipment and is used for uniquely identifying the second object; and adding the second object to the friend account list of the first object through the identification information.
In an exemplary embodiment, adding the second object to the friend account list of the first object by the identification information includes: sending the identification information to a data cloud end through the first equipment so that the data cloud end returns data of a second object corresponding to the identification information to the first equipment; and sending a friend application request to the data cloud based on the data of the second object, wherein the friend application request is sent to one or more second devices through the data cloud, and the second object is added to the friend account list of the first object under the condition that any second device of the second object on the one or more second devices agrees to the friend application request.
In one exemplary embodiment, obtaining a device list including one or more second devices includes: setting, by the second object, at least one of: a visible second device visible to a first object, a second device invisible to said first object; a device list containing one or more of the visible second devices is obtained.
In an exemplary embodiment, after selecting the target second device from the device list to implement the communication process between the first object and the second object through the target second device, the method further includes: in case that it is detected that there is a third object requesting communication with the second object and there is a connectable second device for the second object, a communication procedure of the second object and the third object is implemented through the connectable second device, wherein the third object is located in a friend account list of the second object.
In an exemplary embodiment, after selecting the target second device from the device list to implement the communication process between the first object and the second object through the target second device, the method further includes: and adjusting the display state of the target second device in the device list to a target state, wherein the target state is used for indicating that the target second device cannot establish connection.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for implementing a communication process, including: the device comprises an establishing module, a judging module and a judging module, wherein the establishing module is used for establishing an incidence relation between a first object and a second object, the first object is registered on first equipment, and the second object is registered on second equipment; an obtaining module, configured to obtain a device list including one or more second devices when an association relationship between the first object and the second object is established; and the selection module is used for selecting a target second device from the device list so as to realize the communication process of the first object and the second object through the target second device.
In an exemplary embodiment, the establishing module is configured to obtain identification information of the second object, where the identification information is allocated when the second object is registered on a second device, and is used to uniquely identify the second object; and adding the second object to the friend account list of the first object through the identification information.
In an exemplary embodiment, the creating module is further configured to send the identification information to a data cloud end through the first device, so that the data cloud end returns data of a second object corresponding to the identification information to the first device; and sending a friend application request to the data cloud based on the data of the second object, wherein the friend application request is sent to one or more second devices through the data cloud, and the second object is added to the friend account list of the first object under the condition that any second device of the second object on the one or more second devices agrees to the friend application request.
In an exemplary embodiment, the obtaining module is further configured to set, in the plurality of second devices, at least one of the following through the second object: a visible second device visible to a first object, a second device invisible to said first object; a device list containing one or more of the visible second devices is obtained.
In an exemplary embodiment, the selection module is configured to, in a case that it is detected that a third object requesting communication with the second object exists and a connectable second device exists for the second object, implement a communication process between the second object and the third object through the connectable second device, where the third object is located in a friend account list of the second object.
In an exemplary embodiment, the selecting module is further configured to adjust a display state of the target second device in the device list to a target state, where the target state is used to indicate that the target second device cannot establish a connection.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the implementation method of the above communication process when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the implementation method of the communication process through the computer program.
In the embodiment of the invention, an incidence relation between a first object and a second object is established, wherein the first object is registered on a first device, and the second object is registered on a second device; under the condition that the association relationship between the first object and the second object is established, acquiring a device list containing one or more second devices; and selecting a target second device from the device list to realize the communication process between the first object and the second object through the target second device, namely, selecting one target second device from the device list including the second device to communicate with the second device under the condition that the association relationship between the first object and the second object is established, so as to realize the communication process between the first object and the second object.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal for implementing a method of communication according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of implementing a communication process according to an embodiment of the present invention;
FIG. 3 is a schematic flow diagram of device-to-device communication according to an alternative embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an account flow for establishing a buddy identity according to an alternative embodiment of the present invention;
FIG. 5 is a schematic diagram of a communication flow when devices are not open to each other according to an alternative embodiment of the present invention;
fig. 6 is a schematic diagram of simultaneous establishment of a multi-port communication connection to registered devices in accordance with an alternative embodiment of the present invention;
fig. 7 is a block diagram of an apparatus for implementing a communication process according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a computer terminal or a similar operation device. Taking the example of running on a computer terminal, fig. 1 is a hardware structure block diagram of a computer terminal of an implementation method of a communication process according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the implementation method of the communication process in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for implementing a communication process is provided, and fig. 2 is a flowchart of a method for implementing a communication process according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, establishing an incidence relation between a first object and a second object, wherein the first object is registered on a first device, and the second object is registered on a second device;
step S204, under the condition that the association relationship between the first object and the second object is established, acquiring an equipment list containing one or more second equipment;
step S206, selecting a target second device from the device list, so as to implement a communication process between the first object and the second object through the target second device.
Through the steps, establishing an incidence relation between a first object and a second object, wherein the first object is registered on first equipment, and the second object is registered on second equipment; under the condition that the association relationship between the first object and the second object is established, acquiring a device list containing one or more second devices; and selecting a target second device from the device list to realize the communication process between the first object and the second object through the target second device, namely, selecting one target second device from the device list including the second device to communicate with the second device under the condition that the association relationship between the first object and the second object is established, so as to realize the communication process between the first object and the second object.
The step S202 can be implemented in various ways, and in an alternative embodiment, the following scheme can be implemented: acquiring identification information of the second object, wherein the identification information is allocated when the second object is registered on second equipment and is used for uniquely identifying the second object; the second object is added to the friend account list of the first object through the identification information, that is, through the above technical scheme, a friend adding process of the first object and the second object is realized, that is, an association relationship between the first object and the second object is established, wherein the association relationship between the first object and the second object may be the friend relationship or other association relationships, and the embodiment of the present invention does not limit this.
It should be noted that, when the second object is registered on the second device, after the registration is completed, the second device may allocate identification information that can uniquely identify the second object to the second object, and when the association relationship between the second object and the first object needs to be established, the first object obtains the identification information that can be used to uniquely identify the second object from the second object, so that the second object is added to the friend account list of the first object, and the establishment of the association relationship between the first object and the second object is completed according to the identification information.
In the embodiment of the present invention, the manner of adding the second object to the friend account list of the first object may be implemented by a data cloud (or other third party platforms), and optionally, the identification information is sent to the data cloud by the first device, so that the data cloud returns the data of the second object corresponding to the identification information to the first device; and sending a friend application request to the data cloud based on the data of the second object, wherein the friend application request is sent to one or more second devices through the data cloud, and the second object is added to the friend account list of the first object under the condition that any second device of the second object on the one or more second devices agrees to the friend application request.
That is, in the process of adding the second object to the friend account list of the first object, the first device uploads identification information corresponding to the second object to the data cloud, the data cloud includes a corresponding relationship between data of the second object and the identification information, after receiving the identification information uploaded by the first device, the data cloud returns data of the second object corresponding to the identification information uploaded by the first device to the first device, the first device sends a friend application request to one or more second devices through the data cloud according to the data of the second object, when any one of the second devices of the one or more second devices agrees to the friend application request, the second object is added to the friend account list of the first object, in short, the friend application request that the first object requests to add the second object to the friend account list may be displayed on the plurality of second devices, the second object may agree with the friend request at any one of the plurality of second devices.
In order to improve the security of the communication between the first device and the second device, the device list including one or more second devices is obtained, which may be implemented by the following technical solutions: setting, by the second object, at least one of: a visible second device visible to a first object, a second device invisible to said first object; obtaining a device list containing one or more visible second devices, wherein the second devices that are not visible to the first object may be home devices that are not conveniently searchable by other objects than the second object.
For example, in order to protect the security of the device, when the second object performs the second device registration (in the actual operation process, also at an occasion when any second object can operate the second device), the visible second device visible to the first object and the invisible second device invisible to the first object may be set in the plurality of second devices, and when the association relationship between the first object and the second object is established, the first object may obtain, from the data cloud, a device list including one or more visible second devices.
In an optional embodiment, after selecting the target second device from the device list to implement the communication process between the first object and the second object through the target second device, the method further includes: in case that it is detected that there is a third object requesting communication with the second object and there is a connectable second device for the second object, a communication procedure of the second object and the third object is implemented through the connectable second device, wherein the third object is located in a friend account list of the second object.
For example, the first device selects a target second device from a device list of the second device, so that a communication process between the first object and the second object is realized, and when it is detected that a third object is present to request communication with the second object and there is a second device available for connection among a plurality of second devices registered by the second object, if the third object is located in a friend account list of the second object, the communication process between the second object and the third object may be established.
It should be noted that, if there is no available second device for the third object to communicate with in the plurality of second devices registered by the second object, indication information may be returned to the third object to indicate that none of the plurality of second devices registered by the second object is currently connectable.
In an exemplary embodiment, after selecting the target second device from the device list to implement the communication process between the first object and the second object through the target second device, the method further includes: and adjusting the display state of the target second device in the device list to a target state, wherein the target state is used for indicating that the target second device cannot establish connection.
For example, if the first object and the second object have implemented communication, the display state of the target second device in the device list may be changed from the original red display to a display mode of another color, which should be noted that the red display mode and the display mode of another color are merely an example, and any implementation mode that can be displayed in the device list may be adopted in the practical application process.
In order to better understand the process of the implementation method of the communication process, the following describes an implementation method flow of the communication process with reference to an optional embodiment, but the implementation method flow is not limited to the technical solution of the embodiment of the present invention.
In an optional embodiment of the present invention, a device-to-device communication process is provided, where one device is selected from multiple devices bound under a name of a user (corresponding to an object in an embodiment of the present invention) having an established association relationship, and a device communication is initiated to one of the multiple devices bound under another name of the user.
For example, a current user a (corresponding to the first object of the foregoing embodiment) is bound with 3 devices (corresponding to the first device of the foregoing embodiment), a user B (corresponding to the second object of the foregoing embodiment) is also bound with 3 devices (corresponding to the second device of the foregoing embodiment), and communication between the user a and the user B is possible, as shown in fig. 3, the user a may select a device 1 from the 3 devices bound to itself to initiate communication to a device 1 of the 3 devices bound to the user B, and the user B listens to communication through the bound device 1.
Specifically, the communication between the devices is realized through the following procedures:
step 1, a user A and a user B register account numbers on equipment, a data cloud (which is equivalent to a data cloud in the embodiment of the invention) generates a unique account ID for both the user A and the user B, meanwhile, the equipment number of the current equipment is uploaded to the data cloud and is bound with the account number, and if the user has other equipment, the equipment number is also bound with the account number.
Step 2, the user a and the user B must communicate with each other in a friend identity, that is, the user a must add the user B as a friend, the user a may search the user B through the ID of the user B (equivalent to the identification information in the above embodiment) and add the user B as a friend, the data is queried from the data cloud and returned to the user a, after the user a sends a friend application, the user B may receive the application request and may select to pass or reject, as shown in fig. 4, an account flow diagram for establishing a friend identity is shown.
Step 3, after the user a successfully adds the user B as a friend account (which is equivalent to a friend account list in the embodiment of the present invention), a device may be selected from a device list under the account of the user B for communication, because the device selected from the device list is visible to the user a, that is, the device selected from the device list has certain security, and can be searched by other users except the user B, that is, the device is a device that is set as visible to the user a by the user B, and if the user B sets that the device is not open to the user a, the device is invisible to the user a.
Fig. 5 is a schematic diagram of a communication flow when devices are not mutually open according to an alternative embodiment of the present invention, for example, when user B has 2 devices (refrigerator device, tv device), wherein the tv device is set to be invisible to user a, and the refrigerator device is set to be visible to user a, user a can only see the refrigerator device and click on communication when querying a dialable device.
Step 4, the user a selects one device of the user B to perform communication, the communication from the device side to the device side is established, the device in communication is still visible to others, but connection cannot be established, which means that the device in communication is grayed out in the viewed device list (equivalent to the target state in the embodiment of the present invention), and communication cannot be clicked, but connection can still be established by other devices in the device list.
As shown in fig. 6, for example, user a communicates with user B through user B's refrigerator, at which time user C requests communication with user B's television, and a connection may be established as well if user B has someone else in his home.
According to the optional embodiment of the invention, not only can the communication between different objects be realized through the device-to-device communication connection, but also the devices bound under the same account can be realized after the communication establishment is finished, and after the account is associated, the multi-terminal devices can establish a communication connection scheme between the devices at the same time, namely, different devices of one account can communicate with different communication parties, so that the communication efficiency is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for implementing a communication process is further provided, where the device is used to implement the foregoing embodiment and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram of an apparatus for implementing a communication process according to an embodiment of the present invention, as shown in fig. 7, the apparatus includes:
(1) an establishing module 72, configured to establish an association relationship between a first object and a second object, where the first object is registered on a first device and the second object is registered on a second device;
(2) an obtaining module 74, configured to obtain a device list including one or more second devices when an association relationship between the first object and the second object is established;
(3) a selecting module 76, configured to select a target second device from the device list, so as to implement a communication process between the first object and the second object through the target second device.
By the device, an incidence relation between a first object and a second object is established, wherein the first object is registered on first equipment, and the second object is registered on second equipment; under the condition that the association relationship between the first object and the second object is established, acquiring a device list containing one or more second devices; and selecting a target second device from the device list to realize the communication process between the first object and the second object through the target second device, namely, selecting one target second device from the device list including the second device to communicate with the second device under the condition that the association relationship between the first object and the second object is established, so as to realize the communication process between the first object and the second object.
In an optional embodiment, the establishing module 72 is configured to obtain identification information of the second object, where the identification information is allocated when the second object is registered on a second device, and is used to uniquely identify the second object; the second object is added to the friend account list of the first object through the identification information, that is, through the above technical scheme, a friend adding process of the first object and the second object is realized, that is, an association relationship between the first object and the second object is established, wherein the association relationship between the first object and the second object may be the friend relationship or other association relationships, and the embodiment of the present invention does not limit this.
It should be noted that, when the second object is registered on the second device, after the registration is completed, the second device may allocate identification information that can uniquely identify the second object to the second object, and when the association relationship between the second object and the first object needs to be established, the first object obtains the identification information that can be used to uniquely identify the second object from the second object, so that the second object is added to the friend account list of the first object, and the establishment of the association relationship between the first object and the second object is completed according to the identification information.
In an embodiment of the present invention, the establishing module is further configured to send the identification information to a data cloud end through the first device, so that the data cloud end returns data of a second object corresponding to the identification information to the first device; and sending a friend application request to the data cloud based on the data of the second object, wherein the friend application request is sent to one or more second devices through the data cloud, and the second object is added to the friend account list of the first object under the condition that any second device of the second object on the one or more second devices agrees to the friend application request. Optionally, the implementation manner of adding the second object to the friend account list of the first object may be implemented by a data cloud (or other third party platforms).
That is, in the process of adding the second object to the friend account list of the first object, the first device uploads identification information corresponding to the second object to the data cloud, the data cloud includes a corresponding relationship between data of the second object and the identification information, after receiving the identification information uploaded by the first device, the data cloud returns data of the second object corresponding to the identification information uploaded by the first device to the first device, the first device sends a friend application request to one or more second devices through the data cloud according to the data of the second object, when any one of the second devices of the one or more second devices agrees to the friend application request, the second object is added to the friend account list of the first object, in short, the friend application request that the first object requests to add the second object to the friend account list may be displayed on the plurality of second devices, the second object may agree with the friend request at any one of the plurality of second devices.
In an embodiment of the present invention, in order to improve security when performing communication between the first device and the second device, the obtaining module is further configured to set, by the second object, at least one of the following in the plurality of second devices: a visible second device visible to a first object, a second device invisible to said first object; obtaining a device list containing one or more visible second devices, wherein the second devices that are not visible to the first object may be home devices that are not conveniently searchable by other objects than the second object.
For example, in order to protect the security of the device, when the second object performs the second device registration (in the actual operation process, also at an occasion when any second object can operate the second device), the visible second device visible to the first object and the invisible second device invisible to the first object may be set in the plurality of second devices, and when the association relationship between the first object and the second object is established, the first object may obtain, from the data cloud, a device list including one or more visible second devices.
In an exemplary embodiment, the selection module is configured to, in a case that it is detected that a third object requesting communication with the second object exists and a connectable second device exists for the second object, implement a communication process between the second object and the third object through the connectable second device, where the third object is located in a friend account list of the second object.
For example, the first device selects a target second device from a device list of the second device, so that a communication process between the first object and the second object is realized, and when it is detected that a third object is present to request communication with the second object and there is a second device available for connection among a plurality of second devices registered by the second object, if the third object is located in a friend account list of the second object, the communication process between the second object and the third object may be established.
It should be noted that, if there is no available second device for the third object to communicate with in the plurality of second devices registered by the second object, indication information may be returned to the third object to indicate that none of the plurality of second devices registered by the second object is currently connectable.
In an exemplary embodiment, the selecting module is further configured to adjust a display state of the target second device in the device list to a target state, where the target state is used to indicate that the target second device cannot establish a connection.
For example, if the first object and the second object have implemented communication, the display state of the target second device in the device list may be changed from the original red display to a display mode of another color, which should be noted that the red display mode and the display mode of another color are merely an example, and any implementation mode that can be displayed in the device list may be adopted in the practical application process.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, establishing an incidence relation between a first object and a second object, wherein the first object is registered on a first device, and the second object is registered on a second device;
s2, acquiring a device list containing one or more second devices under the condition that the first object and the second object have established an association relation;
and S3, selecting a target second device from the device list so as to realize the communication process of the first object and the second object through the target second device.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, establishing an incidence relation between a first object and a second object, wherein the first object is registered on a first device, and the second object is registered on a second device;
s2, acquiring a device list containing one or more second devices under the condition that the first object and the second object have established an association relation;
and S3, selecting a target second device from the device list so as to realize the communication process of the first object and the second object through the target second device.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for implementing a communication process, comprising:
establishing an incidence relation between a first object and a second object, wherein the first object is registered on a first device, and the second object is registered on a second device;
under the condition that the association relationship between the first object and the second object is established, acquiring a device list containing one or more second devices;
and selecting a target second device from the device list so as to realize the communication process of the first object and the second object through the target second device.
2. The method of claim 1, wherein establishing the association relationship between the first object and the second object comprises:
acquiring identification information of the second object, wherein the identification information is allocated when the second object is registered on second equipment and is used for uniquely identifying the second object; and adding the second object to the friend account list of the first object through the identification information.
3. The method of claim 2, wherein adding the second object to the friend account list of the first object through the identification information comprises:
sending the identification information to a data cloud end through the first equipment so that the data cloud end returns data of a second object corresponding to the identification information to the first equipment;
and sending a friend application request to the data cloud based on the data of the second object, wherein the friend application request is sent to one or more second devices through the data cloud, and the second object is added to the friend account list of the first object under the condition that any second device of the second object on the one or more second devices agrees to the friend application request.
4. The method of claim 1, wherein obtaining a device list containing one or more second devices comprises:
setting, by the second object, at least one of: a visible second device visible to a first object, a second device invisible to said first object;
a device list containing one or more of the visible second devices is obtained.
5. The method of claim 1, wherein after selecting the target second device from the device list to implement the communication procedure of the first object and the second object through the target second device, the method further comprises:
in case that it is detected that there is a third object requesting communication with the second object and there is a connectable second device for the second object, a communication procedure of the second object and the third object is implemented through the connectable second device, wherein the third object is located in a friend account list of the second object.
6. The method of claim 1, wherein after selecting the target second device from the device list to implement the communication procedure of the first object and the second object through the target second device, the method further comprises:
and adjusting the display state of the target second device in the device list to a target state, wherein the target state is used for indicating that the target second device cannot establish connection.
7. An apparatus for implementing a communication process, comprising:
the device comprises an establishing module, a judging module and a judging module, wherein the establishing module is used for establishing an incidence relation between a first object and a second object, the first object is registered on first equipment, and the second object is registered on second equipment;
an obtaining module, configured to obtain a device list including one or more second devices when an association relationship between the first object and the second object is established;
and the selection module is used for selecting a target second device from the device list so as to realize the communication process of the first object and the second object through the target second device.
8. The apparatus according to claim 7, wherein the establishing module is configured to obtain identification information of the second object, where the identification information is allocated when the second object is registered on a second device, and is used to uniquely identify the second object; and adding the second object to the friend account list of the first object through the identification information.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202010537355.XA 2020-06-12 2020-06-12 Method and device for realizing communication process, storage medium and electronic device Active CN111786963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010537355.XA CN111786963B (en) 2020-06-12 2020-06-12 Method and device for realizing communication process, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010537355.XA CN111786963B (en) 2020-06-12 2020-06-12 Method and device for realizing communication process, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111786963A true CN111786963A (en) 2020-10-16
CN111786963B CN111786963B (en) 2022-10-28

Family

ID=72756363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010537355.XA Active CN111786963B (en) 2020-06-12 2020-06-12 Method and device for realizing communication process, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111786963B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635770A (en) * 2003-12-25 2005-07-06 华为技术有限公司 Implementing method for preventing missed call
CN103152715A (en) * 2013-03-16 2013-06-12 唐启鹏 Method for forwarding voice calls between mobile terminals
CN105915499A (en) * 2015-12-14 2016-08-31 乐视致新电子科技(天津)有限公司 Communication method and equipment
WO2016165584A1 (en) * 2015-04-13 2016-10-20 乐视控股(北京)有限公司 Communication method and device between terminal
CN106411687A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Method and apparatus for interaction between network access device and bound user
CN106572452A (en) * 2016-10-27 2017-04-19 乐视控股(北京)有限公司 Call forwarding method and system
CN106685978A (en) * 2017-01-04 2017-05-17 北京奇虎科技有限公司 Method and apparatus of controlling access permission among multi devices, and mobile terminal
WO2018072656A1 (en) * 2016-10-19 2018-04-26 腾讯科技(深圳)有限公司 Multi-terminal communication method, server, terminal, and storage medium
CN110191241A (en) * 2019-06-14 2019-08-30 华为技术有限公司 A kind of voice communication method and relevant apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635770A (en) * 2003-12-25 2005-07-06 华为技术有限公司 Implementing method for preventing missed call
CN103152715A (en) * 2013-03-16 2013-06-12 唐启鹏 Method for forwarding voice calls between mobile terminals
WO2016165584A1 (en) * 2015-04-13 2016-10-20 乐视控股(北京)有限公司 Communication method and device between terminal
CN106411687A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Method and apparatus for interaction between network access device and bound user
CN105915499A (en) * 2015-12-14 2016-08-31 乐视致新电子科技(天津)有限公司 Communication method and equipment
WO2018072656A1 (en) * 2016-10-19 2018-04-26 腾讯科技(深圳)有限公司 Multi-terminal communication method, server, terminal, and storage medium
CN107968767A (en) * 2016-10-19 2018-04-27 腾讯科技(深圳)有限公司 A kind of multi-terminal communication method, server and first terminal
CN106572452A (en) * 2016-10-27 2017-04-19 乐视控股(北京)有限公司 Call forwarding method and system
CN106685978A (en) * 2017-01-04 2017-05-17 北京奇虎科技有限公司 Method and apparatus of controlling access permission among multi devices, and mobile terminal
CN110191241A (en) * 2019-06-14 2019-08-30 华为技术有限公司 A kind of voice communication method and relevant apparatus

Also Published As

Publication number Publication date
CN111786963B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
EP3512118A1 (en) Method and device for transmitting response message
US10887745B2 (en) Method and device for sharing file between different terminals
CN103200300B (en) Terminal and resource sharing method
CN111885115A (en) Equipment binding change method and device
CN109996260B (en) Configuration system, client device, embedded device configuration method and storage medium
CN104506594A (en) Data communication method and system for social application system
CN111885594A (en) Equipment binding method and device
CN111556477B (en) Method for establishing decentralized Bluetooth SIG mesh network and intelligent lighting system applying same
CN104735810A (en) Method and device for establishing connecting between terminals
CN109005044A (en) Data transfer control method and relevant apparatus
CN113434844A (en) Intelligent scene building method and device, storage medium and electronic equipment
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN106255074B (en) A kind of group's method for building up and device
CN113285810B (en) Target equipment login method and device, storage medium and electronic device
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN112738785B (en) Device connection method and apparatus, storage medium, and electronic apparatus
JP2019514245A (en) Method and device for establishing an association between terminal devices
CN104969598B (en) A kind of method and apparatus using white spectrum communication
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN111786963B (en) Method and device for realizing communication process, storage medium and electronic device
CN112333764A (en) Network slice selection method and device, slice mapping system and network equipment
CN103763087B (en) Information processing method and electronic equipment
CN105704705A (en) Method for switching terminals with shared eSIM information, terminal and server
CN104486803A (en) Adaptation method of cellular mobile network, terminal device and cloud server
CN106341861B (en) Method, server and system for identifying wireless access point

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant