Disclosure of Invention
In view of the above, the main objective of the present invention is to provide an interactive method and system based on non-real-time media information, which is convenient to use and can balance the workload of service experts.
In order to achieve the above object, a first technical solution proposed by the present invention is:
an interaction method based on non-real-time media information comprises the following steps:
step 1, a user sends a non-real-time interactive binding request to a server through a client.
Step 2, the server judges whether a non-real-time interactive binding relationship is established between the user and a service group consisting of the server side according to the received non-real-time interactive binding request: if not, setting a user interaction authority based on the interaction weighted accumulated duration of the non-real-time media information; meanwhile, the server adopts a self-set manual distribution mode or an automatic distribution mode comprising random distribution, sequential distribution and service group busy and idle indexes, establishes a non-real-time interactive binding relationship by a mode of distributing a service group containing more than one service expert for a user, and respectively sends binding notifications to the user and all service experts in the service group after storing the non-real-time interactive binding relationship.
And 3, storing the non-real-time interactive binding relationship by the user or the service expert according to the received binding notification.
And 4, according to the non-real-time interactive binding relationship, forwarding the first non-real-time media information sent by the user to all or part of service experts in the service group by the client and the server in sequence, or forwarding the second non-real-time media information sent by any service expert in the service group to the user by the server and the server in sequence.
In summary, in the interaction method based on the non-real-time media information according to the present invention, the server establishes the non-real-time interaction binding relationship between the user and the service group that do not establish the non-real-time interaction binding relationship through a manual allocation manner or an automatic allocation manner set by the server according to the non-real-time interaction binding request sent by the user, and then, the interaction based on the non-real-time media information can be performed between the user and the service group that establish the non-real-time interaction binding relationship. The method of the invention can distribute the service group for the user by adopting the strategies of random distribution, sequential distribution, busy and idle service groups and the like, so the method of the invention can balance the workload of service experts in the service group. In addition, the method can realize the interaction between the user and the service expert in the service group based on the non-real-time media information without completely knowing the user identification or learning the service group identification and the service expert identification in a manual searching mode in advance, so the method is very convenient to use.
In order to achieve the above object, a second technical solution proposed by the present invention is:
an interactive system based on non-real-time media information comprises a client unit, a server and a service unit; wherein, the client unit comprises more than one client; the service unit comprises more than one service end, and each service group comprises more than one client end; the client unit and the server, and the service unit and the server are connected through Internet.
The client unit is used for sending a non-real-time interactive binding request to the server according to the user requirement; storing a non-real-time interactive binding relationship according to a binding notification sent by a server, and sending first non-real-time media information to the server according to the non-real-time interactive binding relationship; and also for receiving second non-real time media information from the server.
The server is used for judging whether a non-real-time interactive binding relationship is established between the user and the service group according to the non-real-time interactive binding request sent by the client unit: if not, setting a user interaction authority based on the interaction weighted accumulated duration of the non-real-time media information; meanwhile, a non-real-time interactive binding relationship is established by adopting a self-set manual distribution mode or an automatic distribution mode comprising random distribution, sequential distribution and service group busy and idle indexes through a mode of distributing a service group containing more than one service expert for a user, and a binding notice is respectively sent to a client unit and the service group of the service unit after the non-real-time interactive binding relationship is stored; and the server is further configured to forward the first non-real-time media information sent by the client unit to the service unit, and forward the second non-real-time media information sent by the service unit to the client unit.
The service unit is used for storing the non-real-time interactive binding relationship according to the binding notification sent by the server; generating second non-real-time media information according to the requirements of the service experts and sending the second non-real-time media information to the server; and the server is also used for receiving the first non-real-time media information forwarded by the server.
In summary, in the interactive system based on the non-real-time media information, according to the non-real-time interactive binding request sent by the client from the user, the server establishes the non-real-time interactive binding relationship between the user and the service group that do not establish the non-real-time interactive binding relationship through a manual allocation manner or an automatic allocation manner set by the server, and then the interaction based on the non-real-time media information can be performed between the user and the service group that establish the non-real-time interactive binding relationship. The system of the invention can distribute the service groups for the users by adopting the strategies of random distribution, sequential distribution, busy and idle service groups and the like, so the system of the invention can balance the workload of service experts in the service groups. In addition, the system can realize the interaction between the user and the service expert in the service group based on the non-real-time media information without completely knowing the user identification or learning the service group identification and the service expert identification in a manual searching mode in advance, so the system is very convenient to use.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of an interaction method based on non-real-time media information according to the present invention. As shown in fig. 1, the interaction method based on non-real-time media information according to the present invention includes the following steps:
step 1, a user sends a non-real-time interactive binding request to a server through a client.
Step 2, the server judges whether a non-real-time interactive binding relationship is established between the user and a service group consisting of the server side according to the received non-real-time interactive binding request: if not, setting a user interaction authority based on the interaction weighted accumulated duration of the non-real-time media information; meanwhile, the server adopts a self-set manual distribution mode or an automatic distribution mode comprising random distribution, sequential distribution and service group busy and idle indexes, establishes a non-real-time interactive binding relationship by a mode of distributing a service group containing more than one service expert for a user, and respectively sends binding notifications to the user and all service experts in the service group after storing the non-real-time interactive binding relationship.
And 3, storing the non-real-time interactive binding relationship by the user or the service expert according to the received binding notification.
And 4, according to the non-real-time interactive binding relationship, forwarding the first non-real-time media information sent by the user to all or part of service experts in the service group by the client and the server in sequence, or forwarding the second non-real-time media information sent by any service expert in the service group to the user by the server and the server in sequence.
In practical application, in the step 2, when the server determines whether the non-real-time interactive binding relationship between the user and the service group composed of the service end is established according to the received non-real-time interactive binding request, if the non-real-time interactive binding relationship between the user and the service group is established, the non-real-time interactive binding relationship between the user and the service group which is requested to be established replaces the established non-real-time interactive binding relationship between the user and the service group; and sends a unbinding notification to all service experts in the originally bound service group of the user. .
In summary, in the interaction method based on the non-real-time media information, the server establishes the non-real-time interaction binding relationship between the user and the service group which do not establish the non-real-time interaction binding relationship through a self-set manual distribution mode or an automatic distribution mode according to the non-real-time interaction binding request sent by the user, and then the interaction based on the non-real-time media information can be performed between the user and the service group which establish the non-real-time interaction binding relationship. The method of the invention can distribute the service group for the user by adopting the strategies of random distribution, sequential distribution, busy and idle service groups and the like, so the method of the invention can balance the workload of service experts in the service group. In addition, the method can realize the interaction between the user and the service expert in the service group based on the non-real-time media information without completely knowing the user identification or learning the service group identification and the service expert identification in a manual searching mode in advance, so the method is very convenient to use.
In the present invention, after the step 4, the following steps are further included:
step 51, any service expert in the service group sends a unbinding request based on the user identification to the server.
And step 61, the server removes the non-real-time interactive binding relation between the service group to which the service expert belongs and the user corresponding to the user identification according to the received unbinding request, and sends a unbinding notice to the user and all service experts in the service group.
In step 2 of the method of the present invention, the service group busy and idle index is: fq=[ServerTotal*(1+w)+UserTotal]Total; wherein, Total is the Total service time of all service experts in the service group in the working period; the UserTotal is the total duration of first non-real-time media information sent to a service group by a user in a working period; the ServerTotal is the total time length of second non-real-time media information sent to the user by each service expert in the service group in the working period; w is a weighting coefficient, and w is more than or equal to 0. Or, the service group busy and idle index is: fq= usemamount; and the UserAmount is the total number of the users which establish the non-real-time interactive binding relationship with the service group. Or, the service group busy and idle index is: fq= mediaaccount; wherein, the MediaAmount is the rest non-real-time transaction of all the users establishing the non-real-time interactive binding relationship with the service groupThe total amount of the mutual time length.
In step 2 of the method of the present invention, the interactive weighted cumulative duration is:
wherein, t11、t12、...、t1nEach first non-real-time media information duration, lambda, sent for a user in a first service period in a working period1A first service period consumption factor for a work period; t is t21、t22、...、t2nThe time length, lambda, of each first non-real-time media information sent by the user in the second service period in the working period2A second service period consumption factor for the working period; t is tj1、tj2、...、tjnThe time length of each first non-real-time media information, lambda, sent to the user in the jth service period in the working periodjConsumption factors for the jth service period in the working period; and 0 is not less than lambda1≤1、0≤λ2≤1、…、0≤λj≤1。
Fig. 2 is a schematic structural diagram of the interactive system based on non-real-time media information according to the present invention. As shown in fig. 2, the interactive system based on non-real-time media information according to the present invention includes: a client unit 1, a server 2, a service unit 3; the client unit 1 comprises more than one client 11-1 m; the service unit 2 comprises first service groups 31, …, p-th service groups 3p, … and n-th service group 3n, wherein the first service group 31 comprises service terminals 311-31 i, …, any service group 3p comprises service terminals 3p 1-3 pq, …, and the n-th service group 3n comprises service terminals 3n 1-3 nj; the client unit 1 and the server 2, and the service unit 3 and the server 2 are connected through Internet; i. j, n, p and q are natural numbers;
the client unit 1 is used for sending a non-real-time interactive binding request to the server 2 according to the user requirement; storing a non-real-time interactive binding relationship according to a binding notification sent by the server 2, and sending first non-real-time media information to the server 2 according to the non-real-time interactive binding relationship; but also for receiving second non-real-time media information from the server 2.
The server 2 is configured to determine whether a non-real-time interactive binding relationship has been established between the user and the service group according to the non-real-time interactive binding request sent by the client unit 1: if not, setting a user interaction authority based on the interaction weighted accumulated duration of the non-real-time media information; meanwhile, a non-real-time interactive binding relationship is established by adopting a self-set manual distribution mode or an automatic distribution mode comprising random distribution, sequential distribution and service group busy and idle indexes through a mode of distributing a service group containing more than one service expert for a user, and a binding notice is respectively sent to the service groups of the client unit 1 and the service unit 3 after the non-real-time interactive binding relationship is stored; and is further configured to forward the first non-real-time media information sent by the client unit 1 to the service unit 3, and forward the second non-real-time media information sent by the service unit 3 to the client unit 1.
The service unit 3 is used for storing the non-real-time interactive binding relationship according to the binding notification sent by the server 2; generating second non-real-time media information according to the requirements of the service experts and sending the second non-real-time media information to the server 2; and is also used for receiving the first non-real-time media information forwarded by the server 2.
In summary, in the interactive system based on the non-real-time media information, according to the non-real-time interactive binding request sent by the client from the user, the server establishes the non-real-time interactive binding relationship between the user and the service group which do not establish the non-real-time interactive binding relationship through a self-set manual distribution mode or an automatic distribution mode, and then the interaction based on the non-real-time media information can be performed between the user and the service group which establish the non-real-time interactive binding relationship. The system of the invention can distribute the service groups for the users by adopting the strategies of random distribution, sequential distribution, busy and idle service groups and the like, so the system of the invention can balance the workload of service experts in the service groups. In addition, the system can realize the interaction between the user and the service expert in the service group based on the non-real-time media information without completely knowing the user identification or learning the service group identification and the service expert identification in a manual searching mode in advance, so the system is very convenient to use.
In practical application, the clients 11-1 m, the servers 311-31 i, the servers 3p 1-3 pq, and the servers 3n 1-3 nj can be all terminals such as mobile phones, computer terminals, iPAD, embedded devices, and the like.
In practical application, the server 2 is further configured to set an upper limit of the number of users that can be bound by one service group, the number of service experts in each service group, and the composition of the service experts.
Fig. 3 is a schematic diagram of a composition structure of the server according to the present invention. As shown in fig. 3, the server of the present invention includes: a binding management module 21, a binding module 24, a storage module 23, and a forwarding module 22; wherein,
the binding management module 21 is used for presetting a user interaction authority and a manual distribution mode based on the interaction weighted accumulated duration of the non-real-time media information or an automatic distribution mode comprising random distribution, sequential distribution and service group busy and idle indexes; and sends the manual allocation mode or the automatic allocation mode to the binding module 24 and sends the user interaction authority to the forwarding module 22.
A binding module 24, configured to determine whether a non-real-time interactive binding relationship has been established between the user and the service group according to the non-real-time interactive binding request sent by the client unit 1: if not, according to the manual distribution mode or the automatic distribution mode sent by the binding management module 21, a non-real-time interactive binding relationship is established through a mode of distributing a service group containing more than one service expert for the user, and the non-real-time interactive binding relationship is sent to the storage module 23.
And the storage module 23 is configured to store the non-real-time interactive binding relationship sent by the binding module 24.
And a forwarding module 22, configured to forward, according to the user interaction right sent by the binding management module 21, the first non-real-time media information sent by the client unit 1 to the service unit 3, and forward, to the client unit, the second non-real-time media information sent by the service unit 3.
In the system of the present invention, the storage module 23 is further configured to store the user basic information, the service expert basic information, the first non-real-time media information generated by the user, and the second non-real-time media information generated by the service expert. The service expert can check the basic information of the user and the history of the interaction between the user and all the service experts, and the user can also check the basic information of the service expert and the history of the interaction between the service expert and the service expert.
In the system, the service terminals 311-31 i, the service terminals 3p 1-3 pq and the service terminals 3n 1-3 nj are also used for sending a unbinding request based on the user identification to the server 2 according to the requirements of service experts; and deleting the non-real-time interactive binding relationship between the service group to which the service expert belongs and the user corresponding to the user identifier according to the unbinding notice sent by the server 2. The server 2 is further configured to release and delete the non-real-time interactive binding relationship between the service group to which the service expert belongs and the user corresponding to the user identifier according to a user identifier-based unbinding request sent by the service terminals 311 to 31i, the service terminals 3p1 to 3pq, and the service terminals 3n1 to 3nj, and send a unbinding notification to the service terminals 311 to 31i, the service terminals 3p1 to 3pq, the service terminals 3n1 to 3nj, and the clients 11 to 1 m.
In the system of the invention, the busy and idle indexes of the service group are as follows: fq=[ServerTotal*(1+w)+UserTotal]Total; wherein, Total is the Total service time of all service experts in the service group in the working period; the UserTotal is the total duration of first non-real-time media information sent to a service group by a user in a working period; the ServerTotal is the total time length of second non-real-time media information sent to the user by each service expert in the service group in the working period; w is a weighting coefficient, and w is more than or equal to 0. Or, the service group busy and idle index is: fq= usemamount; and the UserAmount is the total number of the users which establish the non-real-time interactive binding relationship with the service group. Or, the service group busy and idle index is: fq= mediaaccount; the mediaaccount is a total amount of the remaining non-real-time interaction duration of all users establishing the non-real-time interaction binding relationship with the service group.
In the system of the invention, the interactive weighted accumulated time length is as follows:
wherein, t11、t12、...、t1nEach first non-real-time media information duration, lambda, sent for a user in a first service period in a working period1A first service period consumption factor for a work period; t is t21、t22、...、t2nThe time length, lambda, of each first non-real-time media information sent by the user in the second service period in the working period2A second service period consumption factor for the working period; t is tj1、tj2、...、tjnThe time length of each first non-real-time media information, lambda, sent to the user in the jth service period in the working periodjConsumption factors for the jth service period in the working period; and 0 is not less than lambda1≤1、0≤λ2≤1、…、0≤λj≤1。
In the method and the system, the server can set the user interaction authority according to the conditions of user payment, system capacity and the like, for example, the interactive weighted accumulated time between the user and the service expert in one month is set as 1 hour: and when the interactive weighted accumulated duration of the first non-real-time media information interacted between the user and the service expert in the month exceeds the set user interaction right, the server does not forward the first non-real-time media information or the second non-real-time media information any more. Further, if the user does not need to be interactively restricted or the control mode of packet time intervals such as monthly payment is adopted, the consumption factor of each service time interval can be set to be 0 or the user interaction authority is set to be a special numerical value to indicate that the interactive restriction is not carried out or the control mode of the packet time intervals is adopted.
In practical application, when the method and the system allocate the service group to the user according to the busy and idle index, the service group with the lower busy and idle index is preferentially allocated.
In the method and the system, if the non-real-time interactive binding request contains the distribution factor, the server can preferentially select the service group and the service expert which meet the condition of the distribution factor. Here, the allocation factor includes: the region range to which the service expert belongs, the service level, the sex of the service expert, the age of the service expert and the like; the service level is a level determined according to the evaluation of each user on the service expert.
In the method and the system, the binding notification comprises a user identifier, a service group identifier and a service expert identifier.
In the method and system of the present invention, sequential assignment refers to an assignment sequence predetermined by each service group. And when the server distributes the service experts in the service group for the user in a sequential distribution mode, sequentially distributing according to the distribution sequence. One sequential allocation approach is: when the current service group reaches the upper limit of the number of users capable of being bound simultaneously, the users are sequentially distributed to the service groups arranged behind the current service group. Another common sequential allocation is a round-robin allocation: after the current service group is allocated to one user, the next user is allocated to the service group arranged behind the current service group, one user is allocated each time, and the allocation is performed in a cycle among the service groups.
In the method and the system, after the user receives the binding notification, the user does not need to confirm and can confirm whether to accept the service group which is distributed and bound according to the requirement.
In practical application, in the interaction method and system based on the non-real-time media information, the user can also directly interact the non-real-time media information with the service expert, as long as the server can transmit information such as IP addresses or communication ports of the user and the service expert to the other side with the established non-real-time interaction binding relationship.
In the method and the system, when the interactive service based on the non-real-time media information is provided between the user and the service expert, one or more themes can be divided according to the requirement, and for each theme, a batch of service groups are configured by the system to provide the interactive service based on the non-real-time media information for the user; aiming at one theme, a user can be set to be only bound with one service group for non-real-time interaction; one service group can provide services of a plurality of themes at the same time.
In the method and the system, after the non-real-time interaction binding relationship between the user and the service group is released, the client does not display the service group information any more, the server does not display the user information any more, and the user and the service expert cannot perform non-real-time media information interaction.
In the method and the system, when each service group is only set to have one service expert, the corresponding information of the service group can be directly expressed by using the identification, the attribute and the like of the service expert, and the service group is equivalent to the service expert.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.