CN112104755A - Interactive control method, device and equipment - Google Patents

Interactive control method, device and equipment Download PDF

Info

Publication number
CN112104755A
CN112104755A CN202011298429.5A CN202011298429A CN112104755A CN 112104755 A CN112104755 A CN 112104755A CN 202011298429 A CN202011298429 A CN 202011298429A CN 112104755 A CN112104755 A CN 112104755A
Authority
CN
China
Prior art keywords
client
information
target
login
login account
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.)
Pending
Application number
CN202011298429.5A
Other languages
Chinese (zh)
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.)
Shenzhen Fangduoduo Network Technologies Co ltd
Original Assignee
Shenzhen Fangduoduo Network Technologies 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 Shenzhen Fangduoduo Network Technologies Co ltd filed Critical Shenzhen Fangduoduo Network Technologies Co ltd
Priority to CN202011298429.5A priority Critical patent/CN112104755A/en
Publication of CN112104755A publication Critical patent/CN112104755A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention relates to the technical field of network remote control, and discloses an interactive control method, device and equipment, wherein the method comprises the following steps: receiving an interaction request initiated by a first client through an HTTP/HTTPS connection; acquiring a login account and operation information of a first client according to the interaction request; if the login account number simultaneously logs in a second client, taking the second client as a target client; and generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through Web Socket connection so that the target client operates according to the remote interactive message. Through the mode, the embodiment of the invention can greatly reduce the operation time of operation across a plurality of clients, improve the working efficiency and improve the user experience.

Description

