CN103309980A - Method, device and system for processing performance data - Google Patents
Method, device and system for processing performance data Download PDFInfo
- Publication number
- CN103309980A CN103309980A CN2013102370808A CN201310237080A CN103309980A CN 103309980 A CN103309980 A CN 103309980A CN 2013102370808 A CN2013102370808 A CN 2013102370808A CN 201310237080 A CN201310237080 A CN 201310237080A CN 103309980 A CN103309980 A CN 103309980A
- Authority
- CN
- China
- Prior art keywords
- data
- equipment
- similarity
- theater
- calculating
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000009877 rendering Methods 0.000 claims description 49
- 238000004364 calculation method Methods 0.000 claims description 26
- 238000003672 processing method Methods 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 7
- 238000011156 evaluation Methods 0.000 description 21
- 230000000694 effects Effects 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 239000000725 suspension Substances 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 4
- 238000012512 characterization method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000003028 elevating effect Effects 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method, a device and a system for processing performance data. The method comprises the steps as follows: repertory data are collected; theater equipment data corresponding to the repertory data are read from a database; and the similarity of the repertory data and the theater equipment data is calculated, and first result data are obtained. According to the method, the problems that the cost for acquiring an assessment result which shows whether the repertory is matched with a performing place is high and the result is inaccurate are solved; and the assessment result which shows whether the repertory is matched with the performing places can be acquired rapidly and accurately, and the cost for acquiring the assessment result is low, and the accuracy is high.
Description
Technical Field
The invention relates to the field of data processing, in particular to a method, a device and a system for processing performance data.
Background
With the increasingly vigorous development of cultural performance industry, the variety of performance forms, the informatization and the utilization of performance resources and the optimal configuration of the resources are more and more emphasized. In the development course that the cultural performance operation mode is explored and innovated and the cultural subjects are more and more closely connected, the efficiency becomes a crucial link for improving the cultural communication.
According to current market performance models, a performance theater first considers the performance city in the selection of the performance venue for its theaters. Then, in order to solve the support degree of the theater scale and the infrastructure configuration thereof on the theater, the performance theater group party often needs to send out professionals to candidate theaters to conduct on-site investigation of the stage field, determine the theater with the best performance according to some important parameters thereof, such as the stage size and the equipment configuration, and coordinate the scheduling with the theater party. Due to the limitation of informatization of the current performance group and the performance place, and the matching process of the field selection work has some non-determinacy factors, a large amount of manpower and financial resources are required to be expended for field investigation. Third, although there are currently computer-based applications for performance planning studies, none of them suggest a solution to existing theatrical work. Specifically, the existing virtual studio system can effectively utilize virtual performance resources, control force is improved on the performance design flow and expenditure cost is reduced through virtual space design, garment modeling design, character action design, light, special effect and sound effect design, but actual field data are lacked, and the actual theater limitation problem is not considered; in the prior art, a plaza artistic performance simulation arrangement system is provided, which can arrange a plaza and make a certain effect evaluation, but the arrangement place is set as a plaza, only the effect presentation of arrangement process personnel on a space position is emphasized, and the requirement of similar performance dramas on the complexity of equipment and facilities of the plaza is not involved.
Aiming at the problems of high cost and inaccurate result of obtaining the evaluation result of whether the drama is matched with the performance field in the prior art, an effective solution is not provided at present.
Disclosure of Invention
In view of the problems of high cost and inaccurate result in obtaining an evaluation result of whether a drama is matched with a performance site in the related art, an effective solution has not been proposed yet, and the main object of the present invention is to provide a performance data processing method, apparatus and system to solve the above problems.
In order to achieve the above object, according to an aspect of the present invention, there is provided a show data processing method including: collecting drama data; reading theater equipment data corresponding to the drama data from a database; and calculating the similarity of the drama data and the theater equipment data to obtain first result data.
Further, the scenario data includes one or more device type data and device attribute data respectively corresponding to each device type data, and the first result data includes a first similarity value, wherein the step of calculating the similarity between the scenario data and the theater device data to obtain the first result data includes: calculating the similarity between each equipment type data and theater equipment data to obtain first similarity data; calculating the similarity between each equipment attribute data and the theater equipment data to obtain second similarity data; taking the product of the first similarity data and the second similarity data as an initial similarity value; and calculating the percentage of the initial similarity value and the preset similarity value, and taking the percentage as the first similarity value.
Further, the step of calculating the similarity between each equipment type data and the theater equipment data to obtain the first similarity data includes: detecting whether data consistent with the equipment type data exists in the theater equipment data, wherein the equipment type data S is used when the data consistent with the equipment type data exists in the theater equipment dataiIs set to 1; in the case where there is no data in the theater equipment data that matches the equipment type data, the equipment type data S is storediSet to 0;
calculating first similarity data S by a first formula:wherein i is the number of the device type data, and n is a positive integer.
Further, the step of calculating the similarity between each piece of equipment attribute data and the theater equipment data to obtain second similarity data includes: detecting whether data consistent with the equipment attribute data exists in the theater equipment data, wherein the equipment attribute data V is used when the data consistent with the equipment attribute data exists in the theater equipment datajIs set to 1; calculating device attribute data V in the case where there is no data in the theater device data that matches the device attribute datajA value of (d); calculating second similarity data V by a second formula, the second formula being:wherein j is the number of the device attribute data, m is a positive integer, alphajFor a preset corresponding VjThe weight of (c).
Further, device attribute data V is calculatedjThe step of calculating (a) comprises: acquiring the values theta of the equipment type data and the theater equipment data corresponding to the equipment attribute dataiAnd a value theta of the device attribute datai'; judging whether the device type data belongs to first device type data or second device type data, wherein in the case that the device type data belongs to the first device type data, when thetai′≤θiTime, device attribute data Vi=1-(1-θi′/θi)/N2When theta isi′>θiWhen, Vi=θi/θi'; in the case where the device type data belongs to the second device type data, when θi′≤θiTime, device attribute data ViWhen theta is 1i′>θiWhen, Vi=θi/θi′。
Further, after calculating the similarity between the scenario data and the theater equipment data to obtain the first result data, the method further comprises: detecting whether second result data with a first similarity value not meeting a first threshold exists in the first result data, wherein under the condition that the second result data with the first similarity value not meeting the first threshold exists in the first result data, first type data corresponding to the second result data are obtained, and the data with the first similarity value meeting the first threshold in the first result data are used as third result data; and rendering and positioning the first type of data to obtain rendering and positioning data.
Further, after calculating the similarity between the scenario data and the theater equipment data to obtain the first result data, the method further comprises: acquiring first three-dimensional data corresponding to the third result data; converting the first three-dimensional data and the rendering positioning data into second three-dimensional data; and outputting the second three-dimensional data.
In order to achieve the above object, according to one aspect of the present invention, there is provided a show data processing apparatus including: the collection module is used for collecting drama data; the reading module is used for reading theater equipment data corresponding to the drama data from the database; and the first processing module is used for calculating the similarity between the drama data and the theater equipment data to obtain first result data.
Further, the scenario data includes one or more device type data and device attribute data respectively corresponding to each device type data, and the first result data includes a first similarity value, wherein the first processing module includes: the first calculation module is used for calculating the similarity between each equipment type data and the theater equipment data to acquire first similarity data; the second calculation module is used for calculating the similarity between each equipment attribute data and the theater equipment data to acquire second similarity data; the third calculation module is used for taking the product of the first similarity data and the second similarity data as an initial similarity value; and the fourth calculating module is used for calculating the percentage of the initial similarity value and the preset similarity value and taking the percentage as the first similarity value.
Further, the first calculation module includes: the first detection module is used for detecting whether data consistent with the equipment type data exists in the theater equipment data or not; a first sub-processing module for the equipment type data S when the data consistent with the equipment type data exists in the theater equipment dataiIs set to 1; a second sub-processing module for processing the equipment type data S when the data consistent with the equipment type data does not exist in the theater equipment dataiSet to 0; the first sub-calculation module is configured to calculate first similarity data S by using a first formula, where the first formula is:wherein i is the number of the device type data, and n is a positive integer.
Further, the second calculation module includes: the second detection module is used for detecting whether data consistent with the equipment attribute data exists in the theater equipment data or not; a third sub-processing module for, in the case where there is data in accordance with the equipment attribute data in the theater equipment data, converting the equipment attribute data V into the equipment attribute data VjIs set to 1; a fourth sub-processing module for calculating the equipment attribute data V under the condition that the data consistent with the equipment attribute data does not exist in the theater equipment datajA value of (d); the second sub-calculation module is used for calculating second similarity data V through a second formula, wherein the second formula is as follows:wherein j is the number of the device attribute data, m is a positive integer, alphajFor a preset corresponding VjThe weight of (c).
To achieve the above object, according to one aspect of the present invention, there is provided a show data processing system including: the input equipment is used for acquiring drama data; and the processor is connected with the input equipment and used for calculating the similarity between the theater data and the theater equipment data to obtain first result data after reading the theater equipment data corresponding to the theater data from the database.
Further, the scenario data includes one or more device type data and device attribute data respectively corresponding to each device type data, the first result data includes a first similarity value, and the processor includes: and the calculator is used for calculating the similarity between each equipment type data and the theater equipment data to obtain first similarity data, calculating the similarity between each equipment attribute data and the theater equipment data to obtain second similarity data, taking the product of the first similarity data and the second similarity data as an initial similarity value, calculating the percentage of the initial similarity value and a preset similarity value, and taking the percentage as the first similarity value.
Further, the system further comprises: the matching controller is used for detecting whether second result data with a first similarity value not conforming to a first threshold exists in the first result data or not, acquiring first type data corresponding to the second result data under the condition that the second result data with the first similarity value not conforming to the first threshold exists in the first result data, and performing rendering and positioning processing on the first type data to obtain rendering and positioning data; the matching controller is used for taking the data of which the first similarity value accords with the first threshold value in the first result data as third result data, and driving the renderer by using the first model object ID of the first type data and the second model object ID corresponding to the type data in the third result data.
Further, the system further comprises: and the output equipment is connected with the matching controller and used for acquiring rendering positioning data and first three-dimensional data corresponding to the third result data, rendering the first three-dimensional data and the rendering positioning data through the renderer to obtain second three-dimensional data, and outputting the second three-dimensional data.
According to the invention, after the drama data is collected, the theater equipment data corresponding to the drama data is read from the database, and then the similarity between the drama data and the theater equipment data is calculated to obtain the first result data, so that the matching degree between the drama data and the theater equipment data can be visually obtained according to the first result data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic configuration diagram of a performance data processing apparatus according to an embodiment of the present invention;
fig. 2 is a schematic configuration diagram of the performance data processing apparatus according to the embodiment shown in fig. 1;
FIG. 3 is a flow chart of a method of performance data processing according to an embodiment of the invention;
FIG. 4 is a flow diagram of a performance data processing method according to the embodiment shown in FIG. 3; and
FIG. 5 is a schematic diagram of a performance data processing system according to an embodiment of the invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a schematic configuration diagram of a performance data processing apparatus according to an embodiment of the present invention. As shown in fig. 1, the processing device may include: the collection module 10 is used for collecting drama data; a reading module 30, configured to read theater equipment data corresponding to the scenario data from a database; and a first processing module 50, configured to calculate similarity between the scenario data and the theater equipment data to obtain first result data.
By adopting the invention, after the drama data is collected, the theater equipment data corresponding to the drama data is read from the database, and then the similarity between the drama data and the theater equipment data is calculated to obtain the first result data, so that the matching degree between the drama data and the theater equipment data can be intuitively obtained according to the first result data.
In particular, the above-described embodiments of the present invention may be applied to a visual matching system of a performance drama to a theater, so as to find a matching theater for an existing drama of a theater. More specifically, the visual matching system can comprise an operation end, a processing end and a data end. Wherein the acquisition module 10 can be arranged at the operation end.
Specifically, after the collection module 10 collects the drama data of the user, the operation terminal may further include a parameter characterization module, which is configured to perform characterization conversion on the collected drama data of the user to convert the drama data into the drama data in the preset format, where the drama data in the preset format may include one or more parameter characteristic data, and the parameter characteristic data is used to represent attribute data and type data of the corresponding drama device. Specifically, the characterization conversion can be performed according to preset feature data in a parameter feature search table prestored in the data side. Theater equipment data can be prestored in a three-dimensional model database of a data terminal and can be stored in the form of parameter characteristics. The database of the data terminal may include: a parameter characteristic search table, an identification database and a three-dimensional model database. Specifically, table 1 shows a device-to-parameter characteristic correspondence table in the above-described embodiment in which device data is stored using parameter characteristics.
Table 1:
before the collection module 10 collects the scenario data, the user information may be managed by a user authority management module of the system, the user's behavior is determined by the user level, that is, after the user logs in the system, the user's authority information is obtained according to the user's login information, the user's system authority is opened by the authority information, for example, the unregistered user and the ordinary user may only use the operation terminal, and the administrator user may also maintain the data of the data terminal, wherein, when the administrator user adds the data of the data terminal, for example, when the administrator user adds a new three-dimensional model data of the theater equipment, the data in the parameter feature search table and the identification database are globally updated, and the three-dimensional model data is stored in the three-dimensional model database; for data modification maintenance of the data end, data in the parameter characteristic search table, the identification database and the three-dimensional model database can be updated all similarly.
Preferably, the data terminal may further include a data update triggering module, which is configured to trigger updating of data in the data terminal parameter feature search table, the identification database, and the three-dimensional model database, and different data update modes may be selected by the data update triggering module.
Each theater device in a three-dimensional model database in the data end is provided with a unique ID, the ID of each theater device is stored in an identification database, and the ID is a link between the parameter characteristics and the theater devices; the three-dimensional model database is used for storing three-dimensional scene data of the theater equipment.
According to the above-described embodiment of the present invention, the episode data may include one or more device type data and device attribute data respectively corresponding to each device type data, and the first result data includes the first similarity value, wherein the first processing module 50 may include: the first calculation module is used for calculating the similarity between each equipment type data and the theater equipment data to acquire first similarity data; the second calculation module is used for calculating the similarity between each equipment attribute data and the theater equipment data to acquire second similarity data; the third calculation module is used for taking the product of the first similarity data and the second similarity data as an initial similarity value; and the fourth calculating module is used for calculating the percentage of the initial similarity value and the preset similarity value and taking the percentage as the first similarity value.
In the above embodiment of the present invention, the first calculation module may include: the first detection module is used for detecting whether data consistent with the equipment type data exists in the theater equipment data or not; a first sub-processing module for the equipment type data S when the data consistent with the equipment type data exists in the theater equipment dataiIs set to 1; a second sub-processing module for processing the equipment type data S when the data consistent with the equipment type data does not exist in the theater equipment dataiSet to 0; the first sub-calculation module is configured to calculate first similarity data S by using a first formula, where the first formula is:wherein i is the number of the device type data, and n is a positive integer.
According to the above embodiment of the present invention, the second calculation module may include: the second detection module is used for detecting whether data consistent with the equipment attribute data exists in the theater equipment data or not; a third sub-processing module for, in the case where there is data in accordance with the equipment attribute data in the theater equipment data, converting the equipment attribute data V into the equipment attribute data VjIs set to 1; a fourth sub-processing module for calculating the equipment attribute data V under the condition that the data consistent with the equipment attribute data does not exist in the theater equipment datajA value of (d); the second sub-calculation module is used for calculating second similarity data V through a second formula, wherein the second formula is as follows:wherein j is the number of the device attribute data, m is a positive integer, alphajFor a preset corresponding VjThe weight of (c).
According to the above embodiment of the present invention, the apparatus may further include: the third detection module is used for detecting whether second result data with the first similarity value not conforming to the first threshold exists in the first result data or not; the second processing module is used for acquiring first type data corresponding to second result data under the condition that the second result data with the first similarity value not meeting the first threshold exists in the first result data, and taking the data with the first similarity value meeting the first threshold in the first result data as third result data; and the third processing module is used for performing rendering and positioning processing on the first type data to obtain rendering and positioning data.
In the above embodiment of the present invention, the apparatus may further include: the fourth processing module is used for acquiring first three-dimensional data corresponding to the third result data; the fifth processing module is used for converting the first three-dimensional data and the rendering positioning data into second three-dimensional data; and the output module is used for outputting the second three-dimensional data.
Specifically, the system may further include an output module for outputting the second three-dimensional data. The output module can also be arranged on the operation end and displays the second three-dimensional data through the output module, wherein the output module can also display description data of the second three-dimensional data, and a user can select a display mode according to the requirement of the user through the independent interaction module. The second three-dimensional data can display data obtained by converting the rendering positioning data through the scene display module, so that a user can also obtain detailed information of theater equipment which cannot be matched, and therefore the theater equipment and the theater equipment can be known more visually and comprehensively.
Fig. 3 is a flowchart of a performance data processing method according to an embodiment of the present invention, and fig. 4 is a flowchart of a performance data processing method according to the embodiment shown in fig. 3.
As shown in fig. 3 and 4, the method comprises the following steps:
and step S102, collecting drama data.
Step S104, theater equipment data corresponding to the scenario data are read from the database.
And step S106, calculating the similarity between the drama data and the theater equipment data to obtain first result data.
By adopting the invention, after the drama data is collected, the theater equipment data corresponding to the drama data is read from the database, then the similarity between the drama data and the theater equipment data is calculated to obtain the first result data, so the matching degree between the drama data and the theater equipment data can be intuitively obtained according to the first result data, the accuracy and the speed of obtaining the evaluation result are greatly accelerated as only one similarity calculation is needed, and the manual on-site matching evaluation is not needed through the calculation, thereby the problems of high cost and inaccurate result of obtaining the evaluation result whether the drama is matched with the performance field are solved, the fast and accurate obtaining of the evaluation result of the matching between the drama and the performance field is realized, the cost of obtaining the evaluation result is low, the accuracy is high, and the high-efficiency obtaining of the evaluation result of the matching between the drama and the theater equipment is realized, the intelligent service level of the cultural performance is improved.
In particular, the above-described embodiments of the present invention may be applied to a visual matching system of a performance drama to a theater, so as to find a matching theater for an existing drama of a theater.
More specifically, after the scenario data is collected, the process of step S104 may further include obtaining parameter feature data from the parameter feature index table, performing feature conversion on the collected scenario data using the parameter feature data to obtain scenario data in a preset format, and then reading theater equipment data corresponding to the scenario data in the preset format from the database.
In the above-described embodiments of the present invention, the drama data may include one or more device type data and device attribute data respectively corresponding to each device type data, and the first result data includes a first similarity value, wherein the calculating of the similarity of the drama data and the theater device data to obtain the first result data may include: calculating the similarity between each equipment type data and theater equipment data to obtain first similarity data; calculating the similarity between each equipment attribute data and the theater equipment data to obtain second similarity data; taking the product of the first similarity data and the second similarity data as an initial similarity value; and calculating the percentage of the initial similarity value and the preset similarity value, and taking the percentage as the first similarity value.
According to the above embodiments of the present invention, the step of calculating the similarity of each device type data and the drama data to acquire the first similarity data may include: detecting whether data consistent with the equipment type data exists in the theater equipment data, wherein the equipment type data S is used when the data consistent with the equipment type data exists in the theater equipment dataiIs set to 1; in the case where there is no data in the theater equipment data that matches the equipment type data, the equipment type data S is storediSet to 0; calculating first similarity data S by a first formula:wherein i is the number of the device type data, and n is a positive integer.
In the above embodiment of the present invention, the step of calculating the similarity between each piece of equipment attribute data and the drama data to obtain the second similarity data may include: detecting whether data consistent with the equipment attribute data exists in the theater equipment data, wherein the equipment attribute data V is used when the data consistent with the equipment attribute data exists in the theater equipment datajIs set to 1; calculating the equipment attribute data V when the data consistent with the equipment attribute data does not exist in the theater equipment datajA value of (d); the device attribute data VjSet to 0; calculating second similarity data V by a second formula, the second formula being:wherein j is the number of the device attribute data, mIs a positive integer, αjFor a preset correspondence to said VjThe weight of (c).
Wherein j is the number of the device attribute data, j is a natural number, and n is the total number of the device attribute data. Further, it is possible to obtain the device attribute data V from the device attribute datajThe importance of the play in the drama is different, and different weight values alpha are set for the playjSuch as: device attribute data V1For the primary stage size data important for V2The corresponding stage light number data can be preset with the corresponding weight value alpha1=2,α2=1。αjPreset values of 1, 2, 3, 4, 5, etc. can be taken.
In particular, device attribute data V is calculatedjThe step of calculating may comprise: acquiring the values theta of the equipment type data and the theater equipment data corresponding to the equipment attribute dataiAnd a value theta of the device attribute datai'; judging whether the device type data belongs to first device type data or second device type data, wherein in the case that the device type data belongs to the first device type data, when thetai′≤θiTime, device attribute data Vi=1-(1-θi′/θi)/m2When theta isi′>θiWhen, Vi=θi/θi'; in the case where the device type data belongs to the second device type data, when θi′≤θiTime, device attribute data ViWhen theta is 1i′>θiWhen, Vi=θi/θi′。
Referring to table 1, the first device type data in the above embodiments may include device attribute data for continuous measurements such as main stage, stage mouth, music pool size, boom interval, suspension point interval, and stage light interval, and the second device type data may include device attribute data for discrete measurements such as boom number, suspension point number, suspension cage number, stage light number, and dressing room number.
Wherein, the theater equipment can include: platform mouth, main platform, jib, hoisting point, cage, stage lamp, music pool, elevating platform, revolving stage, display screen, dressing room, stage property room and clothing room etc.. The theater equipment data may include: the width and height of the platform opening, the depth of the main platform, the number of suspenders, the distance between the suspension points, the number of suspension cages, the number of stage lamps, the size of a music pool, the specification of a lifting platform, the specification of a rotary table, the size of a display screen, the number of dressing rooms, the number of prop rooms, the size of a clothing room and the like.
Specifically, it is detected whether or not there is data that coincides with the equipment type data in the theater equipment data, wherein in the case where there is data that coincides with the equipment type data in the theater equipment data, the equipment type data S is setiSet to 1, e.g. device type data is music pool, which is denoted as S1In the case of music pools in the theater equipment data, S1= 1; in the case where there is no data in the theater equipment data that matches the equipment type data, the equipment type data S is storediSet to 0, e.g. the equipment type data is the stage, denoted S2If the elevating platform is not present in the theater equipment data, S2= 0; after the values of the device type data are acquired, calculating first similarity data S through a first formula, wherein the first formula is as follows:wherein i is the number of the device type data, and n is a positive integer.
Specifically, it is detected whether or not there is data that coincides with the equipment attribute data in the theater equipment data, wherein in the case where there is data that coincides with the equipment attribute data in the theater equipment data, the equipment attribute data V is setjSet to 1, e.g., device attribute data bit is the master depth, which is noted as V1If presence in theater equipment data is associated with V1Consistent data, then V11 is ═ 1; if there is no data matching the equipment attribute data in the theater equipment data, the equipment attribute data V is setjSet to 0, e.g. if theater equipmentAbsence in data and V1If the data is consistent, then calculate V1A value of (d); after the values of the attribute data of each device are obtained, calculating second similarity data V by using a second formula, where the second formula is as follows:wherein j is the number of the device attribute data, m is a positive integer, alphajFor a preset correspondence to said VjThe weight of (c).
After the first similarity data S and the second similarity data V are obtained, calculating a product M of the first similarity data S and the second similarity data V; acquiring a preset similarity value H, calculating the percentage of the initial similarity value to the preset similarity value, and taking the percentage as a first similarity value P, wherein P is M/H multiplied by 100%. Wherein,
according to the above embodiment of the present invention, after calculating the similarity between the drama data and the theater equipment data to obtain the first result data, the method may further include: detecting whether second result data with a first similarity value not meeting a first threshold exists in the first result data, wherein under the condition that the second result data with the first similarity value not meeting the first threshold exists in the first result data, first type data corresponding to the second result data are obtained, and the data meeting the first threshold in the first result data are used as third result data; and rendering and positioning the first type of data to obtain rendering and positioning data.
Specifically, the second result data is data that the drama data does not match the theater equipment data, that is, the identifier that fails to match, and the identifier that fails to match is subjected to scene rendering processing by the renderer to obtain rendering positioning data, and then is displayed by the output module of the operation terminal.
In the above embodiment of the present invention, after calculating the similarity between the drama data and the theater equipment data to obtain the first result data, the method may further include: acquiring first three-dimensional data corresponding to the third result data; converting the first three-dimensional data and the rendering positioning data into second three-dimensional data; and outputting the second three-dimensional data.
More specifically, after the third result data and the second result data are acquired, the third result data and the second result data may be sent to the output module of the operation end through the matching list.
Before the second result data are sent to the output module, the ID identification corresponding to the first device data in the drop result data can be identified in the identification database through the identification processing module, the unmatched first device can also be directly picked up through the three-dimensional data processing module, the first device is endowed with a new first ID identification, then re-rendering positioning calculation is carried out on the first device to obtain rendering positioning data, finally, the first result data and the rendering positioning data are received by the renderer script, the first three-dimensional data and the rendering positioning data are converted into second three-dimensional data, the graph rendering work is completed, and the second three-dimensional data are output.
Specifically, the system may further include an output module for outputting the second three-dimensional data. The output module can also be arranged on the operation end, the second three-dimensional data is displayed through the display device, and the output module is further used for outputting description data of the second three-dimensional data. The user can select the display mode according to the requirements of the user through the operation end.
Specifically, in fig. 4: step S202: and the user enters the performance data processing system through the login interface.
Step S204: and judging whether the user logs in, wherein if the user logs in, the step S206 is executed, and if the user does not log in, the step S210 is executed.
Step S206: and judging whether the logged-in user is an administrator user, if so, executing the step S208, and if not, executing the step S210.
Step S208: the administrator user updates the data in the database. The updated database obtained in step S208 may be applied to the reading of the theater device data corresponding to the scenario data in step S212.
Specifically, the administrator user may add or modify data in the database of the data side. When data is added to the database, the administrator user can upload three-dimensional scene data (the three-dimensional scene data includes first three-dimensional data) of theater equipment to be added, wherein the three-dimensional scene data includes attribute data and type data of each theater equipment, description data of a theater model of each theater equipment and corresponding features of all the equipment can be added to the three-dimensional database, and parameter features and ID identifications corresponding to each newly added theater equipment can be generated.
Step S210: the episode data is collected and will be represented in the form of parametric features.
Step S212: and carrying out similarity calculation on the drama data and the theater equipment data to obtain first result data. Wherein, the first result data can be output in a list form.
Step S214: detecting whether second result data with the first similarity value not meeting a first threshold exists in the first result data, wherein if yes, executing step S216; if not, go to step S222: the data with the first similarity value meeting the first threshold in the first result data is used as the third result data, and step S218 is executed after step S222 is executed.
Step S216: and performing re-rendering positioning processing on the second result data to obtain rendering positioning data. Specifically, first type data corresponding to the second result data is obtained; and rendering and positioning the first type of data to obtain rendering and positioning data.
Step S218: and generating first three-dimensional data according to the third result data, and combining the first three-dimensional data and the rendering positioning data into second three-dimensional data.
Step S220: and outputting the second three-dimensional data.
Specifically, the first result data may be displayed as a matching list at the operation end, and arranged in a calibrated manner according to the first similarity value, so that the user may view the matching list items one by one through the operation end (i.e., the client).
According to the embodiment of the invention, the first result data can be divided into the second result data and the third result data according to whether the first similarity value meets the first threshold value, the first three-dimensional data can be directly obtained for the third result data, the second result data needs to be subjected to rendering and positioning processing to obtain rendering and positioning data, and then the first three-dimensional data and the rendering and positioning data are converted to be integrated into the second three-dimensional data. In step S220, the user may view a different matching scenario (i.e., the second three-dimensional data) by clicking on the matching list item, and the user may view the reason why the second result data exists in the first result data, that is, what is the reason why the first similarity value does not meet the first threshold.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The present invention also provides a performance data processing system, as shown in fig. 5, the system may include: an input device 1 for acquiring drama data; and the processor 3 is connected with the input device 1 and used for calculating the similarity between the drama data and the theater device data to obtain first result data after reading the theater device data corresponding to the drama data from the database.
By adopting the invention, after the input equipment acquires the drama data, the processor reads the theater equipment data corresponding to the drama data from the database, then calculates the similarity between the drama data and the theater equipment data to obtain the first result data, thereby visually obtaining the matching degree between the drama data and the theater equipment data according to the first result data, greatly quickening the accuracy and the speed of acquiring the evaluation result as only one similarity is needed to be calculated, and solving the problems of high cost and inaccurate result of acquiring the evaluation result whether the drama is matched with the performance field through calculation without manual field matching evaluation, realizing the rapid and accurate acquisition of the evaluation result of the matching between the drama and the performance field, low cost and high accuracy of the evaluation result, thereby realizing the high-efficiency acquisition of the evaluation result of the matching between the drama and the theater equipment, the intelligent service level of the cultural performance is improved.
In the above-described embodiment of the present invention, the scenario data may include one or more device type data and device attribute data respectively corresponding to each device type data, the first result data includes a first similarity value, and the processor may include: and the calculator is used for calculating the similarity between each equipment type data and the theater equipment data to obtain first similarity data, calculating the similarity between each equipment attribute data and the theater equipment data to obtain second similarity data, taking the product of the first similarity data and the second similarity data as an initial similarity value, calculating the percentage of the initial similarity value and a preset similarity value, and taking the percentage as the first similarity value.
According to the above embodiment of the present invention, the system may further include: the matching controller is used for detecting whether second result data with a first similarity value not conforming to a first threshold exists in the first result data or not, acquiring first type data corresponding to the second result data under the condition that the second result data with the first similarity value not conforming to the first threshold exists in the first result data, and performing rendering and positioning processing on the first type data to obtain rendering and positioning data; the matching controller is used for taking the data of which the first similarity value accords with the first threshold value in the first result data as third result data, and driving the renderer by using the first model object ID of the first type data and the second model object ID corresponding to the type data in the third result data. Wherein, the attribute data of the corresponding type data, such as position, color, texture and other data, can be obtained according to the first model object ID and the second model object ID.
In the above embodiment of the present invention, the system may further include: and the output equipment is connected with the matching controller and used for acquiring rendering positioning data and first three-dimensional data corresponding to the third result data, rendering the first three-dimensional data and the rendering positioning data through the renderer to obtain second three-dimensional data, and outputting the second three-dimensional data.
The renderer is connected with the matching controller, and re-rendering calculation is carried out on a part of models in the scene according to a first type data rendering and positioning processing result collected by the renderer script, so that driving is carried out on events. The rendering result of the renderer modifies the rendering of the original theater scene, and a part of the rendering effect of the scene object is covered on the rendering result.
According to the above embodiments of the present invention, the present system can be applied to a visual matching system. Wherein, both the input device and the output device can be disposed at the operation end (i.e. the client), and both the functions of the main processing flow and the data end in the above embodiments can be realized by the processor.
From the above description, it can be seen that the present invention achieves the following technical effects: after the drama data is collected, the theater equipment data corresponding to the drama data is read from the database, the similarity between the drama data and the theater equipment data is calculated to obtain first result data, so that the matching degree between the drama data and the theater equipment data can be visually obtained according to the first result data, the accuracy and the speed of obtaining the evaluation result are greatly increased due to the fact that only one similarity is needed to be calculated, manual on-site matching evaluation is not needed through calculation, the problems that the cost for obtaining the evaluation result whether the drama is matched with the theater is high and the result is inaccurate are solved, the fast and accurate obtaining of the matching evaluation result between the drama and the performance theater is realized, the cost for obtaining the evaluation result is low, the accuracy is high, and the evaluation result matched with the theater equipment can be efficiently obtained, the intelligent service level of the cultural performance is improved.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (15)
1. A performance data processing method, comprising:
collecting drama data;
reading theater equipment data corresponding to the drama data from a database; and
and calculating the similarity of the drama data and the theater equipment data to obtain first result data.
2. The processing method according to claim 1, wherein the scenario data includes one or more device type data and device attribute data respectively corresponding to each of the device type data, the first result data includes a first similarity value, and wherein the step of calculating the similarity of the scenario data and the theater device data to obtain the first result data includes:
calculating the similarity between each equipment type data and the theater equipment data to obtain first similarity data;
calculating the similarity between each piece of equipment attribute data and the theater equipment data to obtain second similarity data;
taking the product of the first similarity data and the second similarity data as an initial similarity value; and
and calculating the percentage of the initial similarity value and a preset similarity value, and taking the percentage as the first similarity value.
3. The processing method according to claim 2, wherein the step of calculating the similarity of each of the equipment type data and the theater equipment data to obtain first similarity data comprises:
detecting whether data consistent with the equipment type data exists in the theater equipment data, wherein the equipment type data S is used when the data consistent with the equipment type data exists in the theater equipment dataiIs set to 1;
in the case where there is no data identical to the equipment type data in the theater equipment data, the equipment type data S is processediSet to 0;
wherein i is the number of the device type data, and n is a positive integer.
4. The processing method according to claim 2, wherein the step of calculating the similarity of each of the equipment attribute data and the theater equipment data to obtain second similarity data comprises:
detecting whether data consistent with the equipment attribute data exists in the theater equipment data, wherein if the data consistent with the equipment attribute data exists in the theater equipment data, the equipment attribute data V is usedjIs set to 1;
calculating the equipment attribute data V when the data consistent with the equipment attribute data does not exist in the theater equipment datajA value of (d);
calculating the second similarity data V by a second formula, wherein the second formula is as follows:
wherein j is the number of the device attribute data, m is a positive integer, and alphajFor a preset correspondence to said VjThe weight of (c).
5. The processing method according to claim 4, characterized in that the device property data V are calculatedjThe step of calculating (a) comprises:
acquiring the equipment type data and the value theta of the theater equipment data corresponding to the equipment attribute dataiAnd a value theta of the device attribute datai′;
Determining that the device type data belongs to first device type data or second device type data, wherein,
in the case where the device type data belongs to the first device type data, when θi′≤θiTime, device attribute data Vi=1-(1-θi′/θi)/N2When theta isi′>θiWhen, Vi=θi/θi′;
When the device type data belongs to the second deviceIn the case of the auxiliary type data, when theta isi′≤θiTime, device attribute data ViWhen theta is 1i′>θiWhen, Vi=θi/θi′。
6. The processing method according to claim 2, wherein after calculating the similarity of the scenario data and the theater equipment data to obtain first result data, the method further comprises:
detecting whether second result data with the first similarity value not meeting a first threshold exists in the first result data, wherein,
under the condition that second result data with the first similarity value not meeting a first threshold exist in the first result data, acquiring first type data corresponding to the second result data, and taking the data with the first similarity value meeting the first threshold in the first result data as third result data;
and rendering and positioning the first type of data to obtain rendering and positioning data.
7. The processing method according to claim 6, wherein after calculating the similarity of the scenario data and the theater equipment data to obtain first result data, the method further comprises:
acquiring first three-dimensional data corresponding to the third result data;
converting the first three-dimensional data and the rendering positioning data into second three-dimensional data;
and outputting the second three-dimensional data.
8. A performance data processing apparatus, comprising:
the collection module is used for collecting drama data;
the reading module is used for reading theater equipment data corresponding to the drama data from a database; and
and the first processing module is used for calculating the similarity between the drama data and the theater equipment data to obtain first result data.
9. The apparatus of claim 8, wherein the episode data includes one or more device type data and device attribute data respectively corresponding to each of the device type data, the first result data includes a first similarity value, wherein the first processing module includes:
the first calculation module is used for calculating the similarity between each piece of equipment type data and the theater equipment data to acquire first similarity data;
the second calculation module is used for calculating the similarity between each piece of equipment attribute data and the theater equipment data to obtain second similarity data;
a third calculation module, configured to use a product of the first similarity data and the second similarity data as an initial similarity value; and
and the fourth calculating module is used for calculating the percentage of the initial similarity value to a preset similarity value and taking the percentage as the first similarity value.
10. The apparatus of claim 9, wherein the first computing module comprises:
the first detection module is used for detecting whether data consistent with the equipment type data exists in the theater equipment data or not;
a first sub-processing module for, in the case where there is data in the theater equipment data that is identical to the equipment type data, the equipment type data SiIs set to 1;
a second sub-processing module for, in the case where there is no data in the theater equipment data that is identical to the equipment type data, converting the equipment type data S into the theater equipment dataiSet to 0;
a first sub-calculation module for calculating the first similarity data S by a first formula, the first similarity data S being a first similarity valueOne formula is:
wherein i is the number of the device type data, and n is a positive integer.
11. The apparatus of claim 9, wherein the second computing module comprises:
the second detection module is used for detecting whether data consistent with the equipment attribute data exists in the theater equipment data or not;
a third sub-processing module for, in the case where there is data in agreement with the equipment attribute data in the theater equipment data, converting the equipment attribute data V into the equipment attribute data VjIs set to 1;
a fourth sub-processing module for calculating the equipment attribute data V when there is no data in the theater equipment data that is consistent with the equipment attribute datajA value of (d);
a second sub-calculation module, configured to calculate the second similarity data V according to a second formula, where the second formula is:
wherein j is the number of the device attribute data, m is a positive integer, and alphajFor a preset correspondence to said VjThe weight of (c).
12. A performance data processing system, comprising:
the input equipment is used for acquiring drama data;
and the processor is connected with the input equipment and used for calculating the similarity between the drama data and the theater equipment data to obtain first result data after reading the theater equipment data corresponding to the drama data from the database.
13. The system of claim 12, wherein the episode data includes one or more device type data and device attribute data respectively corresponding to each of the device type data, the first result data includes a first similarity value, the processor includes:
a calculator for calculating a similarity between each of the equipment type data and the theater equipment data to obtain first similarity data, and calculating a similarity between each of the equipment attribute data and the theater equipment data to obtain second similarity data, and then taking a product of the first similarity data and the second similarity data as an initial similarity value, calculating a percentage of the initial similarity value and a preset similarity value, and taking the percentage as the first similarity value.
14. The system of claim 13, further comprising:
the matching controller is used for detecting whether second result data with the first similarity value not meeting a first threshold exists in the first result data, acquiring first type data corresponding to the second result data under the condition that the second result data with the first similarity value not meeting the first threshold exists in the first result data, and performing rendering and positioning processing on the first type data to obtain rendering and positioning data; the matching controller is configured to use data, of the first result data, of which the first similarity value meets a first threshold as third result data, and drive the renderer using a first model object ID of the first type data and a second model object ID corresponding to type data of the third result data.
15. The system of claim 14, further comprising:
and the output equipment is connected with the matching controller and used for acquiring the rendering positioning data and the first three-dimensional data corresponding to the third result data, rendering the first three-dimensional data and the rendering positioning data through the renderer to obtain second three-dimensional data, and outputting the second three-dimensional data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310237080.8A CN103309980B (en) | 2013-06-14 | 2013-06-14 | Performance data processing method, Apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310237080.8A CN103309980B (en) | 2013-06-14 | 2013-06-14 | Performance data processing method, Apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103309980A true CN103309980A (en) | 2013-09-18 |
CN103309980B CN103309980B (en) | 2016-11-23 |
Family
ID=49135198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310237080.8A Expired - Fee Related CN103309980B (en) | 2013-06-14 | 2013-06-14 | Performance data processing method, Apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103309980B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068471A (en) * | 2015-07-22 | 2015-11-18 | 浙江大丰实业股份有限公司 | Stage data excavation system |
CN105182810A (en) * | 2015-07-22 | 2015-12-23 | 浙江大丰实业股份有限公司 | Stage data control system |
CN109299076A (en) * | 2018-11-13 | 2019-02-01 | 南方电网科学研究院有限责任公司 | Method, device and equipment for generating primary key of data acquisition point in redundant database |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1609870A (en) * | 2003-10-24 | 2005-04-27 | 宏碁股份有限公司 | Long-distance field installation and ticket advance sale method |
CN101082901A (en) * | 2006-06-01 | 2007-12-05 | 上海戏剧学院 | Virtual rehearsing system |
CN101510212A (en) * | 2009-03-19 | 2009-08-19 | 杭州剧院 | Stage art material knowledge base system for theater performance and establishing and retrieving method thereof |
CN101655988A (en) * | 2008-08-19 | 2010-02-24 | 北京理工大学 | System for three-dimensional interactive virtual arrangement of large-scale artistic performance |
-
2013
- 2013-06-14 CN CN201310237080.8A patent/CN103309980B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1609870A (en) * | 2003-10-24 | 2005-04-27 | 宏碁股份有限公司 | Long-distance field installation and ticket advance sale method |
CN101082901A (en) * | 2006-06-01 | 2007-12-05 | 上海戏剧学院 | Virtual rehearsing system |
CN101655988A (en) * | 2008-08-19 | 2010-02-24 | 北京理工大学 | System for three-dimensional interactive virtual arrangement of large-scale artistic performance |
CN101510212A (en) * | 2009-03-19 | 2009-08-19 | 杭州剧院 | Stage art material knowledge base system for theater performance and establishing and retrieving method thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068471A (en) * | 2015-07-22 | 2015-11-18 | 浙江大丰实业股份有限公司 | Stage data excavation system |
CN105182810A (en) * | 2015-07-22 | 2015-12-23 | 浙江大丰实业股份有限公司 | Stage data control system |
CN109299076A (en) * | 2018-11-13 | 2019-02-01 | 南方电网科学研究院有限责任公司 | Method, device and equipment for generating primary key of data acquisition point in redundant database |
Also Published As
Publication number | Publication date |
---|---|
CN103309980B (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230359778A1 (en) | Configuration of a digital twin for a building or other facility via bim data extraction and asset register mapping | |
CN109559069B (en) | Production management method and device based on assembly type building platform and terminal equipment | |
Gil et al. | The space syntax toolkit: Integrating depthmapX and exploratory spatial analysis workflows in QGIS | |
CN107153744B (en) | Underground three-dimensional pipeline decision making system | |
CN103093007A (en) | Power transmission iron tower three-dimensional virtual assembly method | |
JP6542445B1 (en) | Information providing system and information providing method | |
CN113723810A (en) | Graph database-based power grid modeling method | |
US20160275216A1 (en) | Providing building information modeling data | |
US20160085831A1 (en) | Method and apparatus for map classification and restructuring | |
CN113422693A (en) | Model construction method and recognition method of Internet of things equipment and computer equipment | |
CN106651144B (en) | Tower and line relation modeling method with same-tower parallel line information | |
CN110990917A (en) | BIM model display method, device and system | |
CN112329184A (en) | Network architecture configuration information generation method and device, storage medium and electronic equipment | |
CN112215939A (en) | Collaborative management method and system for building data | |
CN110968712A (en) | Method, device and system for acquiring BIM family model | |
CN103309980A (en) | Method, device and system for processing performance data | |
CN116436791A (en) | Industrial Internet scene construction method, system, equipment and storage medium | |
CN112883240B (en) | Digital twinning-based data lightweight BIM building model management method and management system thereof | |
CN105046387A (en) | Comprehensive analyzing subsystem of digital city monitoring center and working method thereof | |
CN108229037B (en) | Modeling method and device based on BIM | |
CN112749746A (en) | Method, system and device for iteratively updating defect sample | |
CN117094660A (en) | Construction monitoring method and system based on digital twin technology | |
CN110837657A (en) | Data processing method, client, server and storage medium | |
CN108932704A (en) | Image processing method, picture processing unit and terminal device | |
CN115098747A (en) | Method and device for processing scene resources in game, readable storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161123 |
|
CF01 | Termination of patent right due to non-payment of annual fee |