CN109842590B - Processing method and device for survey task and computer readable storage medium - Google Patents

Processing method and device for survey task and computer readable storage medium Download PDF

Info

Publication number
CN109842590B
CN109842590B CN201711208364.9A CN201711208364A CN109842590B CN 109842590 B CN109842590 B CN 109842590B CN 201711208364 A CN201711208364 A CN 201711208364A CN 109842590 B CN109842590 B CN 109842590B
Authority
CN
China
Prior art keywords
channel
server
user terminal
idle
survey
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.)
Active
Application number
CN201711208364.9A
Other languages
Chinese (zh)
Other versions
CN109842590A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201711208364.9A priority Critical patent/CN109842590B/en
Publication of CN109842590A publication Critical patent/CN109842590A/en
Application granted granted Critical
Publication of CN109842590B publication Critical patent/CN109842590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a processing method of a survey task.A server respectively acquires idle channels according to a request initiated by each user terminal and determines a server corresponding to each acquired idle channel; each service end corresponds to more than one channel, and each idle channel is used for processing one event to be processed; and respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on the acquired idle channels. The invention also discloses a processing device of the survey task and a computer readable storage medium.

Description

Processing method and device for survey task and computer readable storage medium
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for processing a survey task, and a computer-readable storage medium.
Background
Currently, for on-site survey, a surveyor generally uses a mobile survey system to complete the survey and the nuclear damage; the mobile survey system may be composed of a mobile terminal, a remote background server, and a Personal Computer (PC), and the survey process generally includes: the method comprises the steps that a surveyor initiates a survey request of a call to a far-end background server through a mobile terminal, the far-end background server forwards the survey request of the call to an agent PC, the agent receives the survey request of the call, the agent and the surveyor start to talk, a mobile survey system automatically records and records sound and video, the surveyor takes pictures and obtains evidence on site, the shot pictures are uploaded to the far-end background server through the mobile terminal, the far-end background server pushes the shot pictures and the shot video to an operation interface of the agent PC, and therefore the agent can check the shot pictures and the shot video for loss processing.
However, in the current mobile survey system, currently speaking agents cannot simultaneously process call requests of a plurality of mobile terminals through an agent PC, that is: one operator can only carry out audio and video conversation with one surveyor, can not carry out audio and video conversation with a plurality of surveyors simultaneously, also can not the parallel processing a plurality of survey tasks, so, obviously reduced operator's work efficiency.
Disclosure of Invention
In view of the above, embodiments of the present invention are directed to a method and an apparatus for processing a survey task, and a computer readable storage medium, which can implement a server side to process a plurality of survey tasks in parallel.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a processing method of a survey task, which comprises the following steps:
the server respectively acquires idle channels according to call requests initiated by user terminals and determines the server corresponding to each acquired idle channel; each service end corresponds to more than one channel, and each idle channel is used for processing one event to be processed;
and respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on the acquired idle channels.
In the foregoing solution, the acquiring an idle channel includes:
judging whether the call request carries identification information of a user terminal;
if the identification information carrying the user terminal is determined and the to-be-processed event initiated by the user terminal is determined to be unprocessed according to the identification information, acquiring an idle channel from more than one channel corresponding to all the service terminals; otherwise, acquiring an idle channel from more than one channel corresponding to the server side which processes the event to be processed.
In the above scheme, the acquiring an idle channel from more than one channel corresponding to all the servers includes:
acquiring any idle channel from more than one channel corresponding to all the service terminals;
or, sequentially acquiring idle channels from more than one channel corresponding to all the service ends according to a polling mode;
or, according to the identification information of the user terminal, determining the area to which the user terminal belongs, and acquiring an idle channel from more than one channel corresponding to a service end in the area;
or, according to the identification information of the user terminal and the priority preset for the user terminal, determining the priority corresponding to the user terminal, and acquiring an idle channel from more than one channel corresponding to the server corresponding to the priority.
In the above scheme, after the audio/video connection is established, the method further includes:
receiving image data sent by the user terminal;
and generating a video file according to the image data.
In the foregoing solution, the generating a video file according to the image data includes:
coding and decoding the image data to generate a video file; the video file is used for the server to download and finish survey and loss assessment; alternatively, the first and second electrodes may be,
sending the image data to the server side based on the acquired idle channels; and the image data is used for the server to generate a video file and finish survey and damage assessment.
In the above scheme, the method further comprises:
when the idle channel is not acquired, judging whether the acquisition times of the idle channel for executing the acquisition of the call request are greater than the preset maximum acquisition times or not, and if so, notifying the user terminal corresponding to the event to be processed of the busy state of the server; otherwise, acquiring the idle channel again for the call request.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above method.
An embodiment of the present invention further provides a device for processing a survey task, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the above method when running the computer program.
The embodiment of the invention also provides a processing method of the survey task, which comprises the following steps:
the server side obtains an idle channel of the server side; each server corresponds to more than one preset channel, and each idle channel is used for processing one event to be processed;
and establishing audio and video connection between the user terminal corresponding to the event to be processed and the user terminal based on the acquired idle channel.
In the above scheme, after the audio/video connection is established, the method further includes:
receiving image data sent by a server based on the idle channel;
coding and decoding the image data to obtain a video file; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
In the above scheme, the method further comprises:
sending a downloading request of the video file to a server;
receiving a video file sent by the server; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
In the above scheme, the method further comprises:
detecting whether a first instruction triggered by a user on a display interface is received; the first instruction characterizes an instruction to add a channel;
loading a new channel when it is determined that the first instruction is received;
and informing the server of the idle state of the new channel.
In the above scheme, the method further comprises:
detecting whether a second instruction triggered by a user on a display interface is received; the second instruction represents an instruction that a current channel is idle;
and when the second instruction is determined to be received, notifying the server of the idle state of the current channel.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above method.
An embodiment of the present invention further provides a device for processing a survey task, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the above method when running the computer program.
An embodiment of the present invention further provides a device for processing a survey task, where the device includes:
the first acquisition module is used for respectively acquiring idle channels according to call requests initiated by user terminals and determining service terminals corresponding to the acquired idle channels; each service end corresponds to more than one channel, and each idle channel is used for processing one event to be processed;
and the first audio and video connection module is used for respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on the acquired idle channels.
In the above-mentioned scheme, the first step of the method,
the first obtaining module is specifically configured to determine whether the call request carries identification information of the user terminal; if the identification information carrying the user terminal is determined and the to-be-processed event initiated by the user terminal is determined to be unprocessed according to the identification information, acquiring an idle channel from more than one channel corresponding to all the service terminals; otherwise, acquiring an idle channel from more than one channel corresponding to the server side which processes the event to be processed.
An embodiment of the present invention further provides a device for processing a survey task, where the device includes:
the second acquisition module is used for acquiring an idle channel of the second acquisition module; each server corresponds to more than one preset channel, and each idle channel is used for processing one event to be processed;
and the second audio/video connection module is used for establishing audio/video connection between the user terminal corresponding to the event to be processed and the second audio/video connection module based on the acquired idle channel.
In the above scheme, the apparatus further comprises:
the channel increasing module is used for detecting whether a first instruction triggered by a user on a display interface is received; the first instruction characterizes an instruction to add a channel; loading a new channel when it is determined that the first instruction is received; and informing the server of the idle state of the new channel.
The processing method, the processing device and the computer-readable storage medium for the survey task, provided by the embodiment of the invention, introduce the concept of channels, so that one server can correspond to more than one channel, and each idle channel can be used for processing an event to be processed; the server respectively acquires idle channels according to call requests initiated by user terminals and determines the server corresponding to each acquired idle channel; and respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on the acquired idle channels. In the embodiment of the invention, one server can simultaneously use a plurality of idle channels to process a plurality of events to be processed respectively, and then can simultaneously establish audio and video connection between the user terminal corresponding to each event to be processed and the server aiming at different events to be processed, so that one server can process a plurality of survey tasks in parallel, and the working efficiency is greatly improved.
In addition, in the embodiment of the invention, the request for establishing the audio/video connection can be initiated by the user terminal and also can be initiated by the server, so that the implementation modes are more flexible and diversified; when a user terminal initiates a request for establishing audio and video connection, a server can acquire an idle channel according to the request initiated by the user terminal and send the request initiated by the user terminal to a server through the acquired idle channel; when the server side initiates a request for establishing audio and video connection, the server side directly acquires an idle channel of the server side, sends the request initiated by the server side to the user terminal to the server through the acquired idle channel, and the server forwards the received request initiated by the server side for establishing the audio and video connection to the user terminal corresponding to the event to be processed. Obviously, the server in the embodiment of the invention can actively initiate a request for establishing audio/video connection, and can interact with a plurality of user terminals through a plurality of idle channels simultaneously to complete on-site survey and loss checking, thereby greatly improving the working efficiency.
Drawings
FIG. 1 is a first flowchart illustrating an implementation of a processing method for a survey task according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second implementation of the processing method of the survey task according to the embodiment of the invention;
FIG. 3 is a schematic diagram of a network topology of a mobile survey system according to an embodiment of the invention;
FIG. 4 is a block diagram of a mobile survey system according to an embodiment of the present invention;
FIG. 5a is a functional module framework diagram of a user terminal according to an embodiment of the present invention;
FIG. 5b is a functional module frame diagram of the server according to the embodiment of the present invention;
FIG. 6 is a first flowchart illustrating a specific implementation of survey task processing when a user terminal initiates a call request to a mobile survey system via a network according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a second specific implementation of a survey task processing when a user terminal initiates a call request to a mobile survey system via a network according to an embodiment of the present invention;
FIG. 8 is a first flowchart illustrating a specific implementation of survey task processing when a server initiates a call request to a mobile survey system via a network according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating a second specific implementation of the survey task processing when the server initiates a call request to the mobile survey system via the network according to the embodiment of the present invention;
FIG. 10 is a flow chart illustrating dynamic addition of channels according to an embodiment of the present invention;
FIG. 11 is a first block diagram of a processing apparatus for a survey task according to an embodiment of the present invention;
FIG. 12 is a schematic structural diagram of a second exemplary embodiment of a survey task processing apparatus;
FIG. 13 is a third schematic structural diagram of a processing apparatus for a survey task according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
As shown in fig. 1, the present embodiment describes the processing method of the survey task in detail by taking a server side as an example, the processing method of the survey task is applied to the server side, and a request for establishing audio/video connection for implementing the survey task is initiated by a user terminal; the processing method shown in fig. 1 includes the steps of:
step 101: the server respectively acquires idle channels according to call requests initiated by user terminals, and determines the server corresponding to each acquired idle channel.
Each server corresponds to more than one channel, and each idle channel is used for processing one event to be processed.
In practical applications, the server in the embodiment of the present invention may be a mobile survey server in a mobile survey system. The server respectively acquires the idle channels according to the call requests initiated by the user terminals, and specifically includes: each user terminal sends the initiated call request to a service server, the service server sends at least one idle channel request to a mobile survey server according to the received call request initiated by each user terminal, and the mobile survey server respectively acquires an idle channel for each idle channel request after receiving the at least one idle channel request.
In one embodiment, the acquiring the idle channel includes: judging whether the call request carries identification information of a user terminal; if the identification information carrying the user terminal is determined and the to-be-processed event initiated by the user terminal is determined to be unprocessed according to the identification information, acquiring an idle channel from more than one channel corresponding to all the service terminals; otherwise, acquiring an idle channel from more than one channel corresponding to the server side which processes the event to be processed.
In an embodiment, the acquiring an idle channel from more than one channel corresponding to all the servers includes: acquiring any idle channel from more than one channel corresponding to all the service terminals; or, sequentially acquiring idle channels from more than one channel corresponding to all the service ends according to a polling mode; or, according to the identification information of the user terminal, determining the area to which the user terminal belongs, and acquiring an idle channel from more than one channel corresponding to a service end in the area; or, according to the identification information of the user terminal and the priority preset for the user terminal, determining the priority corresponding to the user terminal, and acquiring an idle channel from more than one channel corresponding to the server corresponding to the priority.
In practical application, when an idle channel is respectively obtained for a call request initiated by each user terminal, two situations are included: firstly, acquiring an idle channel; and secondly, a free channel is not acquired.
In an embodiment, when an idle channel is not acquired, the method further includes:
judging whether the acquisition times of the idle channel executed to the call request is greater than the preset maximum acquisition times or not, and if so, notifying the user terminal corresponding to the event to be processed of the busy state of the server; otherwise, acquiring the idle channel again for the call request. Here, the preset maximum number of acquisitions may be set as needed, such as: three or five times, etc.
In practical application, when the call request is not acquired to the idle channel, the server may notify the user terminal of the queuing condition and the expected waiting time of the call request, where the expected waiting time is used for the user terminal to determine the content to be played with equal time, for example: a song having a duration equal to the expected wait duration. When the time of the estimated waiting time length is reached, judging whether the acquisition times of the idle channel acquired by executing the call request are greater than the preset maximum acquisition times or not, and if the acquisition times of the idle channel acquired by executing the call request are determined to be greater than the preset maximum acquisition times, informing the user terminal corresponding to the event to be processed of the busy state of the service terminal; otherwise, the call request is queued again and the free channel is acquired again.
When a free channel is acquired, step 102 is executed.
Step 102: and respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on the acquired idle channels.
Here, the audio/video connection between the user terminal and the server corresponding to each event to be processed is established, and the server may acquire an idle channel after receiving a request for establishing the audio/video connection initiated by the user terminal, and forward the request initiated by the user terminal to the server through the acquired idle channel; the server side can also initiate a request for establishing audio and video connection, directly acquire an idle channel of the server side, send the request initiated to the user terminal actively to the server through the acquired idle channel, and forward the request initiated by the server side to the user terminal corresponding to the event to be processed.
In an embodiment, after the audio-video connection is established, the method further includes: receiving image data sent by the user terminal; and generating a video file according to the image data.
In an embodiment, the generating a video file according to the image data includes: coding and decoding the image data to generate a video file; the video file is used for the server to download and finish survey and loss assessment; or sending the image data to the server side based on the acquired idle channels; and the image data is used for the server to generate a video file and finish survey and damage assessment.
Here, the video file may be generated by a server or may be generated by a server. The video file is directly generated by the server, so that the resources of the server can be saved.
In practical application, when the server receives a completion message sent by the user terminal, the server forwards the completion message to the server based on the obtained idle channel, wherein the completion message is used for stopping video recording and disconnecting audio and video connection between the user terminals corresponding to the event to be processed by the server.
In actual application, the server may further receive a status message sent by the server, where the status message may include: "current channel ready", "current channel idle", "current channel on-the-fly", etc.
In the method provided by the embodiment of the invention, a server respectively acquires idle channels according to call requests initiated by user terminals and determines the server corresponding to each acquired idle channel; and respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on the acquired idle channels. In the embodiment of the invention, one server can simultaneously use a plurality of idle channels to process a plurality of events to be processed respectively, and then can simultaneously establish audio and video connection between the user terminal corresponding to each event to be processed and the server aiming at different events to be processed, so that one server can process a plurality of survey tasks in parallel, and the working efficiency of a user at the server is greatly improved.
In addition, in the implementation of the invention, the establishment of the audio and video connection can be initiated by the user terminal or the server terminal, and the implementation modes are more flexible and diversified. When a user terminal initiates a call request, a server can respectively acquire idle channels according to the request initiated by each user terminal and send the request initiated by the user terminal to a server through the acquired idle channels; when the server side initiates a call request, the server side directly acquires an idle channel of the server side, sends a request initiated by the server side to the user terminal to the server through the acquired idle channel, and the server forwards the received request initiated by the server side to the user terminal corresponding to the event to be processed. Obviously, the server in the embodiment of the invention can actively initiate a call request to the user terminal, and can interact with a plurality of user terminals through the obtained plurality of idle channels to complete on-site survey and loss checking, thereby greatly improving the working efficiency of the user at the server.
As shown in fig. 2, the embodiment of the present invention describes in detail a processing method of a survey task according to an embodiment of the present invention with a server side, where the processing method of the survey task is applied to the server side, and a request for establishing an audio/video connection for implementing the survey task is actively initiated by the server side; the processing method shown in fig. 2 includes the steps of:
step 201: the server side obtains the idle channel of the server side.
Wherein, each server corresponds to more than one preset channel. Each free channel is used to process one pending event.
In actual application, after acquiring the idle channel, the server may send a status message of the idle channel to the server, where the status message may be "current channel idle", "current channel ready", "current channel in call", and the like.
In an embodiment, the channel may be implemented by any one of a Session Initiation Protocol (SIP) program, a web real-time call (webrtc) client, or a device with independent signaling processing and video processing capabilities.
Step 202: and establishing audio and video connection between the user terminal corresponding to the event to be processed and the user terminal based on the acquired idle channel.
Here, the establishing of the audio/video connection between the user terminal corresponding to the event to be processed and the user terminal itself is: the server side initiatively initiates a request for establishing audio and video connection to the user terminal corresponding to the event to be processed, the server side obtains an idle channel of the server side and sends the initiatively initiated request to the server through the obtained idle channel, and the server forwards the initiatively initiated request from the server side to the user terminal corresponding to the event to be processed.
In actual application, a server user can arbitrarily select one event to be processed from a preset event list to be processed, and initiate a call request to a user terminal corresponding to the selected event to be processed.
In an embodiment, after the audio-video connection is established, the method further includes: receiving image data sent by a server based on the idle channel; coding and decoding the image data to obtain a video file; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
In an embodiment, after the audio-video connection is established, the method further includes: sending a downloading request of the video file to a server; receiving a video file sent by the server; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
Here, the video file may be generated by a server or may be generated by a server. The video file is directly generated by the server, so that the resources of the server can be saved. The server side can upload the video file to the server after generating the video file.
In actual application, the server may send a status message of the channel to the server, where the status message may be "new channel idle", "current channel in call", and so on.
In an embodiment, the method further comprises: detecting whether a first instruction triggered by a user on a display interface is received; the first instruction characterizes an instruction to add a channel; loading a new channel when it is determined that the first instruction is received; and informing the server of the idle state of the new channel.
In an embodiment, the method further comprises: detecting whether a second instruction triggered by a user on a display interface is received; the second instruction represents an instruction that a current channel is idle; and when the second instruction is determined to be received, notifying the server of the idle state of the current channel.
In practical application, the server may stop recording and disconnect the audio/video connection between the user terminals corresponding to the event to be processed after receiving a "complete" message sent by the server based on the idle channel.
Here, the server can use more idle channels to process multiple exploration tasks simultaneously according to business needs.
The following describes in detail a network topology of a mobile survey system used in practical applications, and a process and a principle for implementing a survey task process based on the network topology according to an embodiment of the present invention.
Fig. 3 is a schematic network topology diagram of a mobile survey system according to an embodiment of the present invention, and as shown in fig. 3, the mobile survey system includes: the system comprises a user terminal, an access gateway, a service server, a mobile survey server, a server and a database; wherein the content of the first and second substances,
the user terminal is a mobile device with audio and video acquisition and playing capabilities, and the user terminal supports various modes such as Wireless FIdelity (WIFI), Worldwide Interoperability for Microwave Access (WIMAX), Bluetooth and data lines to be connected to a mobile internet or an IP Multimedia Subsystem (IMS) network. The mobile internet includes but is not limited to 3G, 4G, and 5G, and the user terminal may be specifically an Android mobile phone, a PAD, an apple mobile phone, an iPAD, a mobile notebook, and the like.
The access gateway is used for registering the user terminal to the mobile survey system through the network, meanwhile, the access gateway is a border gateway of an outer network and an inner network of the mobile survey system, and the access gateway is equipment for crossing signaling and media stream of the network.
The service server is used for routing and distributing to the mobile survey server according to the service strategy when the user terminal initiates a call request; and the system is also used for inquiring the seat state and the channel state of the server from the mobile survey server.
The mobile survey server is used for managing the state of the seat of the server and the state of the channel, finding out an idle channel by matching with the service server, and forwarding a call request from the user terminal to the server or a call request from the server to the user terminal; and the system is also used for receiving the survey pictures uploaded by the user terminal and generating the video files.
The server is a device with audio and video acquisition and playing capabilities, the server may not have the video acquisition capability, and the server may be a common PC, a desktop, a notebook, and the like.
The database is used for storing the service end's agent job number IDentification (ID) and channel ID, recording the state change logs of the agent and the channel, and recording the call log of each channel.
FIG. 4 is a block diagram of a mobile survey system according to an embodiment of the present invention. As shown in fig. 4, the mobile survey system is divided into four domains, including: user domain, access domain, service domain and agent domain; wherein the content of the first and second substances,
the user domain includes: a user terminal; the access domain includes: accessing a gateway; the service domain includes: a service server and a mobile survey server; the seat domain comprises a service end, and the service end comprises a computer and headset corollary equipment.
Fig. 5a is a functional module framework diagram of a user terminal according to an embodiment of the present invention, and fig. 5b is a functional module framework diagram of a server according to an embodiment of the present invention.
Specifically, as shown in fig. 5a, the functional modules of the user terminal include: the system comprises a business processing module, a picture uploading module, a video processing module, an instruction processing module and a network transmission module; wherein the content of the first and second substances,
the business processing module is used for inquiring and displaying the policy and case information; the picture processing module is used for acquiring image information shot by a camera of the user terminal, carrying out encryption watermarking processing on the image, compressing and storing the image into a picture file which meets the requirement of the surveying service; the picture uploading module is used for uploading the pictures to the mobile survey server; the video processing module is used for encoding and decoding audio and video calls of the user terminal; the instruction processing module is used for sending message instructions between the user terminal and the service terminal seat, such as a connection request, a connection ending message, path information for sending picture uploading and the like; and the network transmission module is used for transmitting the audio and video code streams collected by the user terminal and the bottom network of the surveyed picture.
As shown in fig. 5b, the function modules of the server include: the system comprises a service processing module, a multi-channel general control module, a single-channel instruction processing module, a single-channel video processing module, a picture downloading module, a video uploading module and a network transmission module; wherein the content of the first and second substances,
the business processing module is used for displaying the information of the case currently processed; the multi-channel master control module is used for controlling and coordinating a plurality of single channels to cooperatively work and collecting the state of each channel; the single-channel instruction processing module is used for processing operation instruction control of busy indication, idle indication, answering, hang-up and the like of a certain channel and a call established by a user terminal; the single-channel video processing module is used for coding and decoding the audio and video of each channel, and each single-channel instruction processing module corresponds to one single-channel video processing module; the picture downloading module is used for downloading the image information uploaded by the surveyor from the mobile survey server; the video uploading module is used for uploading the audio and video recording files generated in the call process to the mobile survey server; and the network transmission module is used for transmitting the audio and video code streams collected by the seat end and the bottom network of the surveyed picture.
Fig. 6 is a schematic diagram of a specific implementation process of survey task processing when a user terminal initiates a call request to a mobile survey system through a network according to an embodiment of the present invention, in which the user terminal is a terminal used by a surveyor, the server is a mobile survey server, the server is a PC used by a survey service seat, and an event to be processed is a reported survey case; in the embodiment, the method is applied to a mobile survey server side, the request for establishing the audio and video connection for realizing the survey task is initiated by a user terminal, and the PC records the image data generated in the audio and video call with the user terminal; the specific implementation process comprises the following steps:
step 601: the user terminal registers with the access gateway through the network.
The surveyor opens a network connection on the user terminal, inputs account information, registers to the access gateway through the network, and prepares to initiate a call request. Meanwhile, a service seat of the PC inputs a work number and a password, registers the work number and the password in an access gateway through a network, initializes two single-channel instruction processing modules and two video processing modules through a multi-channel master control module, and reports the readiness of two idle channels to a mobile survey server through the multi-channel master control module.
Step 602: the user terminal initiates a call request for investigating case 1 to the access gateway.
The surveyor selects a survey case 1 on the display interface of the user terminal, clicks a call request, and the user terminal initiates the call request to the access gateway.
Step 603: and after receiving the call request, the access gateway forwards the call request to a background service server.
Step 604: the service server searches the database for the acceptance information of the survey case 1.
Step 605: and the service server judges whether the investigated case 1 is a new investigated case according to the inquiring result.
Step 606: if the survey case 1 is a new survey case, an idle channel request is sent to the mobile survey server, and when the mobile survey server searches for an idle channel, idle channels corresponding to all the service agents are queried, and then step 608 is executed.
And inquiring idle channels corresponding to all the service seats, namely not limiting the range of the service seat number.
Step 607: and if the investigated case 1 is not a new investigated case, sending an idle channel request to the mobile investigating server, and searching an idle channel corresponding to the service seat job number of the previously accepted investigated case 1 by the mobile investigating server.
Step 608: and after receiving the at least one idle channel request, the mobile survey server searches for an idle channel in a database or a memory.
The mobile survey server may queue the at least one free channel request.
Step 609: if the mobile survey server does not find an idle channel, the current number of people in line and the expected waiting time are returned to the service server, and then step 613 is executed.
Meanwhile, the user terminal prompts the surveyor to be in line for xx people at present and expect to wait xx minutes on a display interface through the service processing module, and the user terminal can also play queuing waiting music to the surveyor, wherein the queuing waiting time is up to 30 seconds.
Step 610: and when the time of the expected waiting time is up, the mobile survey server judges whether the queuing times exceed the maximum queuing times.
The maximum number of queues may be set to a default value such as 3.
Step 611: and if the maximum queuing times is exceeded, returning a queuing failure message to the service server.
Meanwhile, the user terminal prompts a message of 'no answer, full busy service seat and later retest' to a surveyor on a display interface through the service processing module.
Step 612: if the maximum queuing number is not exceeded, the mobile survey server queues the idle tunnel request again, and step 608 is executed again.
Meanwhile, a prompt tone 'please go to the background service seat service later' is played on the user terminal to the surveyor.
Step 613: if an idle channel 1 is found, the mobile survey server allocates the current call request to the channel 1, and the user terminal initiates a call request to the channel 1.
Step 614: after receiving the call request, the instruction processing module of the PC channel 1 prompts 'channel 1 survey case 1 to request call' on the PC interface through the service processing module.
If the service agent clicks "deny connection" on the PC interface, or does not click "accept connection" within a specified time, step 622 is performed. If the service agent clicks "accept connection" on the PC interface within the specified time, go to step 615. The prescribed time may be a default value such as 30 seconds.
Step 615: the single channel instruction processing module of the PC channel 1 establishes audio and video calls between the channel 1 and the user terminal, the video processing module of the channel 1 starts coding and decoding, the image information of the user terminal on site is seen on the PC interface, and the PC channel 1 automatically starts recording at the local part of the PC.
Meanwhile, the multi-channel general control module of the PC reports the state to the mobile survey server, such as that the channel 1 of the current service seat is in conversation.
Step 616: the service seat and the surveyor start audio and video communication, and the service seat informs the surveyor of the requirements of work specifications, notes and the survey personnel start on-site evidence obtaining work.
Step 617: the service seat clicks an available button on a PC interface, the multi-channel master control module reports the state to the mobile survey server, that the state of the current service seat number is in a call, but the channel 2 is in an idle state.
Step 618: the mobile survey server assigns the call request for survey case 2 to idle lane 2. The steps following step 613 are performed.
In this way, the service agent processes two call requests from different user terminals in parallel using channel 1 and channel 2.
Step 619: the surveyor uses the user terminal to begin surveying on site, take pictures to obtain evidence and upload pictures to the mobile surveying server.
Step 620: after the field operation is finished, the surveyor clicks the 'finish' action on the user terminal interface to finish the audio and video call with the PC service seat.
In the surveying process, a surveyor can interactively communicate with a service seat through messages and audios and videos at any time.
Step 621: the mobile survey server forwards the completion message to an instruction processing module of the PC terminal channel 1, the PC channel 1 stops the video acquisition work, and the video file is uploaded to the mobile survey server through the video uploading module.
Meanwhile, the channel 1 prompts that the channel 1 finishes the operation and asks for loss checking of the case 1 on a PC interface through the service processing module. And the service seat checks the evidence obtaining image of the surveyor from the mobile survey server through a picture downloading module of the PC. And the service seat opens the core claim settlement system to finish damage assessment operation.
Step 622: the service agent uses the channel 1 to complete the survey and the loss checking work.
After the survey loss assessment task is completed, the service seat clicks an available button on a PC interface, and the multi-channel master control module reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in an idle state.
The mobile survey server assigns the call request of the next user terminal to the idle channel 1. The steps following step 613 are then performed.
Fig. 7 is a schematic diagram of a specific implementation process of survey task processing when a user terminal initiates a call request to a mobile survey system through a network according to an embodiment of the present invention, in which the user terminal is a terminal used by a surveyor, the server is a mobile survey server, the server is a PC used by a survey service seat, and an event to be processed is a reported survey case; in the embodiment, the method is applied to a mobile survey server side, the request for establishing the audio and video connection for realizing the survey task is initiated by a user terminal, and the mobile survey server records the survey image data sent by the user terminal; the specific implementation process comprises the following steps:
step 701: the user terminal registers with the access gateway through the network.
The surveyor opens a network connection on the user terminal, inputs account information, registers to the access gateway through the network, and prepares to initiate a call request. Meanwhile, a service seat of the PC inputs a work number and a password, registers the work number and the password in an access gateway through a network, initializes two single-channel instruction processing modules and two video processing modules through a multi-channel master control module, and reports the readiness of two idle channels to a mobile survey server through the multi-channel master control module.
Step 702: the user terminal initiates a call request for investigating case 1 to the access gateway.
The surveyor selects a survey case 1 on the display interface of the user terminal, clicks a call request, and the user terminal initiates the call request to the access gateway.
Step 703: and after receiving the call request, the access gateway forwards the call request to a background service server.
Step 704: the service server searches the database for the acceptance information of the survey case 1.
Step 705: and the service server judges whether the investigated case 1 is a new investigated case according to the inquiring result.
Step 706: if the survey case 1 is a new survey case, an idle channel request is sent to the mobile survey server, and when the mobile survey server searches for an idle channel, idle channels corresponding to all the service agents are queried, and then step 708 is executed.
And inquiring idle channels corresponding to all the service seats, namely not limiting the range of the service seat number.
Step 707: and if the investigated case 1 is not a new investigated case, sending an idle channel request to the mobile investigating server, and searching an idle channel corresponding to the service seat job number of the previously accepted investigated case 1 by the mobile investigating server.
Step 708: and after receiving the at least one idle channel request, the mobile survey server searches for an idle channel in a database or a memory.
The mobile survey server may queue the at least one free channel request.
Step 709: if the mobile survey server does not find an idle channel, the current number of people in line and the expected waiting time are returned to the service server, and then step 713 is executed.
Meanwhile, the user terminal prompts the surveyor to be in line for xx people at present and expect to wait xx minutes on a display interface through the service processing module, and the user terminal can also play queuing waiting music to the surveyor, wherein the queuing waiting time is up to 30 seconds.
Step 710: and when the time of the expected waiting time is up, the mobile survey server judges whether the queuing times exceed the maximum queuing times.
The maximum number of queues may be set to a default value such as 3.
Step 711: and if the maximum queuing times is exceeded, returning a queuing failure message to the service server.
Meanwhile, the user terminal prompts a message of 'no answer, full busy service seat and later retest' to a surveyor on a display interface through the service processing module.
Step 712: if the maximum queuing times are not exceeded, the mobile survey server queues the idle path request again and performs step 708 again.
Meanwhile, a prompt tone 'please go to the background service seat service later' is played on the user terminal to the surveyor.
Step 713: if an idle channel 1 is found, the mobile survey server allocates the current call request to the channel 1, and the user terminal initiates a call request to the channel 1.
Step 714: after receiving the call request, the instruction processing module of the PC channel 1 prompts 'channel 1 survey case 1 to request call' on the PC interface through the service processing module.
If the service agent clicks "deny connection" on the PC interface, or does not click "accept connection" within a specified time, step 722 is performed. If the service agent clicks "accept connection" on the PC interface within the specified time, go to step 715. The prescribed time may be a default value such as 30 seconds.
Step 715: the single-channel instruction processing module of the PC channel 1 establishes audio and video calls between the channel 1 and the user terminal, the video processing module of the channel 1 starts coding and decoding, the image information of the user terminal on site is seen on the PC interface, and the mobile survey server automatically starts recording.
Meanwhile, the multi-channel general control module of the PC reports the state to the mobile survey server, such as that the channel 1 of the current service seat is in conversation.
Step 716: the service seat and the surveyor start audio and video communication, and the service seat informs the surveyor of the requirements of work specifications, notes and the survey personnel start on-site evidence obtaining work.
Step 717: the service seat clicks an available button on a PC interface, the multi-channel master control module reports the state to the mobile survey server, that the state of the current service seat number is in a call, but the channel 2 is in an idle state.
Step 718: the mobile survey server assigns the call request for survey case 2 to idle lane 2. The steps following step 713 are performed.
In this way, the service agent processes two call requests from different user terminals in parallel using channel 1 and channel 2.
Step 719: the surveyor uses the user terminal to begin surveying on site, take pictures to obtain evidence and upload pictures to the mobile surveying server.
Step 720: after the field operation is finished, the surveyor clicks the 'finish' action on the user terminal interface to finish the audio and video call with the PC service seat.
In the surveying process, a surveyor can interactively communicate with a service seat through messages and audios and videos at any time.
Step 721: and the mobile survey server stops the video acquisition work of the channel 1 and forwards the completion message to the instruction processing module of the server channel 1.
Meanwhile, the channel 1 prompts that the channel 1 finishes the operation and asks for loss checking of the case 1 on a PC interface through the service processing module. And the service seat checks the evidence obtaining image of the surveyor from the mobile survey server through a picture downloading module of the PC. And the service seat opens the core claim settlement system to finish damage assessment operation.
Step 722: the service agent uses the channel 1 to complete the survey and the loss checking work.
After the survey loss assessment task is completed, the service seat clicks an available button on a PC interface, and the multi-channel master control module reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in an idle state.
The mobile survey server assigns the call request of the next user terminal to the idle channel 1. The steps following step 713 are then performed.
Fig. 8 is a schematic diagram of a specific implementation process of survey task processing when a server initiates a call request to a mobile survey system through a network according to an embodiment of the present invention, in which a user terminal is a terminal used by a surveyor, a server is a mobile survey server, the server is a PC used by a survey service seat, and an event to be processed is a reported survey case; in the embodiment, the request for establishing the audio and video connection for realizing the survey task is initiated by the PC, and the PC records the image data generated in the audio and video call with the user terminal; the specific implementation process comprises the following steps:
step 801: the user terminal registers with the access gateway through the network.
The surveyor opens a network connection on the user terminal, inputs account information, registers to the access gateway through the network, and prepares to initiate a call request. Meanwhile, a service seat of the PC inputs a work number and a password, registers the work number and the password in an access gateway through a network, initializes two single-channel instruction processing modules and two video processing modules through a multi-channel master control module, and reports the readiness of two idle channels to a mobile survey server through the multi-channel master control module.
Step 802: the PC lists a current survey case list on a display interface through a service processing module, a service agent selects a survey case 1 on the PC display interface, clicks a call request, and initiates an outbound call request to the mobile survey server by using an idle channel 1.
Step 803: and after receiving the connection request, the mobile survey server transmits a call request of the channel 1 survey case 1 to the access gateway.
Step 804: the access gateway initiates a call request to the user terminal.
Step 805: after receiving the call request, the user terminal displays that the xx telephone operator is initiating the connection of the survey case 1 through the service processing module, prompts a message of 'accepting the connection' or 'rejecting the connection' to the surveyor, and the surveyor clicks 'accepting the connection' on a user terminal interface.
Step 806: the single channel instruction processing module of the PC channel 1 establishes audio and video calls between the channel 1 and the user terminal, the video processing module of the channel 1 starts coding and decoding, the image information of a site is seen on the PC interface, and the channel 1 of the PC automatically starts recording at the local part of the PC.
Meanwhile, the multi-channel general control module of the PC reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in conversation.
Step 807: the service seat and the surveyor start audio and video communication, the service seat informs the surveyor of the requirements and the cautions of the work specification, and the surveyor starts the on-site evidence-taking work.
Step 808: the service seat clicks an available button on a PC interface, the multi-channel master control module reports the state to the mobile survey server, that the state of the current service seat number is in a call, but the channel 2 is in an idle state.
Step 809: the service agent of the PC may use channel 2 to process the audiovisual connection of survey case 2 and then perform the steps following step 802.
In this way, the service agent processes call requests of two different user terminals in parallel using channel 1 and channel 2.
Step 810: the surveyor uses the user terminal to begin surveying on site, take pictures to obtain evidence and upload pictures to the mobile surveying server.
Step 811: after the field operation is finished, the surveyor clicks the 'finish' action on the user terminal interface to finish the audio and video call with the PC service seat.
In the surveying process, a surveyor can interactively communicate with a service seat through messages and audios and videos at any time.
Step 812: the mobile survey server forwards the completion message to an instruction processing module of a channel 1 at the PC terminal, the channel 1 stops the video acquisition work, and the video file is uploaded to the mobile survey server through a video uploading module.
Meanwhile, the channel 1 prompts that the channel 1 finishes the operation and asks for loss checking of the case 1 on a PC interface through the service processing module. And the service seat checks the evidence obtaining image of the surveyor from the mobile survey server through a picture downloading module of the PC. And the service seat opens the core claim settlement system to finish damage assessment operation.
Step 813: and the service seat uses the channel 1 to complete the mobile survey and the loss assessment work.
After the survey and damage assessment are finished, the service seat clicks an available button on a PC interface, and the multi-channel master control module reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in an idle state.
The service agent of the PC uses the channel 1 to process the audio/video connection request of the next survey case, and then the steps after the step 802 are executed.
Fig. 9 is a schematic diagram of a specific implementation process of survey task processing when a server initiates a call request to a mobile survey system through a network according to an embodiment of the present invention, in which a user terminal is a terminal used by a surveyor, a server is a mobile survey server, the server is a PC used by a survey service seat, and an event to be processed is a reported survey case; in the embodiment, the method is applied to a PC side, the request for establishing the audio and video connection for realizing the survey task is initiated by the PC, and the survey image data sent by the user terminal is recorded by the mobile survey server; the specific implementation process comprises the following steps:
step 901: the user terminal registers with the access gateway through the network.
The surveyor opens a network connection on the user terminal, inputs account information, registers to the access gateway through the network, and prepares to initiate a call request. Meanwhile, a service seat of the PC inputs a work number and a password, registers the work number and the password in an access gateway through a network, initializes two single-channel instruction processing modules and two video processing modules through a multi-channel master control module, and reports the readiness of two idle channels to a mobile survey server through the multi-channel master control module.
Step 902: the current survey case list is listed on the PC interface through the service processing module, the service agent selects a survey case 1 on the display interface, clicks a call request, and initiates an outbound call request to the mobile survey server by using the idle channel 1.
Step 903: after receiving the request initiated by the PC, the mobile survey server forwards the call request of the channel 1 survey case 1 to the access gateway.
Step 904: the access gateway initiates a call request to the user terminal.
Step 905: after receiving the call request, the user terminal displays that the xx telephone operator is initiating the connection of the survey case 1 through the service processing module, prompts a message of 'accepting the connection' or 'rejecting the connection' to the surveyor, and the surveyor clicks 'accepting the connection' on a user terminal interface.
Step 906: the single-channel instruction processing module of the PC channel 1 establishes audio and video calls between the channel 1 and the user terminal, the video processing module of the channel 1 starts coding and decoding, the image information of a site is seen on the PC interface, and the mobile survey server automatically starts recording.
Meanwhile, the multi-channel general control module of the PC reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in conversation.
Step 907: the service seat and the surveyor communicate with each other through audio and video, and the manual voice informs the surveyor of the requirements and the cautions of the work specification, so that the surveyor starts to perform on-site evidence collection.
Step 908: the service seat clicks an available button on a PC interface of the PC, and the multi-channel master control module reports the state to the mobile survey server, wherein the state of the current service seat number is in a call, but the channel 2 is in an idle state.
Step 909: the service agent of the PC may process the audiovisual connection of survey case 2 using channel 2 and then perform the steps after step 902.
In this way, the service agent processes call requests of two different user terminals in parallel using channel 1 and channel 2.
Step 910: the surveyor uses the user terminal to begin surveying on site, take pictures to obtain evidence and upload pictures to the mobile surveying server.
Step 911: after the field operation is finished, the surveyor clicks the 'finish' action on the user terminal interface to finish the audio and video call with the PC service seat.
In the surveying process, a surveyor can interactively communicate with a service seat through messages and audios and videos at any time.
Step 912: the mobile survey server forwards the completion message to the instruction processing module of the PC terminal channel 1, and the mobile survey server stops the video acquisition work.
Meanwhile, the channel 1 prompts that the channel 1 finishes the operation and asks for loss checking of the case 1 on a PC interface through the service processing module. And the service seat checks the evidence obtaining image of the surveyor from the mobile survey server through a picture downloading module of the PC. And the service seat opens the core claim settlement system to finish damage assessment operation.
Step 913: the mobile survey and loss assessment work of the channel 1 of the service agent are all finished.
After the survey and damage assessment are finished, the service seat clicks an available button on a PC interface, and the multi-channel master control module reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in an idle state.
The service agent of the PC processes the audio/video connection request of the next survey case using the channel 1, and then executes the steps after the step 902.
Fig. 10 is a schematic flow chart illustrating a dynamic channel addition according to an embodiment of the present invention, in which a user terminal is a terminal used by a surveyor, a server is a mobile survey server, a server is a PC used by a survey service agent, and an event to be processed is a reported survey case; in the embodiment, the method is applied to a mobile survey server side, the request for establishing the audio and video connection for realizing the survey task is initiated by a user terminal, and the PC records the image data generated in the audio and video call with the user terminal; the specific implementation process comprises the following steps:
step 1001: the user terminal registers to the access gateway through the network and initiates a call request.
The surveyor opens a network connection on the user terminal, inputs account information, registers to the access gateway through the network, and prepares to initiate a call request. Meanwhile, a service seat of the PC inputs a work number and a password, registers the work number and the password in an access gateway through a network, initializes two single-channel instruction processing modules and two video processing modules through a multi-channel master control module, and reports the readiness of two idle channels to a mobile survey server through the multi-channel master control module.
Step 1002: the service seat of the PC machine uses the single-channel instruction processing module of the channel 1 to establish audio and video conversation between the channel 1 and the user terminal, the video processing module of the channel 1 starts coding and decoding, and the image information of the site can be seen on the PC machine interface. PC channel 1 begins recording.
The multi-channel general control module of the PC reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in conversation.
Step 1003: the service seat and the surveyor start audio and video communication, the service seat informs the surveyor of the requirements and the cautions of the work specification, and the surveyor starts the on-site evidence-taking work.
Step 1004: the service seat clicks a 'newly added channel' button on a display interface of the PC, a new single-channel instruction processing module and a video processing module are loaded through the multi-channel master control module,
assuming that the new channel is channel 2, the multi-channel general control module reports a state to the mobile survey server, wherein the state is 'channel 2 of the current service seat is ready'.
Step 1005: the service seat clicks an available button on a display interface of the PC, and the multi-channel master control module reports the state to the mobile survey server, wherein the state of the current service seat number is in a call, but the channel 2 is in an idle state.
Step 1006: the service agent of the PC may use channel 2 to process the audiovisual connection of survey case 2 and then perform the steps following step 1002.
In this way, the service agent processes call requests of two different user terminals in parallel using channel 1 and channel 2.
Step 1007: the surveyor uses the user terminal to begin surveying on site, take pictures to obtain evidence and upload pictures to the mobile surveying server.
Step 1008: after the field operation is finished, the surveyor clicks the 'finish' action on the user terminal interface to finish the audio and video call with the PC service seat.
In the surveying process, a surveyor can interactively communicate with a service seat through messages and audios and videos at any time.
Step 1009: the mobile survey server forwards the completion message to an instruction processing module of a channel 1 at the PC terminal, the channel 1 stops the video acquisition work, and the video file is uploaded to the mobile survey server through a video uploading module.
Meanwhile, the channel 1 prompts that the channel 1 finishes the operation and asks for loss checking of the case 1 on a PC interface through the service processing module. And the service seat checks the evidence obtaining image of the surveyor from the mobile survey server through a picture downloading module of the PC. And the service seat opens the core claim settlement system to finish damage assessment operation.
Step 1010: and the service seat uses the channel 1 to complete the mobile survey and the loss assessment work.
After the survey and damage assessment are finished, the service seat clicks an available button on a PC interface, and the multi-channel master control module reports the state to the mobile survey server, namely that the channel 1 of the current service seat is in an idle state.
The service agent of the PC processes the audio/video connection request of the next survey case using the channel 1, and then performs the steps after the step 1002.
Based on the survey task processing method provided by the embodiments of the application, the application also provides a survey task processing device which can be arranged on a server, and a request for establishing audio and video connection for realizing the survey task is initiated by a user terminal; as shown in fig. 11, the apparatus includes: a first obtaining module 111 and a first audio/video connection module 112; wherein;
the first obtaining module 111 is configured to obtain idle channels according to call requests initiated by user terminals, and determine a server corresponding to each obtained idle channel.
And the first audio/video connection module 112 is configured to establish audio/video connection between the user terminal and the server corresponding to each event to be processed, respectively, based on each acquired idle channel.
Each server corresponds to more than one channel, and each idle channel is used for processing one event to be processed.
In an embodiment, the first obtaining module 111 is specifically configured to determine whether the call request carries identification information of a user terminal; if the identification information carrying the user terminal is determined and the to-be-processed event initiated by the user terminal is determined to be unprocessed according to the identification information, acquiring an idle channel from more than one channel corresponding to all the service terminals; otherwise, acquiring an idle channel from more than one channel corresponding to the server side which processes the event to be processed.
In an embodiment, the first obtaining module 111 is specifically configured to obtain any idle channel from more than one channel corresponding to all the servers; or, sequentially acquiring idle channels from more than one channel corresponding to all the service ends according to a polling mode; or, according to the identification information of the user terminal, determining the area to which the user terminal belongs, and acquiring an idle channel from more than one channel corresponding to a service end in the area; or, according to the identification information of the user terminal and the priority preset for the user terminal, determining the priority corresponding to the user terminal, and acquiring an idle channel from more than one channel corresponding to the server corresponding to the priority.
In practical application, when an idle channel is respectively obtained for a call request initiated by each user terminal, two situations are included: firstly, acquiring an idle channel; and secondly, a free channel is not acquired.
The first audio/video connection module 112 is specifically configured to, after receiving a request for establishing audio/video connection initiated by a user terminal, acquire an idle channel, and forward the request initiated by the user terminal to a server through the acquired idle channel.
In one embodiment, the apparatus further comprises: a judgment module; wherein the content of the first and second substances,
the judging module is used for judging whether the acquisition times of the idle channel for executing the acquisition of the call request is greater than the preset maximum acquisition times or not when the idle channel is not acquired, and if the acquisition times are greater than the preset maximum acquisition times, informing the user terminal corresponding to the event to be processed of the busy state of the server; otherwise, acquiring the idle channel again for the call request.
Here, the preset maximum number of acquisitions may be set as needed, such as: three or five times, etc.
In practical application, when the call request is not acquired to the idle channel, the server may notify the user terminal of the queuing condition and the expected waiting time of the call request, where the expected waiting time is used for the user terminal to determine the content to be played with equal time, for example: a song having a duration equal to the expected wait duration. When the time of the estimated waiting time length is reached, judging whether the acquisition times of the idle channel acquired by executing the call request are greater than the preset maximum acquisition times or not, and if the acquisition times of the idle channel acquired by executing the call request are determined to be greater than the preset maximum acquisition times, informing the user terminal corresponding to the event to be processed of the busy state of the service terminal; otherwise, the call request is queued again and the free channel is acquired again.
In one embodiment, the apparatus further comprises: a first video generation module; wherein the content of the first and second substances,
the first video generation module is used for receiving image data sent by the user terminal; and generating a video file according to the image data.
In an embodiment, the first video generation module is specifically configured to encode and decode the image data to generate a video file; the video file is used for the server to download and finish survey and loss assessment; or sending the image data to the server side based on the acquired idle channels; and the image data is used for the server to generate a video file and finish survey and damage assessment.
Here, the video file may be generated by a server or may be generated by a server. The video file is directly generated by the server, so that the resources of the server can be saved.
In practical application, the device further comprises a first sending module and a first receiving module; wherein the content of the first and second substances,
and the first sending module is used for forwarding the completion message to the server side based on the acquired idle channel. The completion message is used for stopping video recording and disconnecting audio and video connection between the user terminals corresponding to the events to be processed by the server side.
The first receiving module is used for receiving the status message sent by the server. The status message may include: "current channel ready", "current channel idle", "current channel on-the-fly", etc.
It should be noted that: in the processing apparatus for the survey task according to the above embodiment, only the division of the program modules is illustrated, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the recommendation device and the recommendation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
In practical applications, the first obtaining module 111, the first sending module, and the first receiving module are implemented by a network interface located on a processing device of the survey task; the first audio/video connection module 112, the judgment module, and the first video generation module may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) on the Processing device of the survey task.
Based on the survey task processing method provided by the embodiments of the application, the application also provides a survey task processing device which can be arranged on the server and the request for establishing the audio and video connection for realizing the survey task is actively initiated by the server; as shown in fig. 12, the apparatus includes: a second obtaining module 121 and a second audio/video connection module 122; wherein the content of the first and second substances,
and a second obtaining module 121, configured to obtain a free channel of the second obtaining module.
And the second audio/video connection module 122 is configured to establish audio/video connection between the user terminal corresponding to the event to be processed and the user terminal based on the acquired idle channel.
Wherein, each server corresponds to more than one preset channel. Each free channel is used to process one pending event. The channel can be implemented by any of SIP program, webrtc client, or device with independent signaling processing and video processing capabilities.
Here, the second audio/video connection module 122 is specifically configured to acquire an idle channel of itself, and send an actively initiated call request to the server through the acquired idle channel; and the server forwards the call request actively initiated by the server to the user terminal corresponding to the event to be processed.
In actual application, a server user can arbitrarily select one event to be processed from a preset event list to be processed, and actively initiate a call request to a user terminal corresponding to the selected event to be processed.
In one embodiment, the apparatus further comprises: a second video generation module; wherein the content of the first and second substances,
the second video generation module is used for receiving image data sent by the server based on the acquired idle channel; and coding and decoding the image data to obtain a video file. And the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
In one embodiment, the apparatus further comprises: the second receiving module and the second sending module; wherein the content of the first and second substances,
and the second sending module is used for sending a downloading request of the video file to the server.
The second receiving module is used for receiving the video files sent by the server; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
Here, the video file may be generated by a server or may be generated by a server. The video file is directly generated by the server, so that the resources of the server can be saved. The server side can upload the video file to the server after generating the video file.
In practical application, after the second obtaining module 121 obtains the idle channel, the second sending module may send the status message of the idle channel to the server. The status message may be "current channel idle", "current channel ready", "current channel on-the-fly", etc.
In one embodiment, the apparatus further comprises: the device comprises a detection module and a channel increasing module;
the channel increasing module is used for detecting whether a first instruction triggered by a user on a display interface is received; the first instruction characterizes an instruction to add a channel; loading a new channel when it is determined that the first instruction is received; and informing the server of the idle state of the new channel.
The detection module is used for detecting whether a second instruction triggered by a user on a display interface is received; the second instruction represents an instruction that a current channel is idle; and when the second instruction is determined to be received, notifying the idle state of the current channel to the server by using a second sending module.
In practical application, after the server receives a "complete" message sent by the server based on the idle channel by using the second receiving module, the second audio/video connection module 122 stops recording and disconnects the audio/video connection between the user terminals corresponding to the event to be processed.
Here, the server can use more idle channels to process multiple exploration tasks simultaneously according to business needs.
It should be noted that: in the processing apparatus for the survey task according to the above embodiment, only the division of the program modules is illustrated, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the recommendation device and the recommendation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
In practical applications, the second obtaining module 121, the second sending module, and the second receiving module are implemented by a network interface located on a processing device of the survey task; the second audio/video connection module 122, the second video generation module, the detection module, and the channel increase module may be implemented by a CPU, an MPU, a DSP, or an FPGA located on the processing device of the survey task.
Fig. 13 is a schematic configuration diagram of an apparatus for processing an investigation task according to the present invention, and the apparatus 1300 for processing an investigation task shown in fig. 13 includes: at least one processor 1301, memory 1302, user interface 1303, at least one network interface 1304. The various components in the survey task's processing device 1300 are coupled together by a bus system 1305. It is understood that the bus system 1305 is used to implement connective communication between these components. The bus system 1305 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in FIG. 13 as the bus system 1305.
The user interface 1303 may include a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, a touch screen, or the like, among others.
It will be appreciated that the memory 1302 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 1302 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 1302 in embodiments of the present invention is used to store various types of data to support the operation of the processing device 1300 for a survey task. Examples of such data include: any computer programs for operating on the processing device 1300 for the survey task, such as the operating system 13021 and application programs 13022; the operating system 13021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application programs 13022 may contain various application programs for implementing various application services. A program for implementing the method of an embodiment of the present invention may be included in the application 13022.
The method disclosed by the above embodiment of the present invention may be applied to the processor 1301, or implemented by the processor 1301. Processor 1301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 1301. The processor 1301 described above may be a general purpose processor, a digital signal processor, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 1301 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 1302, and the processor 1301 reads the information in the memory 1302 to complete the steps of the aforementioned recommended method in conjunction with its hardware.
Based on the processing method of the survey task provided by the embodiments of the present application, the present application further provides a computer-readable storage medium, which is shown in fig. 13, and the computer-readable storage medium may include: a memory 1302 for storing a computer program executable by the processor 1301 of the processing apparatus 1300 for performing the surveying task, for performing the steps of the method for processing the surveying task. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (15)