Interactive control method, device and equipment
Technical Field
The embodiment of the invention relates to the technical field of network remote control, in particular to an interactive control method, device and equipment.
Background
With the rise of mobile internet and the continuous increase of house sales transaction amount, house management platforms across multiple clients appear in succession. In the process of using the house management platform, a user may use an APP (Application) and a browser of the platform at the same time. At the APP end, the user can use the mobile terminal to take pictures, videos or make calls, and at the terminal equipment, such as a PC (Personal Computer), which uses a browser to log on the house management platform, such operations are obviously inconvenient. For example, when a user views detailed information of a house source or a client by using a PC, the resource in the mobile terminal needs to be uploaded, at this time, the resource in the mobile terminal is either first imported into the PC and then uploaded to the corresponding house source or client in a browser of the house management platform, or the user manually finds the corresponding house source or client in an APP of the house management platform and then uploads the resource.
In the process of implementing the embodiment of the present invention, the inventors found that: when the operation is carried out across a plurality of clients, the operation method of the existing house management platform system is time-consuming and low in efficiency.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide an interactive control method, apparatus and device, which are used to solve the problem in the prior art that efficiency is low when an operation is performed across multiple clients.
According to an aspect of an embodiment of the present invention, an interactive control method is provided, in which a server establishes an HTTP/HTTPs connection with a first client, and the server establishes a Web Socket connection with a second client, and the method includes:
receiving an interaction request initiated by the first client through the HTTP/HTTPS connection;
acquiring a login account and operation information of the first client according to the interaction request;
if the login account number simultaneously logs in the second client, taking the second client as a target client;
and generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through the Web Socket connection so that the target client operates according to the remote interactive message.
In an optional manner, the operation information includes an identifier of an operation object;
the enabling the target client to operate according to the remote interaction message includes:
and enabling the target client to search the information of the operation object according to the identification of the operation object and display the information of the operation object in a page.
In an alternative mode, the operation information comprises contact information;
the enabling the target client to operate according to the remote interaction message includes:
and calling the target client by calling the voice calling control according to the contact information.
In an optional mode, the server establishes a Web Socket connection with a third client;
after obtaining the login account and the operation information of the first client according to the interaction request, the method further includes:
judging whether the login account logs in a second client and a third client at the same time, if so, determining priority information of the second client and the third client according to the login account;
and determining the target client according to the priority information.
In an optional manner, the determining priority information of the second client and the third client according to the login account includes:
acquiring second client information and third client information associated with the login account according to the login account;
acquiring the latest login time, login times and login duration information of each client in a preset time period according to the second client information and the third client information;
and determining the priority information of the second client and the third client according to the latest login time of each client, the login times in a preset time period and the weight value of the login duration information.
In an optional manner, after the causing the target client to invoke the voice call control to make a call according to the contact information, the method further includes:
and if the voice call control is in the called state, re-determining the target client according to the priority information.
In an optional mode, the server establishes a Web Socket connection with a third client;
after obtaining the login account and the operation information of the first client according to the interaction request, the method further includes:
and judging whether the login account logs in a second client and the third client at the same time, if so, sending the second client information and the third client information to the first client, so that the first client determines a target client according to the second client information and the third client information.
In an optional manner, after the causing the target client to invoke the voice call control to make a call according to the contact information, the method further includes:
and if the voice call control is in the called state, sending the second client information and the third client information to the first client so that the first client can determine a target client again according to the second client information and the third client information.
According to another aspect of the embodiments of the present invention, there is provided an interactive control apparatus, where the apparatus establishes an HTTP/HTTPs connection with a first client and establishes a Web Socket connection with a second client, the apparatus including:
a receiving module, configured to receive, through the HTTP/HTTPs connection, an interaction request initiated by the first client;
the acquisition module is used for acquiring a login account and operation information of the first client according to the interaction request;
the determining module is used for taking the second client as a target client if the login account logs in the second client at the same time;
and the sending module is used for generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through the Web Socket connection so that the target client operates according to the remote interactive message.
According to still another aspect of an embodiment of the present invention, there is provided an interactive control apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation of the interactive control method.
In the interactive control method provided by the embodiment of the invention, the server receives the interactive request sent by the first client through the HTTP/HTTPS connection, acquires the login account and the operation information of the first client, generates the remote interactive message according to the operation information, and sends the remote interactive message to the target client which logs in the login account at the same time through the Web Socket connection, so that the target client operates according to the remote interactive message. By the method, the operation information of the first client can be sent to the target client which logs in the same account through the server, so that the target client can operate quickly according to the operation information, the operation time of operation across multiple clients is greatly reduced, the working efficiency is improved, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of an interactive control method provided by an embodiment of the invention;
FIG. 2 is a schematic structural diagram of an interactive control device provided by an embodiment of the invention;
fig. 3 shows a schematic structural diagram of an interactive control device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein.
The embodiment of the invention is mainly applied to a house management platform scene spanning multiple clients. A user logs in a house management platform by using a login account of the user through a browser end on a PC terminal or other terminal equipment; and logging in the house management platform by using the same login account number through one or more mobile terminals (such as a mobile phone, a tablet personal computer and the like) through the APP terminal. Preferably, a connection is established between the browser and the server of the premises management platform through HTTP/HTTPs (HyperText Transfer Protocol/HyperText Transfer Protocol over secure session Layer) for communication, and a connection is established between the APP and the server of the premises management platform through a Web Socket Protocol for communication. An interactive mode of establishing a long connection by using real-time communication (IM) is common between the APP side and the server.
Fig. 1 shows a flowchart of an interactive control method provided by an embodiment of the present invention, which is applied to the above-mentioned premises management platform. The method may be performed by a server of the premises management platform described above. The server establishes HTTP/HTTPS connection with a first client and establishes Web Socket connection with a second client. As shown in fig. 1, the method comprises the steps of:
step 110: and receiving the interaction request initiated by the first client through the HTTP/HTTPS connection.
In an optional embodiment, step 110 specifically includes:
step 111: and the user uses the login account to operate the operation object through the first client.
The operation object comprises a house source or a client. The first client may be a browser side of a premises management platform. Specifically, a user logs in a house management platform through a first client by using a login account of the user on a PC terminal or other terminal equipment, and operates an operation object. For example, if the user wants to view the detailed information of the operation object at the APP end on the mobile terminal, or wants to dial the contact phone of the operation object at the mobile terminal, the "open in APP" or "one-touch call" button of the operation object may be clicked at the first client.
Step 112: and responding to the operation of the user on the operation object, generating an interaction request comprising a login account and operation information by the first client, and sending the interaction request to the server through the HTTP/HTTPS connection.
Specifically, the first client generates an interaction request including a user login account and operation information according to the operation of the user, and sends the interaction request to the server of the house management platform. The operation information includes an operation object identification or contact information. When the user clicks a quick open button of the operation object through the first client, such as an "open in APP" button, the operation information is an identifier of the operation object. For example, when a user views a certain house source at a browser end, the user wants to open a detailed information page of the house source at an APP client of a mobile phone, and clicks an "open in APP" button, and then the browser end generates an interaction request including a login account and a house source identifier of the user and sends the interaction request to a server. When the user clicks the quick call of the operation object through the first client, such as a 'one-touch call' button, the operation information is contact information. For example, when a user views a certain client at a browser end, the user wants to directly dial a phone call of the client on a mobile phone, and after clicking a 'one-key call' button of a client page, the browser end generates an interactive request comprising a login account number and client contact information of the user and sends the interactive request to a server.
Step 113: and the server receives an interaction request which is sent by the first client and comprises a login account and operation information through an HTTP/HTTPS connection.
Step 120: and acquiring the login account and the operation information of the first client according to the interaction request.
Specifically, the server extracts a login account and operation information of the user at the first client from the interaction request.
Step 130: and if the login account logs in the second client at the same time, taking the second client as a target client.
Specifically, the server determines that the user uses the login account and logs in the second client at the same time according to the login account, and then takes the second client as the target client. The second client may be an APP which is logged in at the same time on the mobile terminal using the login account and is in an open state.
Specifically, the server stores information lists of all clients in a login state with the same login account, and the server can search the second client according to the information lists of the clients. The client information includes a terminal device identification. For example, for all the terminal device identifiers of the User1 that are in the login state at the same time and for which the login account User1 of the User1 is stored in the server: PC1, Phone1, and the like. The PC1 is the browser client information, and the Phone1 is the APP client information. The server can find out the APP client information Phone1 in the login state at the same time according to the login account User1 included in the interactive request, and the APP end on the Phone1 is used as the target client.
In some cases, there may be multiple APP clients that log in to the same login account at the same time. In a first optional implementation, the server establishes a Web Socket connection with a third client. Step 120 may be followed by further comprising:
step 140: judging whether the login account logs in a second client and a third client at the same time, if so, determining priority information of the second client and the third client according to the login account;
specifically, the server determines that the user logs in the second client and the third client simultaneously by using the login account according to the login account, and then determines priority information of the second client and the third client according to the login account. The second client and the third client may be APP terminals that are simultaneously logged in on the mobile terminal using the login account and are in an open state.
As described above, the server may find the second client and the third client according to the client information list. The client information includes a terminal device identification. For example, for all the terminal device identifiers of the User1 that are in the login state at the same time and for which the login account User1 of the User1 is stored in the server: PC1, Phone1, Phone2, and the like. The PC1 is browser client information, and the Phone1 and Phone2 are APP client information. The server can find out APP client information Phone1 and Phone2 in the login state at the same time according to the login account User1 included in the interaction request, that is, it can be determined that the login account User1 simultaneously logs in a second client corresponding to Phone1 and a third client corresponding to Phone 2.
In an optional embodiment, determining the priority information of the second client and the third client according to the login account includes:
step 141: and acquiring second client information and third client information associated with the login account according to the login account.
Specifically, the server can find the second client information Phone1 and the third client information Phone2 which are in the login state at the same time according to the login account User 1.
Step 142: and acquiring the latest login time, login times in a preset time period and login duration information of each client according to the second client information and the third client information.
Specifically, the server records a login information table of the latest login time, the login times within a preset time period, and the login duration corresponding to the client information (i.e., the terminal device identifier). For example, the login times in the preset time period are login times in 3 days, the login duration information is total login duration in 3 days, and a terminal device login information table is shown in table 1.
TABLE 1
Terminal equipment identification Phone1 Terminal equipment identification Phone2
Most recent time of login 11 months, 5 days, 16 hours and 5 minutes 11 months, 4 days, 18 hours and 12 minutes
Number of logins in 3 days 3 4
Total login duration in 3 days 30 minutes 20 minutes
Step 143: and determining the priority information of the second client and the third client according to the latest login time of each client, the login times in a preset time period and the weight value of the login duration information.
Specifically, the server may set the weight values of the latest login time, the login times within a preset time period, and the login duration information of each client to α, β, and γ, respectively. The server records the latest login time value T of the client with the latest login time (namely the client corresponding to the terminal equipment identifier) as 1, and records the rest as 0; recording the value F of the login times of the client with the maximum login times in 3 days as 1, and recording the rest as 0; and recording the total login duration value S of the client with the maximum total login duration within 3 days as 1, and recording the rest as 0. If a plurality of clients are the same, all the values are marked as 1. Then the priority value P = T α + F β + S γ for a certain client. Taking table 1 as an example, values of α, β, and γ are 0.4, 0.3, and 0.3, respectively, the priority value P1= T1 α + F1 β + S1 γ =1 0.4+ 0.3+1 × 0.3=0.7 for the second client corresponding to Phone1, and the priority value P2= T2 α + F2 β + S2 × γ = 0.4+1 × 0.3+ 0.3=0.3 for the third client corresponding to Phone 2.
Step 150: and determining the target client according to the priority information.
Specifically, the server determines, according to priority information (i.e., priority values) of the second client and the third client, the second client having a higher priority value as the target client.
In a second optional implementation, the server establishes a Web Socket connection with a third client. Step 120 may be followed by further comprising:
step 160: and judging whether the login account logs in a second client and the third client at the same time, if so, sending the second client information and the third client information to the first client, so that the first client determines a target client according to the second client information and the third client information.
As described above, the server may find out that the user logs in the second client and the third client simultaneously using the login account according to the client information list, and then send the second client information Phone1 and the third client information Phone2 to the first client. After the first client receives the second client information Phone1 and the third client information Phone2, the user selects one of the second client information and the third client information as a target client.
In the above case that the same login account logs in multiple APP clients simultaneously, the target client is determined according to the client priority information or by user selection, so that the flexibility of the interactive control method provided by the implementation can be increased, and the user service experience is further improved.
Step 170: and generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through the Web Socket connection so that the target client operates according to the remote interactive message.
Specifically, the Web Socket connection may be an IM long connection. In order to enable the target client to sense the content of remote operation, a remote interaction message type can be newly added in the IM message type, and after receiving the message of the type, the target client performs operation according to the operation information in the message.
In an optional embodiment, if the operation information includes an identifier of an operation object, the "operating the target client according to the remote interaction message" specifically includes:
step 171: and enabling the target client to search the information of the operation object according to the identification of the operation object and display the information of the operation object in a page.
Specifically, the identifier of the operation object may include a house source identifier or a client identifier. After receiving the remote interactive message, the target client extracts the house source identifier or the client identifier, searches the information of the corresponding house source or client according to the house source identifier or the client identifier, and displays the information of the house source or the client in the APP page. Through the mode, the user does not need to manually search the house source or the client which is being checked by the browser end at the APP end, and only needs to click the 'open in APP' button at the browser end, so that the detailed information of the house source or the client can be directly displayed at the APP end for logging in the same login account, the time is saved, and the efficiency is improved.
In an alternative embodiment, the information of the operation object may be multimedia information of a house source or a customer, such as a picture or video information of the house source or the customer. Specific steps 171 may include: if the target client finds the multimedia information of the house source or the client according to the house source identification or the client identification, displaying the multimedia information of the house source or the client in a page; otherwise, the target client uploads the multimedia information of the house source or the client. By the mode, the user can conveniently and rapidly upload multimedia information such as pictures or videos of house sources or clients in the mobile terminal through the APP terminal.
In an optional embodiment, if the operation information includes contact information (i.e., contact information of an operation object), "enabling the target client to operate according to the remote interaction message" specifically includes:
step 172: and calling the target client by calling the voice calling control according to the contact information.
Specifically, the contact information may be a telephone number. After receiving the remote interactive message, the target client extracts the telephone number information in the remote interactive message, and directly calls a voice call control in the mobile terminal system to call according to the telephone number information. Through the mode, when a user looks up a certain house source or a client at the browser end, if the user needs to dial the telephone of the contact of the house source or the client, the user does not need to dial after manually searching the contact information of the house source or the client at the APP end, and only needs to click the 'one-key calling' button at the browser end, the user can directly dial the telephone of the house source or the client at the APP end logging in the same login account number, so that the time is saved, and the efficiency is improved.
In an optional implementation, if the target ue is determined by the priority information, step 172 includes: and if the voice call control is in the called state, re-determining the target client according to the priority information.
Specifically, the voice call control in the mobile terminal system corresponding to the second client determined according to the priority information may be in a called state, that is, the mobile terminal may be in a voice call state, and the second client may send a response message to the server to notify the server that the operation according to the remote interaction message fails. And after receiving the response message, the server re-determines the target client according to the priority information, and if a third client with a higher priority value is determined to be the target client, the server sends a remote interaction message containing the operation information to the third client.
In an optional implementation, if the target client is determined by the first client, step 172 includes: and if the voice call control is in the called state, sending the second client information and the third client information to the first client so that the first client can determine a target client again according to the second client information and the third client information.
As described above, the voice call control may be in a called state, and the second client may send a response message to the server to notify the server that the operation according to the remote interaction message fails. And after receiving the response message, the server sends the second client information and the third client information to the first client to indicate that the second client is in a call occupation state, so that the first client can reselect, if the third client is determined to be a target client. Subsequently, the server sends a remote interactive message containing the operation information to the third client.
By the method, when the target client is in the call occupation state, a new target client can be determined again, and the call success rate is improved.
In the interactive control method provided by the embodiment of the invention, the server receives the interactive request sent by the first client through the HTTP/HTTPS connection, acquires the login account and the operation information of the first client, generates the remote interactive message according to the operation information, and sends the remote interactive message to the target client which logs in the login account at the same time through the Web Socket connection, so that the target client operates according to the remote interactive message. By the method, the operation information of the first client can be sent to the target client which logs in the same account through the server, so that the target client can operate quickly according to the operation information, the information searching flow of the target client is reduced, the operation time of operating the same operation object by crossing a plurality of clients is greatly reduced, the working efficiency is improved, and the user experience is improved.
Fig. 2 is a schematic structural diagram of an interactive control device according to an embodiment of the present invention. The device is applied to the house management platform and can specifically correspond to a server of the house management platform. The device establishes HTTP/HTTPS connection with a first client and establishes Web Socket connection with a second client. As shown in fig. 2, the apparatus 200 includes:
a receiving module 210, configured to receive, through the HTTP/HTTPs connection, an interaction request initiated by the first client;
an obtaining module 220, configured to obtain a login account and operation information of the first client according to the interaction request;
a first determining module 230, configured to, if the login account logs in the second client at the same time, take the second client as a target client;
a sending module 240, configured to generate a remote interaction message including the operation information, and send the remote interaction message to the target client through the Web Socket connection, so that the target client operates according to the remote interaction message.
In an optional manner, the operation information includes an identifier of an operation object, and the sending module 240 includes:
a first sending unit 241, configured to generate a remote interaction message including the identifier of the operation object, send the remote interaction message to the target client through the Web Socket connection, so that the target client searches for the information of the operation object according to the identifier of the operation object, and displays the information of the operation object in a page.
In an optional manner, the operation information includes contact information, and the sending module 240 includes:
a second sending unit 242, configured to generate a remote interaction message including the contact information, and send the remote interaction message to the target client through the Web Socket connection, so that the target client calls a voice call control to make a call according to the contact information.
In an optional mode, the interactive control device establishes a Web Socket connection with a third client; the apparatus further comprises:
a second determining module 250, configured to determine whether the login account logs in a second client and the third client at the same time, and if so, determine priority information of the second client and the third client according to the login account; and determining the target client according to the priority information.
Optionally, the second determining module 250 includes:
a client information obtaining unit 251, configured to obtain, according to the login account, second client information and third client information associated with the login account;
a login information obtaining unit 252, configured to obtain the latest login time of each client, the login times in a preset time period, and login duration information according to the second client information and the third client information;
a priority information determining unit 253, configured to determine priority information of the second client and the third client according to the latest login time of each client, the login times in a preset time period, and a weight value of login duration information.
Optionally, the second determining module 250 includes:
and the first redirecting unit 254 is configured to, if the voice call control is in the invoked state, re-determine the target client according to the priority information.
In an optional mode, the interactive control device establishes a Web Socket connection with a third client; the apparatus further comprises:
a third determining module 260, configured to determine whether the login account logs in a second client and the third client at the same time, and if so, send the second client information and the third client information to the first client, so that the first client determines a target client according to the second client information and the third client information.
Optionally, the third determining module 260 includes:
a second redirecting unit 261, configured to send the second client information and the third client information to the first client if the voice call control is in the invoked state, so that the first client determines a target client again according to the second client information and the third client information.
It should be noted that the interactive control apparatus and the interactive control method provided in the embodiment of the present invention are based on the same concept, and details can be referred to the description in the embodiment of the interactive control method, and are not described herein again.
The interactive control device provided by the embodiment of the invention receives an interactive request sent by a first client through HTTP/HTTPS connection, acquires a login account and operation information of the first client, generates a remote interactive message according to the operation information, and sends the remote interactive message to a target client which logs in the login account at the same time through Web Socket connection, so that the target client operates according to the remote interactive message. Through the interactive control device, the operation information of the first client can be sent to the target client which logs in the same account, so that the target client can operate quickly according to the operation information, the information searching flow of the target client is reduced, the time for operation of crossing a plurality of clients to the same operation object is greatly reduced, the working efficiency is improved, and the user experience is improved.
Fig. 3 is a schematic structural diagram of an interactive control device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the interactive control device. The equipment is applied to the house management platform and can specifically correspond to a server of the house management platform. The device establishes HTTP/HTTPS connection with a first client and establishes Web Socket connection with a second client.
As shown in fig. 3, the interactive control apparatus may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308. A communication interface 304 for communicating with network elements of other devices, such as clients or other servers. The processor 302 is configured to execute the program 310, and may specifically execute the relevant steps in the above-described embodiment of the interactive control method.
In particular, program 310 may include program code comprising computer-executable instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The interactive control device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Specifically, the program 310 may be invoked by the processor 302 to cause the interactive control device to perform the following operations:
receiving an interaction request initiated by the first client through the HTTP/HTTPS connection;
acquiring a login account and operation information of the first client according to the interaction request;
if the login account number simultaneously logs in the second client, taking the second client as a target client;
and generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through the Web Socket connection so that the target client operates according to the remote interactive message.
In an optional manner, the operation information includes an identifier of an operation object;
the enabling the target client to operate according to the remote interaction message includes:
and enabling the target client to search the information of the operation object according to the identification of the operation object and display the information of the operation object in a page.
In an optional manner, the operation information includes contact information;
the enabling the target client to operate according to the remote interaction message includes:
and calling the target client by calling the voice calling control according to the contact information.
In an optional implementation manner, the interactive control device establishes a Web Socket connection with a third client;
after obtaining the login account and the operation information of the first client according to the interaction request, the method further includes:
judging whether the login account logs in a second client and a third client at the same time, if so, determining priority information of the second client and the third client according to the login account;
and determining the target client according to the priority information.
Optionally, the determining the priority information of the second client and the third client according to the login account includes:
acquiring second client information and third client information associated with the login account according to the login account;
acquiring the latest login time, login times and login duration information of each client in a preset time period according to the second client information and the third client information;
and determining the priority information of the second client and the third client according to the latest login time of each client, the login times in a preset time period and the weight value of the login duration information.
Optionally, after the target client calls the voice call control to make a call according to the contact information, the method further includes:
and if the voice call control is in the called state, re-determining the target client according to the priority information.
In an optional implementation manner, the interactive control device establishes a Web Socket connection with a third client;
after obtaining the login account and the operation information of the first client according to the interaction request, the method further includes:
and judging whether the login account logs in a second client and the third client at the same time, if so, sending the second client information and the third client information to the first client, so that the first client determines a target client according to the second client information and the third client information.
Optionally, after the target client calls the voice call control to make a call according to the contact information, the method further includes:
and if the voice call control is in the called state, sending the second client information and the third client information to the first client so that the first client can determine a target client again according to the second client information and the third client information.
The interactive control equipment can execute the action of the server in the interactive control method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects. For details that are not elaborated in this embodiment, reference may be made to the above-described embodiment of the interactive control method.
The interactive control device provided by the embodiment of the invention receives an interactive request sent by a first client through HTTP/HTTPS connection, acquires a login account and operation information of the first client, generates a remote interactive message according to the operation information, and sends the remote interactive message to a target client which logs in the login account at the same time through Web Socket connection, so that the target client operates according to the remote interactive message. Through the interactive control equipment, the operation information of the first client can be sent to the target client which logs in the same account, so that the target client can operate quickly according to the operation information, the information searching flow of the target client is reduced, the time for operation of crossing a plurality of clients to the same operation object is greatly reduced, the working efficiency is improved, and the user experience is improved.
An embodiment of the present invention provides a computer-readable storage medium, where the storage medium stores at least one executable instruction, and when the executable instruction runs on an interactive control device, the interactive control device is enabled to execute an interactive control method in any method embodiment described above. For details of the interactive control method provided by the present invention, reference may be made to the following embodiments.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. An interactive control method is characterized in that a server establishes HTTP/HTTPS connection with a first client, and the server establishes Web Socket connection with a second client, and the method comprises the following steps:
receiving an interaction request initiated by the first client through the HTTP/HTTPS connection;
acquiring a login account and operation information of the first client according to the interaction request;
if the login account number simultaneously logs in the second client, taking the second client as a target client;
and generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through the Web Socket connection so that the target client operates according to the remote interactive message.
2. The method of claim 1, wherein the operational information includes an identification of an operational object;
the enabling the target client to operate according to the remote interaction message includes:
and enabling the target client to search the information of the operation object according to the identification of the operation object and display the information of the operation object in a page.
3. The method of claim 1, wherein the operational information comprises contact information;
the enabling the target client to operate according to the remote interaction message includes:
and calling the target client by calling the voice calling control according to the contact information.
4. The method according to claim 1, 2 or 3, wherein the server establishes a Web Socket connection with a third client;
after obtaining the login account and the operation information of the first client according to the interaction request, the method further includes:
judging whether the login account logs in a second client and a third client at the same time, if so, determining priority information of the second client and the third client according to the login account;
and determining the target client according to the priority information.
5. The method of claim 4, wherein the determining priority information for the second client and the third client based on the login account number comprises:
acquiring second client information and third client information associated with the login account according to the login account;
acquiring the latest login time, login times and login duration information of each client in a preset time period according to the second client information and the third client information;
and determining the priority information of the second client and the third client according to the latest login time of each client, the login times in a preset time period and the weight value of the login duration information.
6. The method of claim 5, wherein after causing the target client to invoke a voice call control to place a call according to the contact information, further comprising:
and if the voice call control is in the called state, re-determining the target client according to the priority information.
7. The method according to claim 1, 2 or 3, wherein the server establishes a Web Socket connection with a third client;
after obtaining the login account and the operation information of the first client according to the interaction request, the method further includes:
and judging whether the login account logs in a second client and the third client at the same time, if so, sending the second client information and the third client information to the first client, so that the first client determines a target client according to the second client information and the third client information.
8. The method of claim 7, wherein after causing the target client to invoke a voice call control to place a call according to the contact information, further comprising:
and if the voice call control is in the called state, sending the second client information and the third client information to the first client so that the first client can determine a target client again according to the second client information and the third client information.
9. An interactive control apparatus, wherein the apparatus establishes an HTTP/HTTPs connection with a first client and a Web Socket connection with a second client, the apparatus comprising:
a receiving module, configured to receive, through the HTTP/HTTPs connection, an interaction request initiated by the first client;
the acquisition module is used for acquiring a login account and operation information of the first client according to the interaction request;
the determining module is used for taking the second client as a target client if the login account logs in the second client at the same time;
and the sending module is used for generating a remote interactive message containing the operation information, and sending the remote interactive message to the target client through the Web Socket connection so that the target client operates according to the remote interactive message.
10. An interactive control apparatus, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform the operations of the interactive control method of any one of claims 1-8.
CN202011298429.5A 2020-11-18 2020-11-18 Interactive control method, device and equipment Pending CN112104755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011298429.5A CN112104755A (en) 2020-11-18 2020-11-18 Interactive control method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011298429.5A CN112104755A (en) 2020-11-18 2020-11-18 Interactive control method, device and equipment

