CN111159291A - Progress bar display method and device, terminal equipment and storage medium - Google Patents

Progress bar display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111159291A
CN111159291A CN201911319944.4A CN201911319944A CN111159291A CN 111159291 A CN111159291 A CN 111159291A CN 201911319944 A CN201911319944 A CN 201911319944A CN 111159291 A CN111159291 A CN 111159291A
Authority
CN
China
Prior art keywords
organization
organization directory
monitoring
resource
directory code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911319944.4A
Other languages
Chinese (zh)
Inventor
白羽
王艳辉
刘彦辉
侯文宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911319944.4A priority Critical patent/CN111159291A/en
Publication of CN111159291A publication Critical patent/CN111159291A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method and a device for displaying a progress bar, wherein the method is applied to a video network and comprises the following steps: the method comprises the steps that a video network monitoring unified management platform receives a resource data synchronization request sent by a third-party platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.

Description

Progress bar display method and device, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of video networking, in particular to a progress bar display method, a progress bar display device, terminal equipment and a storage medium.
Background
With the rapid development of network technologies, bidirectional communications such as video conferences and video teaching are widely popularized in the aspects of life, work, learning and the like of users.
The video networking monitoring and networking management and scheduling system does not display the pushing progress when pushing resources to the superior platform, and if the resources are abnormally interrupted in the process of pushing the resources, an operator cannot know the fact that the superior platform acquires the resources and the problem that the resources are lost is easily caused.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a progress bar display method, apparatus, terminal device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for displaying a progress bar, where the method is applied in a video network, and includes:
receiving a resource data synchronization request sent by a third-party platform, wherein the resource data synchronization request comprises an organization directory code identifier;
determining the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier;
and determining a progress value for resource data synchronization to the third-party platform according to the quantity of the organization catalogues and the quantity of the monitoring resources, and sending the progress value of the resource data synchronization to a front-end interface for displaying.
Optionally, the resource data at least includes an organization directory code and monitoring resources, and determining, according to the organization directory code identifier and a pre-established monitoring resource database, an organization directory number of the organization directory code and a monitoring resource number corresponding to the organization directory code includes:
searching the organization directory code corresponding to the organization directory code identifier and the monitoring resource corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database;
and respectively determining the quantity of the organization directories and the quantity of the monitoring resources corresponding to the organization directory codes according to the organization directory codes and the monitoring resources. Optionally, the progress value of the resource data synchronization at least includes a progress value of an organization directory code and a progress value of a monitoring resource;
determining a progress value for resource data synchronization to the third-party platform according to the number of the organization directories and the number of the monitoring resources, including:
acquiring the quantity of the pushed organization directories in the process of pushing the organization directory codes to the third-party platform;
determining a progress value of pushing the organization directory code to the third-party platform according to the pushed organization directory number, the pushed organization directory number and the monitoring resource number until the organization directory code is completely pushed;
after the organization directory code is pushed, acquiring the quantity of the pushed monitoring resources in the process of starting to push the monitoring resources to the third-party platform;
and determining to send the progress value of the monitoring resource to the third-party platform according to the pushed quantity of the monitoring resource, the quantity of the organization catalog and the quantity of the monitoring resource.
Optionally, before pushing the organization directory code to the third-party platform, the method further includes:
and sending the progress initial value of the organization directory code to the front-end interface through an http protocol.
Optionally, the determining a progress value of sending an organization directory code according to the pushed organization directory number, the organization directory number, and the monitoring resource number includes:
and the progress value of the sending organization catalog code is the ratio of the product of the pushed organization catalog quantity and a preset value and the sum of the organization catalog quantity and the monitoring resource quantity.
Optionally, the determining, according to the number of the organization directories, the number of the pushed monitoring resources, and the number of the monitoring resources, a progress value of sending the monitoring resources to the third-party platform includes:
and the progress value of the monitoring resources sent to the third-party platform is the product of the sum of the pushed monitoring quantity and the organization catalog quantity and a preset value, and the ratio of the sum of the organization catalog quantity and the monitoring resources quantity.
Optionally, the obtaining the pushed monitoring resource amount includes:
and acquiring the quantity of the pushed monitoring resources with preset quantity.
In a second aspect, an embodiment of the present invention provides a display device of a progress bar, where the device is applied in a video network, and includes:
the system comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a resource data synchronization request sent by a third-party platform, and the resource data synchronization request comprises an organization directory code identifier;
the determining module is used for determining the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier;
and the computing module is used for determining a progress value of resource data synchronization to the third-party platform according to the number of the organization catalogues and the number of the monitoring resources, and sending the progress value of the resource data synchronization to a front-end interface for displaying.
Optionally, the resource data at least includes an organization directory code and a monitoring resource, and the determining module is configured to:
searching the organization directory code corresponding to the organization directory code identifier and the monitoring resource corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database;
and respectively determining the quantity of the organization directories and the quantity of the monitoring resources corresponding to the organization directory codes according to the organization directory codes and the monitoring resources.
Optionally, the progress value of the resource data synchronization at least includes a progress value of an organization directory code and a progress value of a monitoring resource; the calculation module is configured to:
acquiring the quantity of the pushed organization directories in the process of pushing the organization directory codes to the third-party platform;
determining a progress value of pushing the organization directory code to the third-party platform according to the pushed organization directory number, the pushed organization directory number and the monitoring resource number until the organization directory code is completely pushed;
after the organization directory code is pushed, acquiring the quantity of the pushed monitoring resources in the process of starting to push the monitoring resources to the third-party platform;
and determining to send the progress value of the monitoring resource to the third-party platform according to the pushed quantity of the monitoring resource, the quantity of the organization catalog and the quantity of the monitoring resource.
Optionally, the computing module is further configured to:
and sending the progress initial value of the organization directory code to the front-end interface through an http protocol.
Optionally, the computing module is further configured to:
and the progress value of the sending organization catalog code is the ratio of the product of the pushed organization catalog quantity and a preset value and the sum of the organization catalog quantity and the monitoring resource quantity.
Optionally, the computing module is further configured to:
and the progress value of the monitoring resources sent to the third-party platform is the product of the sum of the pushed monitoring quantity and the organization catalog quantity and a preset value, and the ratio of the sum of the organization catalog quantity and the monitoring resources quantity.
Optionally, the computing module is further configured to:
and acquiring the quantity of the pushed monitoring resources with preset quantity.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the method provided by the first aspect.
In a fourth aspect, the embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed, implements the method provided in the first aspect.
The embodiment of the invention has the following advantages:
the embodiment of the invention applies the characteristics of the video network, and a video network monitoring unified management platform receives a resource data synchronization request sent by a third-party platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
Drawings
FIG. 1 is a flowchart illustrating the steps of a method for displaying a progress bar according to an embodiment of the present invention;
FIG. 2 is a flow chart of the steps of another embodiment of a method for displaying a progress bar of the present invention;
FIG. 3 is a flowchart illustrating the steps of another embodiment of a method for displaying a progress bar according to the present invention;
FIG. 4 is a block diagram of a display device of a progress bar according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
Based on the characteristics of the video network, one of the core concepts of the embodiments of the present invention is provided, and a video network monitoring unified management platform receives a resource data synchronization request sent by a third party platform, following a protocol of the video network, where the resource synchronization request includes an organization directory code identifier, and determines the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database, where the organization directory code at least includes the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
The nouns are explained as follows:
the video networking monitoring unified management platform: also known as MServer, is responsible for the unified management of all accessed monitoring devices throughout the video network, as well as the docking services of other third party monitoring systems.
The video networking monitoring networking management scheduling system: the system consists of a video network monitoring unified management platform, a Web front end, a video network scheduling basic service and a video network protocol conversion server.
The video networking protocol conversion server: it can be understood as a co-rotating gateway, which is responsible for accessing external (on-internet) monitoring devices (which can also be described as monitoring resources) into the video network, and can realize browsing among the monitoring devices on the controllable internet in the video network.
An embodiment of the present invention provides a method for displaying a progress bar, which is used to determine a progress value for resource synchronization to the third-party platform, and send the progress value to a front-end interface for display. The execution main body of the embodiment is a display device of a progress bar, and the display device is arranged on a video networking monitoring unified management platform.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for displaying a progress bar according to the present invention is shown, where the method may be applied to a video network, and specifically may include the following steps:
s101, receiving a resource data synchronization request sent by a third-party platform, wherein the resource data synchronization request comprises an organization directory code identifier;
specifically, the third-party platform is a superior platform and is also a superior international platform, the third-party platform wants to access monitoring resources in the video networking monitoring and managing and scheduling system, and the third-party platform sends a resource synchronization request to the video networking monitoring and managing unified management platform, wherein the request contains an organization directory code identifier to be synchronized.
S102, determining the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier;
specifically, a monitoring resource database in a video network monitoring unified management platform, namely an MServer, at least includes an organization directory code and monitoring resources corresponding to the organization directory, where the organization directory code at least includes an organization directory code identifier, and after a resource synchronization request sent by a third-party platform is received, according to the organization directory code identifier in the request, an organization directory code including the organization directory code identifier and monitoring resources corresponding to the organization directory code are searched in a pre-established monitoring resource database, and the number of the organization directory codes and the number of the monitoring resources are respectively counted.
For example, if the organization directory code identifier is a provincial code 11, the pre-established overhead resource database may include the provincial code 11, a next-level city code 1101, a next-level region code 110102, and the like, in this process, all the organization directory codes including the provincial code 11 are obtained, each organization directory code corresponds to a quantity of 1, and in this embodiment, the counted number of the organization directory codes is 3.
In the embodiment of the present invention, the number of the monitoring resources corresponding to one organization directory code is not specifically limited, and the size of the video file is not specifically limited, and only the number of the monitoring resources needs to be counted.
S103, determining a progress value for resource data synchronization to the third-party platform according to the number of the organization catalogues and the number of the monitoring resources, and sending the progress value for resource data synchronization to a front-end interface for display.
Specifically, after the MServer obtains the organization catalog code, the monitoring resource, the organization catalog code number and the monitoring resource number, the MServer firstly pushes the organization catalog code to a third-party platform, then pushes the monitoring resource to the third-party platform, and when the MServer pushes the organization catalog code and the monitoring resource to the third-party platform, the MServer counts the pushed organization catalog code number and the pushed monitoring resource number, determines a progress value for resource synchronization to the third-party platform according to the pushed organization catalog code number, the pushed monitoring resource number, the organization catalog number and the monitoring resource number, and sends the progress value to an interface of a Web front end for display.
The method for displaying the progress bar provided by the embodiment of the invention receives a resource data synchronization request sent by a third-party platform through a video network monitoring unified management platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
The method provided by the above embodiment is further described in an additional embodiment of the present invention.
Optionally, the resource data at least includes an organization directory code and monitoring resources, and determining, according to the organization directory code identifier and a pre-established monitoring resource database, an organization directory number of the organization directory code and a monitoring resource number corresponding to the organization directory code includes:
searching the organization directory code corresponding to the organization directory code identifier and the monitoring resource corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database;
and respectively determining the quantity of the organization directories and the quantity of the monitoring resources corresponding to the organization directory codes according to the organization directory codes and the monitoring resources.
Specifically, the MServer determines resource data according to an organization directory identifier, where the resource data at least includes an organization directory and a monitoring resource, and specifically, the MServer searches, according to the organization directory identifier, an organization directory code including the organization directory identifier in a pre-established monitoring resource database, searches for a monitoring resource corresponding to the organization directory code, where one organization directory code may correspond to at least one monitoring resource, which is not specifically limited in the embodiment of the present invention.
After the organization directory code and the monitoring resource corresponding to the organization directory code are found, the number of the organization directory code and the number of the monitoring resource are respectively determined.
Illustratively, the organization directory code identifier is 11, the organization directory code corresponding to the organization directory code identifier is determined to be 11, the monitoring resources corresponding to the organization directory code are resource 1 and resource 2, the organization directory code is 1101, and the monitoring resource corresponding to the organization directory code is resource 3, so that it can be determined that the number of organization directories is 2 and the number of monitoring resources is 3.
Optionally, the progress value of the resource data synchronization at least includes a progress value of an organization directory code and a progress value of a monitoring resource;
determining a progress value for resource data synchronization to the third-party platform according to the number of the organization directories and the number of the monitoring resources, including:
acquiring the quantity of the pushed organization directories in the process of pushing the organization directory codes to the third-party platform;
determining a progress value of pushing the organization directory code to the third-party platform according to the pushed organization directory number, the pushed organization directory number and the monitoring resource number until the organization directory code is completely pushed;
after the organization directory code is pushed, acquiring the quantity of the pushed monitoring resources in the process of starting to push the monitoring resources to the third-party platform;
and determining to send the progress value of the monitoring resource to the third-party platform according to the pushed quantity of the monitoring resource, the quantity of the organization catalog and the quantity of the monitoring resource.
On the basis of the embodiment, after acquiring the organization directory code and the monitoring resource corresponding to the organization directory code, the MServer starts to push the organization directory code and the monitoring resource to the third-party platform, so that, the progress value of the progress bar displayed at the Web front end also comprises the progress value of the organization catalog code and the progress value of the monitoring resource, specifically, the organization catalog code is firstly pushed to a third-party platform, each time MServer sends one organization catalog code to the third-party platform, locally increasing the number of the organization directory codes by 1, accumulating the number of the organization directory codes, namely the pushed organization catalog quantity, the pushed organization catalog quantity is obtained when pushing one organization catalog code, calculating the progress value of sending the organization catalog code at one time according to the number of the pushed organization catalogues, the number of the organization catalogues and the number of the monitoring resources, and sending the progress value of the organization catalog code to a Web front end for displaying;
after the MServer finishes pushing the organization catalog codes, monitoring resources are sent to a third-party platform, every time one monitoring resource is sent, the MServer locally increases the quantity of the monitoring resources by 1, the quantity of the pushed monitoring resources is accumulated to obtain the quantity of the pushed monitoring resources, the progress value of the sent monitoring resources is calculated according to the quantity of the organization catalog, the quantity of the pushed monitoring resources and the quantity of the monitoring resources, and the progress value of the monitoring resources is sent to a Web front end to be displayed until all the monitoring resources are pushed.
Before pushing organization directory code to the third party platform, the method further comprises:
and sending the progress initial value of the organization directory code to the front-end interface through an http protocol.
Specifically, after determining the organization directory number of the organization directory code to be pushed and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier in the resource synchronization request, the MServer sends an initial progress value of the organization directory code, namely the sending progress 0, to the Web front end through an http protocol before sending the organization directory code to the third-party platform, and displays the initial progress value at the Web front end to ensure that the organization directory code sent by the MServer to the third-party platform is pushed from the progress 0.
Optionally, the determining a progress value of sending an organization directory code according to the pushed organization directory number, the organization directory number, and the monitoring resource number includes:
and the progress value of the sending organization catalog code is the ratio of the product of the pushed organization catalog quantity and a preset value and the sum of the organization catalog quantity and the monitoring resource quantity.
Specifically, the MServer calculates the number of the organization directories accumulated with the pushed organization directory codes, calculates the percentage by using the number of the pushed organization directories and the total number of the resources, that is, the progress value of sending the organization directory codes is the number of the pushed organization directories × 100/(the number of the organization directories + the number of the monitoring resources), wherein the number of the organization directories is the total number of the organization directory codes required to be pushed, the number of the monitoring resources is the total number of the monitoring resources required to be pushed, sends the obtained percentage to the Web front end through an http protocol, records the percentage in the MServer database, and can display the pushing progress in real time on a page of the Web front end.
Optionally, the determining, according to the number of the organization directories, the number of the pushed monitoring resources, and the number of the monitoring resources, a progress value of sending the monitoring resources to the third-party platform includes:
and the progress value of the monitoring resources sent to the third-party platform is the product of the sum of the pushed monitoring quantity and the organization catalog quantity and a preset value, and the ratio of the sum of the organization catalog quantity and the monitoring resources quantity.
Specifically, the MServer calculates the accumulated number of the pushed monitoring resources, and according to the percentage of the pushed monitoring data to the number of the pushed organization directories, that is, the progress value of the sending monitoring resource is (the number of the pushed monitoring resources + the number of the pushed directories) × 100/(the number of the organization directories + the number of the monitoring resources), where the number of the organization directories is the total number of the organization directory codes to be pushed, and the number of the monitoring resources is the total number of the monitoring resources to be pushed; and sending the calculated percentage to a Web front end, and recording the percentage in a MServer database.
In the embodiment of the invention, the initial value of the progress of the number of the sending organization directories is 0, and the initial value of the progress of the sending monitoring resource is the progress corresponding to the pushing of the organization directories. Optionally, the obtaining the pushed monitoring resource amount includes:
and acquiring the quantity of the pushed monitoring resources with preset quantity.
Specifically, when calculating the progress value of the transmission monitoring resource, after accumulating the number of monitoring resources of the preset number, the progress value of the transmission monitoring resource is calculated once, for example, after accumulating 2000 monitoring resources, the progress value of the transmission monitoring resource is calculated once, so that the calculation amount of the MServer can be reduced.
Fig. 2 is a flowchart of a step of another embodiment of a method for displaying a progress bar according to the present invention, as shown in fig. 2, an upper platform 203 sends a resource synchronization request to an MServer202, and the MServer202 determines an organization directory code to be sent and a monitoring resource corresponding to the organization directory code according to an organization directory code identifier in the resource synchronization request, and determines the number of the organization directory and the number of the monitoring resource; in the process of pushing resources to the upper platform 203, the MServer202 determines a progress value for sending the organization directory code and the monitoring resources according to the number of the organization directories and the number of the monitoring resources, sends the obtained progress value to the Web front end 201 for display, and stores the obtained progress value in the database 204, so that the Web front end 201 can read the progress value from the database 204.
Fig. 3 is a flowchart of steps of another embodiment of a method for displaying a progress bar according to the present invention, and as shown in fig. 3, when the MServer302 pushes monitoring resources to the upper third-party international platform 303, the pushed progress is reported to the Web front end 301 for display, so that an operator can see the progress of pushing the monitoring resources at any time.
Specifically, the method comprises the following steps: when the upper international platform sends a resource synchronization request to the video networking monitoring unified management platform MServer, wherein the resource synchronization request is an SIP request of an organization directory Catalog.
Sip (session initiation protocol) is an application-layer signaling control protocol for creating, modifying and releasing sessions for one or more participants. These sessions may be Internet multimedia conferences, IP telephony or multimedia distribution. The participants of the session may communicate by Multicast (Multicast), mesh unicast (unicast), or a mixture of both.
Specifically, a database of organization directory information and monitoring resources corresponding to an organization directory is pre-established in an MServer, wherein the organization directory information comprises an organization directory name, an organization directory code and the like, the MServer receives a resource synchronization request sent by a superior platform, wherein the synchronization resource request comprises an organization directory code identifier needing to be pushed, the MServer searches in the database according to the organization directory code identifier, and if an organization directory code comprising the organization directory code identifier exists, the superior national standard platform is determined to have permission to obtain the resources needing to be pushed, wherein the pushed monitoring resources correspond to the organization directory code; and if the pushed organization directory code does not exist, the superior national standard platform has no authority to acquire resources.
If the upper international platform has the pushing authority, the organization directory number to be pushed and the monitoring number to be pushed are inquired according to the organization directory code identifier, the sum of the two numbers is recorded, namely the total number of resources, the inquired total number of resources is recorded into a log, the pushing progress 0 is reported to the Web front end through an http protocol, and the pushing progress is stored in a database, so that the upper international platform is ensured to start pushing from the progress 0.
After MServer starts to push to the superior international platform, firstly MServer pushes organization directory information to the superior international platform, wherein the organization directory information at least comprises a directory name, an organization directory code and a superior directory code, the number of the organization directories pushed in the SIP packet is the total number of resources to be pushed.
The method comprises the steps of pushing organization directory information to an upper-level national standard platform through an sip protocol, pushing one sip packet every time (one packet can contain a plurality of pieces of organization directory information, MServer calculates the quantity of accumulated pushed organization directories, and the percentage is calculated by using the quantity of the pushed organization directories and the total quantity of resources needing to be pushed recorded before, namely the progress value of sending organization directory codes is the quantity of the pushed directories 100/(the quantity of the organization directories needing to be pushed + the quantity of the monitoring resources needing to be pushed), reporting to a Web front end through an http protocol and recording the Web front end into a database, and displaying the pushing progress on a Web page of the front end in real time.
When the organization directory information is completely pushed, the monitoring resources are started to be pushed, the monitoring resources are pushed in an SIP packet mode, one SIP packet can comprise at least one monitoring resource, the embodiment of the invention is not specifically limited, when every 2000 monitoring resources are pushed, the accumulated pushed monitoring resource quantity is calculated, the percentage is calculated according to the accumulated pushed monitoring resource quantity and the total quantity of the resources needing to be pushed, namely the progress value of the sending monitoring resource is (the pushed monitoring resource quantity + the pushed organization directory quantity) 100/(the organization directory quantity needing to be pushed + the monitoring resource quantity needing to be pushed), the obtained progress value is reported to a Web front end and recorded in a database, and the Web front end interface displays the progress value.
And when all the organization directory codes and the monitoring resources are pushed, reporting the progress 100 to the Web front end, and showing that the MServer is pushed to the upper national standard platform by the Web front end.
If the process is interrupted abnormally, the server is powered off before pushing is completed, the MServer is manually closed or the network is interrupted, and the like, the display progress on the Web interface stays at a certain progress less than 100, and at this time, the resource can be resynchronized by contacting the upper international platform.
The method for displaying the progress bar provided by the embodiment of the invention receives a resource data synchronization request sent by a third-party platform through a video network monitoring unified management platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
Another embodiment of the present invention provides a display device of a progress bar, configured to perform the method provided by the above embodiment.
Referring to fig. 4, a block diagram of an embodiment of a display device of a progress bar according to the present invention is shown, where the display device may be applied in a video network, and specifically may include the following modules: a receiving module 401, a determining module 402 and a calculating module 403, wherein:
the receiving module 401 is configured to receive a resource data synchronization request sent by a third-party platform, where the resource data synchronization request includes an organization directory code identifier;
the determining module 402 is configured to determine, according to the organization directory code identifier and a pre-established monitoring resource database, an organization directory number of an organization directory code and a monitoring resource number corresponding to the organization directory code, where the organization directory code at least includes the organization directory code identifier;
the calculation module 403 is configured to determine a progress value of resource data synchronization to the third-party platform according to the number of the organization directories and the number of the monitoring resources, and send the progress value of resource data synchronization to a front-end interface for display.
The display device of the progress bar provided by the embodiment of the invention receives a resource data synchronization request sent by a third-party platform through a video network monitoring unified management platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
The device provided by the above embodiment is further described in an additional embodiment of the present invention.
Optionally, the resource data at least includes an organization directory code and a monitoring resource, and the determining module is configured to:
searching the organization directory code corresponding to the organization directory code identifier and the monitoring resource corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database;
and respectively determining the quantity of the organization directories and the quantity of the monitoring resources corresponding to the organization directory codes according to the organization directory codes and the monitoring resources.
Optionally, the progress value of the resource data synchronization at least includes a progress value of an organization directory code and a progress value of a monitoring resource; the calculation module is configured to:
acquiring the quantity of the pushed organization directories in the process of pushing the organization directory codes to the third-party platform;
determining a progress value of pushing the organization directory code to the third-party platform according to the pushed organization directory number, the pushed organization directory number and the monitoring resource number until the organization directory code is completely pushed;
after the organization directory code is pushed, acquiring the quantity of the pushed monitoring resources in the process of starting to push the monitoring resources to the third-party platform;
and determining to send the progress value of the monitoring resource to the third-party platform according to the pushed quantity of the monitoring resource, the quantity of the organization catalog and the quantity of the monitoring resource.
Optionally, the computing module is further configured to:
and sending the progress initial value of the organization directory code to the front-end interface through an http protocol.
Optionally, the computing module is further configured to:
and the progress value of the sending organization catalog code is the ratio of the product of the pushed organization catalog quantity and a preset value and the sum of the organization catalog quantity and the monitoring resource quantity.
Optionally, the computing module is further configured to:
and the progress value of the monitoring resources sent to the third-party platform is the product of the sum of the pushed monitoring quantity and the organization catalog quantity and a preset value, and the ratio of the sum of the organization catalog quantity and the monitoring resources quantity.
Optionally, the computing module is further configured to:
and acquiring the quantity of the pushed monitoring resources with preset quantity.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The display device of the progress bar provided by the embodiment of the invention receives a resource data synchronization request sent by a third-party platform through a video network monitoring unified management platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
Still another embodiment of the present invention provides a terminal device, configured to execute the method provided in the foregoing embodiment.
Fig. 5 is a schematic structural diagram of a terminal device of the present invention, and as shown in fig. 5, the electronic device includes: at least one processor 501 and memory 502;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the methods provided by the above-described embodiments.
In the embodiment of the invention, the terminal equipment is a video networking monitoring unified management platform.
The terminal device provided in this embodiment receives, through a video networking monitoring unified management platform, a resource data synchronization request sent by a third-party platform, where the resource synchronization request includes an organization directory code identifier, and determines, according to the organization directory code identifier and a pre-established monitoring resource database, an organization directory number of the organization directory code and a monitoring resource number corresponding to the organization directory code, where the organization directory code at least includes the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is executed to implement the method provided in any one of the above embodiments.
According to the computer-readable storage medium of the embodiment, a resource data synchronization request sent by a third-party platform is received through a video networking monitoring unified management platform, wherein the resource synchronization request comprises an organization directory code identifier, and the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code are determined according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier; according to the number of the organization catalogs and the number of the monitoring resources, the progress value of resource data synchronization to the third-party platform is determined, and the progress value of the resource data synchronization is sent to the front-end interface to be displayed, so that an operator can see the progress value of pushing resources to the third-party platform on a front-end page, and the problems that the pushing resources are interrupted and the third-party platform acquires resource loss are solved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for displaying a progress bar and the device for displaying a progress bar provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for displaying a progress bar is applied to a video network and comprises the following steps:
receiving a resource data synchronization request sent by a third-party platform, wherein the resource data synchronization request comprises an organization directory code identifier;
determining the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier;
and determining a progress value for resource data synchronization to the third-party platform according to the quantity of the organization catalogues and the quantity of the monitoring resources, and sending the progress value of the resource data synchronization to a front-end interface for displaying.
2. The method of claim 1, wherein the resource data includes at least an organization directory code and monitoring resources, and wherein determining the number of organization directories of the organization directory code and the number of monitoring resources corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database comprises:
searching the organization directory code corresponding to the organization directory code identifier and the monitoring resource corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database;
and respectively determining the quantity of the organization directories and the quantity of the monitoring resources corresponding to the organization directory codes according to the organization directory codes and the monitoring resources.
3. The method of claim 2, wherein the progress values of the resource data synchronization comprise at least a progress value of an organization directory code and a progress value of a monitoring resource;
determining a progress value for resource data synchronization to the third-party platform according to the number of the organization directories and the number of the monitoring resources, including:
acquiring the quantity of the pushed organization directories in the process of pushing the organization directory codes to the third-party platform;
determining a progress value of pushing the organization directory code to the third-party platform according to the pushed organization directory number, the pushed organization directory number and the monitoring resource number until the organization directory code is completely pushed;
after the organization directory code is pushed, acquiring the quantity of the pushed monitoring resources in the process of starting to push the monitoring resources to the third-party platform;
and determining to send the progress value of the monitoring resource to the third-party platform according to the pushed quantity of the monitoring resource, the quantity of the organization catalog and the quantity of the monitoring resource.
4. The method of claim 3, wherein prior to pushing organization directory code to the third party platform, the method further comprises:
and sending the progress initial value of the organization directory code to the front-end interface through an http protocol.
5. The method of claim 3, wherein determining a progress value for sending an organization directory code according to the pushed organization directory number, the organization directory number, and the monitoring resource number comprises:
and the progress value of the sending organization catalog code is the ratio of the product of the pushed organization catalog quantity and a preset value and the sum of the organization catalog quantity and the monitoring resource quantity.
6. The method of claim 3, wherein determining a progress value for sending monitoring resources to the third party platform based on the pushed number of monitoring resources, the organization catalog number, and the number of monitoring resources comprises:
and the progress value of the monitoring resources sent to the third-party platform is the product of the sum of the pushed monitoring quantity and the organization catalog quantity and a preset value, and the ratio of the sum of the organization catalog quantity and the monitoring resources quantity.
7. The method of claim 3, wherein the obtaining the pushed amount of monitoring resources comprises:
and acquiring the quantity of the pushed monitoring resources with preset quantity.
8. A display device of a progress bar, which is applied to a video network, comprises:
the system comprises a receiving module, a processing module and a sending module, wherein the receiving module is used for receiving a resource data synchronization request sent by a third-party platform, and the resource data synchronization request comprises an organization directory code identifier;
the determining module is used for determining the organization directory number of the organization directory code and the monitoring resource number corresponding to the organization directory code according to the organization directory code identifier and a pre-established monitoring resource database, wherein the organization directory code at least comprises the organization directory code identifier;
and the computing module is used for determining a progress value of resource data synchronization to the third-party platform according to the number of the organization catalogues and the number of the monitoring resources, and sending the progress value of the resource data synchronization to a front-end interface for displaying.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the memory-stored computer program to implement the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the method of any one of claims 1-7.
CN201911319944.4A 2019-12-19 2019-12-19 Progress bar display method and device, terminal equipment and storage medium Pending CN111159291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911319944.4A CN111159291A (en) 2019-12-19 2019-12-19 Progress bar display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911319944.4A CN111159291A (en) 2019-12-19 2019-12-19 Progress bar display method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111159291A true CN111159291A (en) 2020-05-15

Family

ID=70557292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911319944.4A Pending CN111159291A (en) 2019-12-19 2019-12-19 Progress bar display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111159291A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267454A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A prompt method and system for file transmission information
CN103699473A (en) * 2013-12-13 2014-04-02 乐视网信息技术(北京)股份有限公司 Indicating method and device for task progress
CN105242923A (en) * 2015-09-25 2016-01-13 努比亚技术有限公司 Display control apparatus and method for data processing progress
CN108234539A (en) * 2016-12-14 2018-06-29 北京金山云网络技术有限公司 A kind of file upload, download, transmission method and device
CN108616549A (en) * 2016-12-12 2018-10-02 北京视联动力国际信息技术有限公司 A kind of file uploading method and file server
CN109413138A (en) * 2018-09-03 2019-03-01 视联动力信息技术股份有限公司 File uploading method and device
CN109672857A (en) * 2018-11-14 2019-04-23 视联动力信息技术股份有限公司 Monitor the treating method and apparatus of resource
CN109743555A (en) * 2019-02-02 2019-05-10 视联动力信息技术股份有限公司 A kind of information processing method and system based on view networking
CN109743595A (en) * 2018-12-28 2019-05-10 视联动力信息技术股份有限公司 Terminal data synchronous method and device
CN109889780A (en) * 2019-01-31 2019-06-14 视联动力信息技术股份有限公司 Method of data synchronization and device
CN110225083A (en) * 2019-05-06 2019-09-10 视联动力信息技术股份有限公司 Data push method and device based on view networking
CN110263030A (en) * 2019-05-06 2019-09-20 视联动力信息技术股份有限公司 Data capture method and device based on view networking

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267454A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A prompt method and system for file transmission information
CN103699473A (en) * 2013-12-13 2014-04-02 乐视网信息技术(北京)股份有限公司 Indicating method and device for task progress
CN105242923A (en) * 2015-09-25 2016-01-13 努比亚技术有限公司 Display control apparatus and method for data processing progress
CN108616549A (en) * 2016-12-12 2018-10-02 北京视联动力国际信息技术有限公司 A kind of file uploading method and file server
CN108234539A (en) * 2016-12-14 2018-06-29 北京金山云网络技术有限公司 A kind of file upload, download, transmission method and device
CN109413138A (en) * 2018-09-03 2019-03-01 视联动力信息技术股份有限公司 File uploading method and device
CN109672857A (en) * 2018-11-14 2019-04-23 视联动力信息技术股份有限公司 Monitor the treating method and apparatus of resource
CN109743595A (en) * 2018-12-28 2019-05-10 视联动力信息技术股份有限公司 Terminal data synchronous method and device
CN109889780A (en) * 2019-01-31 2019-06-14 视联动力信息技术股份有限公司 Method of data synchronization and device
CN109743555A (en) * 2019-02-02 2019-05-10 视联动力信息技术股份有限公司 A kind of information processing method and system based on view networking
CN110225083A (en) * 2019-05-06 2019-09-10 视联动力信息技术股份有限公司 Data push method and device based on view networking
CN110263030A (en) * 2019-05-06 2019-09-20 视联动力信息技术股份有限公司 Data capture method and device based on view networking

Similar Documents

Publication Publication Date Title
US9749196B2 (en) Method and device for conference reservation
CN104253814B (en) A kind of Streaming Media processing method, server and browser
CN105100961A (en) Media preview generation method and generation apparatus
CN111222008A (en) Terminal information management method and device, electronic equipment and medium
CN110113298B (en) Data transmission method, device, signaling server and computer readable medium
CN111193895B (en) Recording and broadcasting method, recording and broadcasting system, client, electronic equipment and storage medium
CN111131753B (en) Conference processing method and conference management platform server
CN110149219B (en) Shooting equipment configuration method and device
CN111177463A (en) Conference record searching method and device, electronic equipment and medium
CN111212043A (en) Multimedia file generation method and device
CN111159291A (en) Progress bar display method and device, terminal equipment and storage medium
CN111131777B (en) Viewing method and device for video network monitoring
CN111083426B (en) Data processing method and device, terminal equipment and storage medium
CN111107300B (en) Method and device for starting terminal conference, terminal equipment and storage medium
CN110753071B (en) Information acquisition method and device
CN111212253B (en) Monitoring processing method and device in video conference, electronic equipment and storage medium
US10523409B2 (en) Method of synchronization during the processing, by a multimedia player, of an item of multimedia content transmitted by an MBMS service
CN112004161A (en) Processing method and device of address resources, terminal equipment and storage medium
CN112243102A (en) Notice notification method, device, terminal equipment and storage medium
CN111143607B (en) Information acquisition method and device
CN111953932A (en) Data processing method and device, terminal equipment and storage medium
CN110650080B (en) Video mail transmission method and device based on video networking
CN111131746A (en) Terminal service control method and device
CN110740114A (en) method, device and equipment for synchronizing streaming media data
WO2017071524A1 (en) Multimedia resource publishing method and apparatus

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