1. A method of processing a survey task, the method comprising:
the server respectively acquires idle channels according to call requests initiated by user terminals and determines the server corresponding to each acquired idle channel; each service end corresponds to more than one channel, and each idle channel is used for processing one event to be processed;
respectively establishing audio and video connection between the user terminal corresponding to each event to be processed and the server side based on each acquired idle channel;
the acquiring of the idle channel comprises:
judging whether the call request carries identification information of a user terminal;
if the identification information carrying the user terminal is determined and the to-be-processed event initiated by the user terminal is determined to be unprocessed according to the identification information, acquiring an idle channel from more than one channel corresponding to all the service terminals; otherwise, acquiring an idle channel from more than one channel corresponding to the server side which processes the event to be processed.
2. The method of claim 1, wherein the obtaining of the idle channel from the more than one channels corresponding to all the servers comprises:
acquiring any idle channel from more than one channel corresponding to all the service terminals;
or, sequentially acquiring idle channels from more than one channel corresponding to all the service ends according to a polling mode;
or, according to the identification information of the user terminal, determining the area to which the user terminal belongs, and acquiring an idle channel from more than one channel corresponding to a service end in the area;
or, according to the identification information of the user terminal and the priority preset for the user terminal, determining the priority corresponding to the user terminal, and acquiring an idle channel from more than one channel corresponding to the server corresponding to the priority.
3. The method of any of claims 1-2, wherein after establishing the audio-visual connection, the method further comprises:
receiving image data sent by the user terminal;
and generating a video file according to the image data.
4. The method of claim 3, wherein generating a video file from the image data comprises:
coding and decoding the image data to generate a video file; the video file is used for the server to download and finish survey and loss assessment; alternatively, the first and second electrodes may be,
sending the image data to the server side based on the acquired idle channels; and the image data is used for the server to generate a video file and finish survey and damage assessment.
5. The method of claim 1, further comprising:
when the idle channel is not acquired, judging whether the acquisition times of the idle channel for executing the acquisition of the call request are greater than the preset maximum acquisition times or not, and if so, notifying the user terminal corresponding to the event to be processed of the busy state of the server; otherwise, acquiring the idle channel again for the call request.
6. A method of processing a survey task, the method comprising:
the server side obtains an idle channel of the server side; each server corresponds to more than one preset channel, and each idle channel is used for processing one event to be processed;
establishing audio and video connection between the user terminal corresponding to the event to be processed and the user terminal based on the acquired idle channel;
the method further comprises the following steps:
detecting whether a first instruction triggered by a user on a display interface is received; the first instruction characterizes an instruction to add a channel;
loading a new channel when it is determined that the first instruction is received;
and informing the server of the idle state of the new channel.
7. The method of claim 6, wherein after establishing the audio-visual connection, the method further comprises:
receiving image data sent by a server based on the idle channel;
coding and decoding the image data to obtain a video file; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
8. The method of claim 6, further comprising:
sending a downloading request of the video file to a server;
receiving a video file sent by the server; and the video file is used for being downloaded by a service end user and completing the survey and damage assessment.
9. The method of claim 6, further comprising:
detecting whether a second instruction triggered by a user on a display interface is received; the second instruction represents an instruction that a current channel is idle;
and when the second instruction is determined to be received, notifying the server of the idle state of the current channel.
10. An apparatus for processing a survey task, the apparatus comprising:
the first acquisition module is used for respectively acquiring idle channels according to call requests initiated by user terminals and determining service terminals corresponding to the acquired idle channels; each service end corresponds to more than one channel, and each idle channel is used for processing one event to be processed;
the first audio/video connection module is used for respectively establishing audio/video connection between the user terminal corresponding to each event to be processed and the server side based on each acquired idle channel;
the first obtaining module is specifically configured to determine whether the call request carries identification information of the user terminal; if the identification information carrying the user terminal is determined and the to-be-processed event initiated by the user terminal is determined to be unprocessed according to the identification information, acquiring an idle channel from more than one channel corresponding to all the service terminals; otherwise, acquiring an idle channel from more than one channel corresponding to the server side which processes the event to be processed.
11. An apparatus for processing a survey task, the apparatus comprising:
the second acquisition module is used for acquiring an idle channel of the second acquisition module; each server corresponds to more than one preset channel, and each idle channel is used for processing one event to be processed;
the second audio/video connection module is used for establishing audio/video connection between the user terminal corresponding to the event to be processed and the second audio/video connection module based on the acquired idle channel;
the device further comprises:
the channel increasing module is used for detecting whether a first instruction triggered by a user on a display interface is received; the first instruction characterizes an instruction to add a channel; loading a new channel when it is determined that the first instruction is received; and informing the server of the idle state of the new channel.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 6 to 9.
14. A survey task processing apparatus, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 5 when running the computer program.
15. A survey task processing apparatus, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 6 to 9 when running the computer program.
CN201711208364.9A 2017-11-27 2017-11-27 Processing method and device for survey task and computer readable storage medium Active CN109842590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711208364.9A CN109842590B (en) 2017-11-27 2017-11-27 Processing method and device for survey task and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711208364.9A CN109842590B (en) 2017-11-27 2017-11-27 Processing method and device for survey task and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109842590A CN109842590A (en) 2019-06-04
CN109842590B true CN109842590B (en) 2021-12-28