Publications (1)

Publication Number Publication Date
CN112104755A true CN112104755A (en) 2020-12-18

Family

ID=73785274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011298429.5A Pending CN112104755A (en) 2020-11-18 2020-11-18 Interactive control method, device and equipment

Country Status (1)

Country Link
CN (1) CN112104755A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338254A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system
CN103955846A (en) * 2014-05-08 2014-07-30 上海亿动信息技术有限公司 Control method and device for controlling multi-terminal intelligent feedback in information processing system
CN104125231A (en) * 2014-07-31 2014-10-29 百度在线网络技术(北京)有限公司 Message processing method and device
CN105224578A (en) * 2014-07-02 2016-01-06 腾讯科技(深圳)有限公司 A kind of browser synchronisation control means of cross-terminal and terminal and system
CN107578234A (en) * 2017-09-01 2018-01-12 泰康保险集团股份有限公司 Method of payment, payment mechanism, medium and electronic equipment
CN108650667A (en) * 2018-05-15 2018-10-12 北京字节跳动网络技术有限公司 Terminal scheduling method and apparatus
CN109547333A (en) * 2018-12-19 2019-03-29 北京仁科互动网络技术有限公司 Instant communicating method and device
CN110769408A (en) * 2019-10-24 2020-02-07 深圳传音控股股份有限公司 Communication service distribution method, device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338254A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system
CN103955846A (en) * 2014-05-08 2014-07-30 上海亿动信息技术有限公司 Control method and device for controlling multi-terminal intelligent feedback in information processing system
CN105224578A (en) * 2014-07-02 2016-01-06 腾讯科技(深圳)有限公司 A kind of browser synchronisation control means of cross-terminal and terminal and system
CN104125231A (en) * 2014-07-31 2014-10-29 百度在线网络技术(北京)有限公司 Message processing method and device
CN107578234A (en) * 2017-09-01 2018-01-12 泰康保险集团股份有限公司 Method of payment, payment mechanism, medium and electronic equipment
CN108650667A (en) * 2018-05-15 2018-10-12 北京字节跳动网络技术有限公司 Terminal scheduling method and apparatus
CN109547333A (en) * 2018-12-19 2019-03-29 北京仁科互动网络技术有限公司 Instant communicating method and device
CN110769408A (en) * 2019-10-24 2020-02-07 深圳传音控股股份有限公司 Communication service distribution method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10250753B2 (en) Customer-centric network-based conferencing
EP3355528B1 (en) Methods for providing continuity in chatbot communications
US20170288942A1 (en) Portal for Provisioning Autonomous Software Agents
US20170091390A1 (en) Delivering customer information from customer care site to customer care agent
US20170288943A1 (en) Supplying Context Data to a Servicing Entity
CN107800901B (en) User call processing method, device, computer equipment and storage medium
US20170289069A1 (en) Selecting an Autonomous Software Agent
CN110612716B (en) Intermediate device for network routing of data messages
US20220159046A1 (en) Automated agent for a web communication feature
CN103716230A (en) Message sending method, device and server
US20240056552A1 (en) Systems and methods for instant serverless video chat with pre-loaded content
CN109688185A (en) It attends a banquet method for processing business, device, equipment and computer readable storage medium
CN112104755A (en) Interactive control method, device and equipment
CN115002690A (en) System, method and device for rapidly acquiring user information based on 5G message
US10225224B1 (en) Web and voice message notification system and process
CN108924182B (en) Text information sending method and device in virtual reality scene
US20160086245A1 (en) Communications server apparatus and methods of operation thereof
CN111556284A (en) Method and device for sharing video stream monitored by video network
US9959416B1 (en) Systems and methods for joining online meetings
CN112860962B (en) Method, device, electronic equipment and medium for processing questioning information
US9871870B1 (en) Pseudonymous communication session generation and management systems and methods
CN108810043B (en) Method and device for storing comment information
US20190014158A1 (en) Devices and methods providing a centrally managed web communication feature
CN114490066A (en) Method and device for dynamically adjusting large data cluster resources
TWM620256U (en) Customer service system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201218

RJ01 Rejection of invention patent application after publication