Detailed Description
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The term "computer device" or "computer" in this context refers to an intelligent electronic device that can execute predetermined processes such as numerical calculation and/or logic calculation by running predetermined programs or instructions, and may include a processor and a memory, wherein the processor executes a pre-stored instruction stored in the memory to execute the predetermined processes, or the predetermined processes are executed by hardware such as ASIC, FPGA, DSP, or a combination thereof. Computer devices include, but are not limited to, servers, personal computers, laptops, tablets, smart phones, and the like.
The computer equipment comprises user equipment and network equipment. Wherein the user equipment includes but is not limited to computers, smart phones, PDAs, etc.; the network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of computers or network servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers. Wherein the computer device can be operated alone to implement the invention, or can be accessed to a network and implement the invention through interoperation with other computer devices in the network. The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
It should be noted that the user equipment, the network device, the network, etc. are only examples, and other existing or future computer devices or networks may also be included in the scope of the present invention, and are included by reference.
The methods discussed below, some of which are illustrated by flow diagrams, may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine or computer readable medium such as a storage medium. The processor(s) may perform the necessary tasks.
Specific structural and functional details disclosed herein are merely representative and are provided for purposes of describing example embodiments of the present invention. The present invention may, however, be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element may be termed a second element, and, similarly, a second element may be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements (e.g., "between" versus "directly between", "adjacent" versus "directly adjacent to", etc.) should be interpreted in a similar manner.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The present invention is described in further detail below with reference to the attached drawing figures.
Fig. 1 illustrates a flow chart of a method for improving performance in acquiring program data in accordance with an aspect of the invention.
The method comprises steps S101, S102 and S103.
In step S101, the apparatus 1 performs filtering processing on the acquired program data source according to the filtering policy, and obtains program data after the filtering processing.
The device 1 is located in a VR all-in-one, for example.
Specifically, in step S101, the apparatus 1 acquires a program data source from a content source such as a search, a VR backend, an odd score, and the like, and then performs filtering processing on the acquired program data source according to a filtering policy to filter out data that does not meet requirements, for example, data that does not meet playing conditions such as filtering code-dropping stream data and movie identification inconsistency and incomplete DRM copyright information, so as to obtain filtered program data.
Here, the means for acquiring the program data source by the apparatus 1 includes, but is not limited to, acquiring from a search, VR backend, odd music, etc. as the content source of the preheating system, and different service scenarios may vary, for example, the content source may also be a public resource on the internet, or a resource inside a certain company or team. It will be appreciated by those skilled in the art that the foregoing is by way of example only, and that other content sources, now known or later developed, that may be suitable for use with the present invention are also encompassed within the scope of the present invention and are hereby incorporated by reference.
Preferably, the filtering process comprises: and assembling a corresponding filter chain according to the filter strategy, wherein a filter in the filter chain combines with a verification service according to an execution sequence to filter the acquired data, and acquiring the program data after the filtering.
Specifically, the apparatus 1 assembles a corresponding filter chain according to the filter policy, the filters in the filter chain perform chain execution according to the execution sequence, and verifies each item of data of the acquired program data sources in combination with the verification service, such as whether the program data sources meet requirements or not, and whether there is an abnormality or not, such as whether the code stream data is consistent with the movie identifier or not, and whether the DRM copyright information is complete or not, so as to filter the acquired data, and filter out the data that does not meet the requirements, such as filtering data that the code stream data is inconsistent with the movie identifier, and the DRM copyright information is incomplete or not, and thus obtain the filtered program data.
It should be understood by those skilled in the art that the above-mentioned manner of filtering the acquired program data source is only an example, and other manners of filtering the acquired program data source, which may occur now or in the future, such as may be applicable to the present invention, should be included within the scope of the present invention, and are hereby incorporated by reference.
In step S102, the device 1 performs secondary processing conversion processing on the filtered program data based on the front-end display requirement of the VR all-in-one machine according to the preheating policy, and obtains the converted program data.
Specifically, the front end of the VR all-in-one machine has a certain display requirement, for example, a certain requirement on a data format, in step S102, the device 1 performs secondary processing conversion processing on the program data filtered in step S101 according to a preheating policy based on the front end display requirement of the VR all-in-one machine, for example, format information, parameter information, and the like of the program data are converted, so that the program data meet the front end display requirement of the VR all-in-one machine, and the converted program data are obtained.
The apparatus 1 may then store the program data after the conversion process described above to facilitate subsequent retrieval therefrom as needed.
In step S103, the device 1 displays the converted program data in the VR all-in-one machine based on a user request.
Specifically, a user inputs a user request through interaction with the VR all-in-one machine, for example, through operations such as voice input, clicking, long pressing, and swiping, the VR all-in-one machine obtains the user request input by the user through an agreed communication manner, for example, calling a predetermined Application Program Interface (API), in step S103, the device 1 performs matching query in a predetermined database based on the obtained user request, the database stores the filtered and converted program data, so as to match program data corresponding to the user request, and displays the converted program data at the front end of the VR all-in-one machine according to a predetermined display format.
Here, device 1 draws program album data automatically and puts to the memory center, and data such as through filtering, preheating demonstrate at the proscenium of VR all-in-one after washing, and device 1 is through modes such as data synchronization, filtration, processing, real-time message processing, buffer memory, solves because the real-time filtration does not accord with the program data of broadcast condition and leads to the problem that VR all-in-one front end show data is repeated and turn over a page card pause in interface service, can guarantee like this that the data that exposes at the front end can not be repeated, can not cause the card pause phenomenon of turning over a page yet.
Through the self-developed distributed data preheating system, data synchronization can be triggered automatically or manually, filtering and preheating strategies are maintained dynamically, the interface directly acquires data from a cached or preheated data set and returns to the front end of the VR all-in-one machine, the time for acquiring and filtering the data by the interface is greatly reduced, the response performance of the interface is improved, the fact that program data at the front end of the VR all-in-one machine cannot be repeated is guaranteed, and the pause phenomenon caused by low response performance of a rear-end interface is also reduced.
Preferably, the strategy for acquiring the program data source, the filtering strategy and the preheating strategy are set according to the front-end display requirement of the VR integrated machine.
Specifically, a policy for acquiring a program data source, which may be referred to as a data synchronization policy, for example, is set by the device 1 according to the front-end display requirement of the VR all-in-one machine, where the policy for acquiring the program data source is similar to crawling of crawlers to acquire relevant information, and a corresponding program data source is acquired from a corresponding content source according to the front-end display requirement of the VR all-in-one machine.
The filtering strategy and the preheating strategy are also set according to the display requirement of the front end of the VR all-in-one machine, and can be flexibly controlled and expanded. For example, the device 1 formulates a corresponding filtering strategy and a preheating strategy according to a format required by the front-end display of the VR all-in-one machine, the number of required information items, and a supported playing format, so as to perform corresponding filtering processing and secondary processing conversion processing on the acquired program data source.
The data synchronization, filtering and preheating processes are automatically triggered and can be driven according to asynchronous events, so that the latest program data can be provided in a quasi-real time manner.
Preferably, the acquired program data source further includes: odd spectral data acquired based on the odd spectral synchronization instruction.
Specifically, the apparatus 1 obtains a program data source from the odd spectrum, for example, based on the odd spectrum synchronization instruction, and then, according to the filtering policy, performs filtering processing on the obtained program data source to filter out data that does not meet requirements, for example, data that does not meet playing conditions, such as filtering code-dropping stream data that is inconsistent with movie identification, and DRM copyright information that is incomplete, so as to obtain filtered program data. The odd music score is a data warehouse system for storing program contents, in which program data, for example, the most recently updated program data, is stored. For example, whenever there is a latest episode update, the latest updated episode will be stored in the odd music score.
The following is a preferred embodiment: for example, on the day of "nai xi cong cao h o", when first broadcasting in the whole network, the device 1 will automatically pull and put the program album data into the storage center, and then after filtering and preheating, will be finally displayed to the user through the VR all-in-one machine. Then, a new episode is updated at 20:00 a night every day, and the synchronization task does not actively pull the entire amount of albums from Yanxi Gao. The device 1 subscribes to an album data updating event of Yanxi attack and study through MQ (message middleware), when a new episode is released, the strange spectrum message is actively pushed through the MQ, then the strange spectrum ID in the message is analyzed, the latest strange spectrum data of the Yanxi attack and study is inquired through API, then the strange spectrum data of a storage center is updated, a data preheating instruction is triggered through the MQ, the data is displayed at the front end of a VR all-in-one machine after secondary processing and conversion processing, a user can view the latest episode, and the time consumption of the whole updating process is controlled at millisecond level.
Preferably, the method further comprises step S104 (not shown). In step S104, the apparatus 1 checks the program data after the conversion processing, and warns an abnormal data therein.
Specifically, there may be abnormal data in the filtered or converted program data, and in step S104, the apparatus 1 checks the program data converted in step S102, determines abnormal data therein, and warns the abnormal data therein.
In order to provide the user with an excellent viewing experience, for example, in the VR all-in-one machine, in the production of the video, besides the conventional 720P and 1080P streams, the iQUT streams are specially customized and produced, and the formats of the iQUT streams are H265, 1080P, 24 frames and 6M code rate, as one of the unique advantages of the VR all-in-one machine, in step S104, the device 1 focuses on the data of the program of the stream.
For example, iQUT channels cover movie, television show, art, animation, etc. types of program content, each of which may be configured with a data sampling rate by the system. In step S104, the apparatus 1 extracts the preheated album/episode data, and checks the odd-numbered music data according to the anomaly detection policy, and if the problems of DRM copyright restriction, program offline, regional broadcast control restriction, code stream loss, and the like are found, automatically triggers anomaly early warning information, and timely notifies the project and the operation responsible person through the tools such as mail, short message, WeChat, and the like, so as to further verify the cause of the anomaly in the program data.
If the device 1 automatically triggers the patrol command when pulling the program data, and checks the content source data according to the anomaly detection strategy, if the fluctuation of the total data amount is large, if the total data amount is 2500 parts in the last time and the total amount is 200 parts in the current time, the data filtering and preheating operation is automatically terminated, the anomaly early warning information is automatically triggered, and the project and the operation responsible person are timely notified through the tools such as mails, short messages, WeChat and the like, so as to further verify the cause of the anomaly of the program data.
Fig. 2 illustrates a schematic diagram of an apparatus for improving performance of acquiring program data in accordance with another aspect of the present invention.
The device 1 comprises a filtering device 201, a preheating device 202 and a display device 203. The device 1 is located in a VR all-in-one, for example.
The filtering device 201 performs filtering processing on the acquired program data source according to the filtering policy, and obtains program data after the filtering processing.
Specifically, the filtering apparatus 201 obtains a program data source from a content source such as a search, VR background, odd spectrum, and the like, and then, according to a filtering policy, performs filtering processing on the obtained program data source to filter out data that does not meet requirements, for example, data that does not meet playing conditions such as filtering code-dropping stream data and movie identification inconsistency, and incomplete DRM copyright information, so as to obtain filtered program data.
Here, the means for acquiring the program data source by the apparatus 1 includes, but is not limited to, acquiring from a search, VR backend, odd music, etc. as the content source of the preheating system, and different service scenarios may vary, for example, the content source may also be a public resource on the internet, or a resource inside a certain company or team. It will be appreciated by those skilled in the art that the foregoing is by way of example only, and that other content sources, now known or later developed, that may be suitable for use with the present invention are also encompassed within the scope of the present invention and are hereby incorporated by reference.
Preferably, the filtering process comprises: and assembling a corresponding filter chain according to the filter strategy, wherein a filter in the filter chain combines with a verification service according to an execution sequence to filter the acquired data, and acquiring the program data after the filtering.
Specifically, the apparatus 1 assembles a corresponding filter chain according to the filter policy, the filters in the filter chain perform chain execution according to the execution sequence, and verifies each item of data of the acquired program data sources in combination with the verification service, such as whether the program data sources meet requirements or not, and whether there is an abnormality or not, such as whether the code stream data is consistent with the movie identifier or not, and whether the DRM copyright information is complete or not, so as to filter the acquired data, and filter out the data that does not meet the requirements, such as filtering data that the code stream data is inconsistent with the movie identifier, and the DRM copyright information is incomplete or not, and thus obtain the filtered program data.
It should be understood by those skilled in the art that the above-mentioned manner of filtering the acquired program data source is only an example, and other manners of filtering the acquired program data source, which may occur now or in the future, such as may be applicable to the present invention, should be included within the scope of the present invention, and are hereby incorporated by reference.
And the preheating device 202 performs secondary processing conversion processing on the filtered program data based on the front-end display requirement of the VR all-in-one machine according to a preheating strategy to obtain the converted program data.
Specifically, the front end of the VR all-in-one machine has a certain display requirement, for example, a certain requirement on a data format, and the preheating device 202 performs secondary processing and conversion processing on the program data filtered by the filtering device 201 according to a preheating policy based on the front end display requirement of the VR all-in-one machine, for example, format information, parameter information, and the like of the program data are converted, so that the front end display requirement of the VR all-in-one machine is met, and the converted program data is obtained.
The apparatus 1 may then store the program data after the conversion process described above to facilitate subsequent retrieval therefrom as needed.
The display device 203 displays the converted program data in the VR all-in-one machine based on a user request.
Specifically, a user inputs a user request through interaction with the VR all-in-one machine, for example, through operations such as voice input, clicking, long pressing, and swiping, the VR all-in-one machine obtains the user request input by the user through an agreed communication manner, for example, invoking a predetermined Application Program Interface (API), the display device 203 performs matching query in a predetermined database based on the obtained user request, the database stores the filtered and converted program data, so as to match program data corresponding to the user request, and displays the converted program data at the front end of the VR all-in-one machine according to a predetermined display format.
Here, device 1 draws program album data automatically and puts to the memory center, and data such as through filtering, preheating demonstrate at the proscenium of VR all-in-one after washing, and device 1 is through modes such as data synchronization, filtration, processing, real-time message processing, buffer memory, solves because the real-time filtration does not accord with the program data of broadcast condition and leads to the problem that VR all-in-one front end show data is repeated and turn over a page card pause in interface service, can guarantee like this that the data that exposes at the front end can not be repeated, can not cause the card pause phenomenon of turning over a page yet.
Through the self-developed distributed data preheating system, data synchronization can be triggered automatically or manually, filtering and preheating strategies are maintained dynamically, the interface directly acquires data from a cached or preheated data set and returns to the front end of the VR all-in-one machine, the time for acquiring and filtering the data by the interface is greatly reduced, the response performance of the interface is improved, the fact that program data at the front end of the VR all-in-one machine cannot be repeated is guaranteed, and the pause phenomenon caused by low response performance of a rear-end interface is also reduced.
Preferably, the device 1 further comprises setting means (not shown). The setting device is used for setting a strategy for acquiring a program data source, the filtering strategy and the preheating strategy according to the front-end display requirement of the VR all-in-one machine.
Specifically, a policy for acquiring a program data source, which may be referred to as a data synchronization policy, is set by the setting device according to the front-end display requirement of the VR all-in-one machine, where the policy for acquiring the program data source is similar to crawling of crawlers to acquire relevant information, and a corresponding program data source is acquired from a corresponding content source according to the front-end display requirement of the VR all-in-one machine.
The filtering strategy and the preheating strategy are also set according to the display requirement of the front end of the VR all-in-one machine, and can be flexibly controlled and expanded. For example, the setting device formulates a corresponding filtering strategy and a preheating strategy according to a format required by the front-end display of the VR all-in-one machine, the number of required information items and a supported playing format, so that the acquired program data source is correspondingly filtered and processed for secondary processing and conversion.
The data synchronization, filtering and preheating processes are automatically triggered and can be driven according to asynchronous events, so that the latest program data can be provided in a quasi-real time manner.
Preferably, the acquired program data source further includes: odd spectral data acquired based on the odd spectral synchronization instruction.
Specifically, the apparatus 1 obtains a program data source from the odd spectrum, for example, based on the odd spectrum synchronization instruction, and then, according to the filtering policy, performs filtering processing on the obtained program data source to filter out data that does not meet requirements, for example, data that does not meet playing conditions, such as filtering code-dropping stream data that is inconsistent with movie identification, and DRM copyright information that is incomplete, so as to obtain filtered program data. The odd music score is a data warehouse system for storing program contents, in which program data, for example, the most recently updated program data, is stored. For example, whenever there is a latest episode update, the latest updated episode will be stored in the odd music score.
The following is a preferred embodiment: for example, on the day of "nai xi cong cao h o", when first broadcasting in the whole network, the device 1 will automatically pull and put the program album data into the storage center, and then after filtering and preheating, will be finally displayed to the user through the VR all-in-one machine. Then, a new episode is updated at 20:00 a night every day, and the synchronization task does not actively pull the entire amount of albums from Yanxi Gao. The device 1 subscribes to an album data updating event of Yanxi attack and study through MQ (message middleware), when a new episode is released, the strange spectrum message is actively pushed through the MQ, then the strange spectrum ID in the message is analyzed, the latest strange spectrum data of the Yanxi attack and study is inquired through API, then the strange spectrum data of a storage center is updated, a data preheating instruction is triggered through the MQ, the data is displayed at the front end of a VR all-in-one machine after secondary processing and conversion processing, a user can view the latest episode, and the time consumption of the whole updating process is controlled at millisecond level.
Preferably, the device 1 further comprises early warning means (not shown). And the early warning device checks the converted program data and gives early warning to the abnormal data in the program data.
Specifically, abnormal data may also exist in the filtered or converted program data, and the early warning device checks the program data converted by the preheating device 202 to determine abnormal data therein, and performs early warning on the abnormal data therein.
In order to provide a user with an extremely elegant viewing experience, for example, in the VR all-in-one machine, in addition to the conventional 720P and 1080P code streams, the video is produced to specially customize and produce the iQUT code stream, which has the format of H265, 1080P, 24 frames and 6M code rate, and as one of the unique advantages of the VR all-in-one machine, the early warning device focuses on the data of the code stream program.
For example, iQUT channels cover movie, television show, art, animation, etc. types of program content, each of which may be configured with a data sampling rate by the system. The early warning device extracts the preheated album/episode data, checks odd-spectrum data according to an abnormal detection strategy, automatically triggers abnormal early warning information if finding the problems of DRM copyright limitation, program offline, regional broadcast control limitation, code stream loss and the like, and timely informs a project and an operation responsible person through a mail, a short message, a WeChat and other tools so as to further verify the abnormal reason of the program data.
If the device 1 automatically triggers the patrol command when pulling the program data, and checks the content source data according to the anomaly detection strategy, if the fluctuation of the total data amount is large, if the total data amount is 2500 parts in the last time and the total amount is 200 parts in the current time, the data filtering and preheating operation is automatically terminated, the anomaly early warning information is automatically triggered, and the project and the operation responsible person are timely notified through the tools such as mails, short messages, WeChat and the like, so as to further verify the cause of the anomaly of the program data.
The invention also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding claims.
The invention also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present invention also provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
It is noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, the various means of the invention may be implemented using Application Specific Integrated Circuits (ASICs) or any other similar hardware devices. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.