Family

ID=66880370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711208364.9A Active CN109842590B (en) 2017-11-27 2017-11-27 Processing method and device for survey task and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109842590B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988374A (en) * 2019-12-16 2021-06-18 阿里巴巴集团控股有限公司 Data processing method, device, system and storage medium
CN111403052A (en) * 2020-02-28 2020-07-10 广东人联网电子商务有限公司 Video inquiry method and system
CN112422847A (en) * 2020-10-30 2021-02-26 微民保险代理有限公司 Vehicle insurance claim settlement-based media mixing method and device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1084113C (en) * 1998-09-30 2002-05-01 华为技术有限公司 Call queuing route distribution method
CN101076059B (en) * 2007-03-28 2012-09-05 腾讯科技(深圳)有限公司 Customer service system and method based on instant telecommunication
CN101453621B (en) * 2007-12-03 2011-05-11 北大方正集团有限公司 Method, system and device for video server resource sharing
CN101662701A (en) * 2008-08-29 2010-03-03 华为技术有限公司 Method, device and call center system for text chat routings
CN102223454B (en) * 2010-04-19 2014-01-22 华为技术有限公司 Method and apparatus for seat arrangement of call center
CN102238290B (en) * 2010-04-21 2014-04-02 华为技术有限公司 Call processing method, device and system
CN102572700B (en) * 2010-12-30 2015-10-07 上海博泰悦臻电子设备制造有限公司 The tracking of call center and vehicle location thereof, the tracking system of vehicle location
CN103458131B (en) * 2012-05-29 2018-09-28 中兴通讯股份有限公司 It attends a banquet login, the method for scheduling and center of attending a banquet
US9456317B2 (en) * 2014-03-04 2016-09-27 HeyWire, Inc. Intelligent presence detection messaging
CN104184821B (en) * 2014-08-29 2017-11-28 北京奇虎科技有限公司 The method and apparatus of session and terminal responds feedback based on sending out notice
CN106302333A (en) * 2015-05-22 2017-01-04 华为技术有限公司 The processing method of media session, device and system
CN105721470B (en) * 2016-02-19 2020-10-20 广州盛华信息有限公司 Method for realizing visual access of call center
CN107295288A (en) * 2016-04-01 2017-10-24 中兴通讯股份有限公司 The realization method and system that a kind of split screen is attended a banquet
CN106251421A (en) * 2016-07-25 2016-12-21 深圳市永兴元科技有限公司 Car damage identification method based on mobile terminal, Apparatus and system
CN106231257A (en) * 2016-07-29 2016-12-14 深圳市永兴元科技有限公司 Car damage identification method and car damage identification server
CN106851363B (en) * 2017-02-28 2019-06-28 大连理工大学 A kind of subway train stream media service system based on PIS data

Also Published As

Publication number Publication date
CN109842590A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
US10055742B2 (en) Call transfers for web-delivered calls
US7853647B2 (en) Network agnostic media server control enabler
US9813560B2 (en) Systems and methods for managing multimedia conference calls
US9473628B2 (en) Method and system for providing communication hold status management
US8255542B2 (en) Method and system for for reconstructing a session by integrating metadata and data of a session
CN109842590B (en) Processing method and device for survey task and computer readable storage medium
US8543652B2 (en) System and method for efficient unified messaging system support for speech-to-text service
WO2013127163A1 (en) Call terminal enrollment method and device
US9973731B2 (en) Participating in a peer-to-peer communication session
US20100217816A1 (en) Video voicemail and menu system
WO2022110943A1 (en) Speech preview method and apparatus
CN109522198A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of application program
EP2652929B1 (en) A system and a method for providing a communication service in a communication network
US20170214792A1 (en) Recording and playing back portions of a telephone call
US10542054B2 (en) Device and method for providing mobile internet call service
US20170192735A1 (en) System and method for synchronized displays
WO2011150885A2 (en) Method and device for managing voice message
CN109818999B (en) Data transmission method and device
US9256882B2 (en) Methods, communications devices, and computer program products for selecting an advertisement to initiate device-to-device communications
US11233834B2 (en) Streaming click-to-talk with video capability
CN113364672B (en) Method, device, equipment and computer readable medium for determining media gateway information
US20160127430A1 (en) Broadcasting and managing broadcasts using a telephony conference platform
US20160299887A1 (en) Automated escalation agent system for language interpretation
WO2020087788A1 (en) Audio processing method and device
CN111541855A (en) Video call method, device and 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
GR01 Patent grant
GR01 Patent grant