Interaction method and device under vehicle charging, electronic equipment and storage medium
By parsing the dance video requested by the user interaction and generating a reference video, the similarity is calculated to generate a vehicle charging pricing strategy, which solves the problem of insufficient user experience during the charging process of electric vehicles and improves the fun and user activity of the charging process.
Patent Information
- Application Number
- CN202410783506.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-01
AI Technical Summary
The user experience during the charging process of electric vehicles is boring, and the intelligent and personalized services of charging piles are insufficient, leading to the loss of users.
By receiving the user's interaction request, it parses the target dance video, generates a reference video, calculates the similarity between the user interaction video and the reference video, and generates a pricing strategy for vehicle charging based on the similarity, making the charging process more interesting and user active.
It improves the user experience of the vehicle charging process, realizes the intelligence of flexible pricing strategies, and reduces user churn.
Smart Images

Figure CN118735616A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle charging, and in particular to an interactive method, device, electronic device, and computer-readable storage medium during vehicle charging. Background Art
[0002] With the rapid development of the electric vehicle industry, the demand for public charging facilities continues to grow. Charging piles, as the infrastructure for charging electric vehicles, not only need to meet the functional requirements of efficient charging, but also face challenges such as improving user experience, energy conservation and environmental protection. Intelligent and personalized services have become the key direction to enhance the competitiveness of charging piles. Therefore, the display management system of the charging pile, as the main interface for user interaction, has a direct impact on the user experience and the energy efficiency performance of the system.
[0003] In the existing technology, the user experience of electric vehicles during charging is relatively boring, and since the intelligent and personalized services of charging piles are not enough to improve user activity, it is easy to cause customer loss. Summary of the invention
[0004] To solve the above technical problems, embodiments of the present application provide an interactive method and device for vehicle charging, an electronic device, and a computer-readable storage medium.
[0005] According to one aspect of an embodiment of the present application, a method for interaction during vehicle charging is provided, comprising: receiving an interaction request, and determining a target interaction plan based on the interaction request; parsing a target dance video in the target interaction plan, and dynamically identifying the target dance video to obtain corresponding dance decomposition movements and music; generating a reference video based on the dance decomposition movements and the music and sending it to a user end, and receiving an interactive video returned by the user end based on the reference video; calculating the similarity between the reference video and the interactive video, and generating a pricing strategy for the vehicle charging based on the similarity.
[0006] According to one aspect of an embodiment of the present application, calculating the similarity between the reference video and the interactive video includes: extracting a human motion signal in the interactive video, the human motion signal including human torso data; if the human motion signal is characterized as a valid human motion signal based on the human torso data, then calculating the similarity between the human signal corresponding to the reference video and the valid human motion signal.
[0007] According to one aspect of an embodiment of the present application, calculating the similarity between a human body signal corresponding to a reference video and the effective human body motion signal includes: extracting the motion signal corresponding to a key torso in the effective human body signal; calculating the matching rate between the motion signal corresponding to the key torso and the corresponding standard motion signal in the reference video; and calculating the similarity between the human body signal corresponding to the reference video and the effective human body motion signal based on the matching rate.
[0008] According to one aspect of an embodiment of the present application, the method also includes: receiving a target dance video sent by the user terminal; performing motion optimization processing on the target dance video to obtain an optimized target dance video; and sending the optimized target dance video as a reference video to the user terminal.
[0009] According to one aspect of an embodiment of the present application, the method also includes: using the optimized target dance video as a preset reference video, and the preset reference video is used as the target dance video for other terminals other than the user terminal; if the other terminals other than the user terminal return an interactive video based on the preset reference video, then generating an additional billing strategy for vehicle charging based on the interactive video.
[0010] According to one aspect of an embodiment of the present application, the method also includes: obtaining content parameters corresponding to the interactive video, the content parameters including dancing movements and video duration; performing weighted calculation on the dancing movements and the video duration according to preset weights to obtain a content evaluation value.
[0011] According to one aspect of an embodiment of the present application, the method further includes: calculating the action similarity between the dance action in the reference video and the dance action in the interactive video; and generating a pricing strategy for the vehicle charging based on the action similarity and the content evaluation value.
[0012] According to one aspect of an embodiment of the present application, an interactive device for vehicle charging is provided, the device comprising: a determination module, for receiving an interactive request, and determining a target interactive scheme based on the interactive request; a parsing module, for parsing a target dance video in the target interactive scheme, and dynamically identifying the target dance video to obtain corresponding dance decomposition movements and music; a sending module, for generating a reference video based on the dance decomposition movements and the music and sending it to a user end, and receiving an interactive video returned by the user end based on the reference video; a calculation module, for calculating the similarity between the reference video and the interactive video, and generating a pricing strategy for vehicle charging based on the similarity.
[0013] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the interactive method under vehicle charging as described above.
[0014] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the interactive method under vehicle charging as described above.
[0015] In the technical solution provided in the embodiments of the present application, the target interaction solution is obtained by parsing the interaction request reported by the user terminal, and then the target dance video requested by the user for interaction is parsed, and a reference video for the user terminal is generated according to the target dance video, so that the user returns the interactive video based on the reference video, thereby increasing the fun of the vehicle charging process and improving the customer activity level. Then, the similarity between the user's interactive video and the reference video is calculated to determine the pricing strategy for vehicle charging, which not only realizes flexible pricing for vehicle charging and improves the intelligence of the pricing strategy, but also improves the user experience during the vehicle charging process and avoids user loss.
[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0018] Figure 1 is a schematic diagram of an implementation environment for interaction during vehicle charging, shown in an exemplary embodiment of the present application;
[0019] Figure 2 is a flow chart of an interactive method for vehicle charging shown in an exemplary embodiment of the present application;
[0020] Figure 3 is a flow chart of an interactive method for vehicle charging shown in another exemplary embodiment of the present application;
[0021] Figure 4 is a flow chart of an interactive method for vehicle charging shown in another exemplary embodiment of the present application;
[0022] Figure 5 is a flow chart of an interactive method for vehicle charging shown in another exemplary embodiment of the present application;
[0023] Figure 6 is a flow chart of an interactive method for vehicle charging shown in another exemplary embodiment of the present application;
[0024] Figure 7 is a flow chart of an interactive method for vehicle charging shown in another exemplary embodiment of the present application;
[0025] Figure 8 is a flow chart of an interactive method for vehicle charging shown in another exemplary embodiment of the present application;
[0026] Fig. 9 is a simplified flow diagram of the interaction under an exemplary vehicle charging;
[0027] Fig.10 is a block diagram of an interactive device for vehicle charging shown in an exemplary embodiment of the present application;
[0028] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0029] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0030] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0031] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0032] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0033] First of all, it should be noted that with the rapid development of the electric vehicle (EV) industry, the demand for public charging facilities continues to grow. As the infrastructure for charging electric vehicles, the importance of charging piles is self-evident. In addition to meeting the basic functional requirements of efficient charging, charging piles also face multiple challenges such as improving user experience, energy conservation and environmental protection. In order to meet these challenges and enhance market competitiveness, intelligent and personalized services have become an important direction for the development of charging piles.
[0034] For example, customized charging solutions: Charging piles can provide users with customized charging solutions based on the user's charging habits, battery status and other information, such as adjusting the charging power and charging time. Membership services: Charging pile operators can launch membership services to provide members with priority charging, discounts and other benefits to increase user stickiness. Value-added services: Charging piles can cooperate with surrounding businesses to provide users with value-added services such as catering, shopping, and parking to enrich the user experience. Environmental education: Charging piles can convey environmental protection concepts to users through display screens or mobile phone apps, such as energy conservation and emission reduction, green travel, etc., to enhance users' environmental awareness.
[0035] In addition, in order to realize intelligent and personalized services, charging piles need to have advanced technical support, such as Internet of Things technology, cloud computing technology, big data analysis technology, etc. At the same time, charging pile operators also need to strengthen cooperation with other industries to jointly build an electric vehicle charging ecosystem and provide users with a more convenient, efficient and comfortable charging experience.
[0036] Figure 1This is a schematic diagram of an implementation environment for interaction during vehicle charging, shown in an exemplary embodiment of the present application. During vehicle charging, the smart terminal 110 is equipped with an interactive application under vehicle charging, and the user can initiate an interactive request on the smart terminal 110, and then the smart terminal 110 sends the interactive request to the control end server 120, and then the control end server 120 determines the target interactive scheme based on the interactive request, parses the target dance video in the target interactive scheme from the target interactive scheme, and dynamically identifies the target dance video to obtain the corresponding dance decomposition movements and music, and the control end server 120 generates a reference video based on the dance decomposition movements and music and sends it to the smart terminal 110, and then the user returns the interactive video corresponding to the reference video through the smart terminal 110, and then the control end server calculates the similarity between the reference video and the interactive video, and generates a pricing strategy for vehicle charging based on the similarity, thereby achieving discounts, discounts or other forms of incentives on vehicle pricing.
[0037] in, Figure 1 The smart terminal 110 shown can be any terminal device that supports the installation of navigation map software, such as a smart phone, a car computer, a tablet computer, a laptop computer, or a wearable device, but is not limited thereto. Figure 1 The control end service 120 shown can be, for example, an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, and is not limited here. The intelligent terminal 110 can communicate with the control end server 120 through wireless networks such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), and 5G (fifth generation mobile information technology), and is not limited here.
[0038] With the rapid development of the electric vehicle industry, the demand for public charging facilities continues to grow. Charging piles, as the infrastructure for charging electric vehicles, not only need to meet the functional requirements of efficient charging, but also face challenges such as improving user experience, energy conservation and environmental protection. Intelligent and personalized services have become the key direction to enhance the competitiveness of charging piles. Therefore, the display management system of the charging pile, as the main interface for user interaction, has a direct impact on the user experience and the energy efficiency performance of the system.
[0039] In the existing technology, the user experience of electric vehicles during charging is relatively boring, and since the intelligent and personalized services of charging piles are not enough to improve user activity, it is easy to cause customer loss.
[0040] The above-mentioned problems are generally applicable in general vehicle charging scenarios. To solve these problems, the embodiments of the present application respectively propose an interactive method under vehicle charging, an interactive device under vehicle charging, an electronic device, a computer-readable storage medium, and a computer program product, which will be described in detail below.
[0041] See also Figure 2 , Figure 2 is a flow chart of an interactive method for vehicle charging shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown is specifically executed by the smart terminal 210 in the implementation environment. It should be understood that the method can also be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment to which the method is applicable.
[0042] like Figure 2 As shown, in an exemplary embodiment, the interactive method under vehicle charging includes at least steps S210 to S240, which are described in detail as follows:
[0043] Specifically, with the promotion of electric vehicles, more and more users choose to buy electric vehicles, but electric vehicles face the problem of charging. During the charging process of electric vehicles, users cannot use the vehicle normally due to the long charging time. During this process, users are relatively bored and hope to have more novel ways to play during the charging process. Car companies can also use this to increase user activity and improve user experience.
[0044] Step S210, receiving an interaction request, and determining a target interaction solution based on the interaction request;
[0045] Specifically, during the vehicle charging process, the user can initiate an interaction request through the vehicle terminal or personal terminal. The interaction request is for the vehicle or charging pile. Therefore, the interaction request can be received by the system corresponding to the vehicle or charging pile. The user's interaction request can include AR projection interaction, music interaction, video interaction, game interaction, dance interaction, etc. In this embodiment, the interaction request initiated by the user terminal is dance interaction as an example. After receiving the interaction request, the corresponding target interaction plan can be determined based on the request items included in the interaction request. In other words, the target interaction plan initiated by the user can be determined through the request items in the interaction request.
[0046] Step S220, parse out the target dance video in the target interactive solution, and dynamically identify the target dance video to obtain corresponding dance decomposition movements and music.
[0047] Specifically, following the above-mentioned embodiment, if it is parsed from the request item corresponding to the interaction request sent by the user that the target interaction scheme is a dance interaction, the target dance video in the target interaction scheme can be obtained by parsing the target interaction scheme, wherein the target dance video can be uploaded by the user himself or selected by the user from the dance videos provided by the system in the client corresponding to the user terminal. Then, the target dance video in the target interaction scheme can be decomposed to decompose the music and dance movements in the target interaction scheme, wherein the dance movements can be decomposed through technologies such as dynamic recognition, posture recognition, and human body 3D model.
[0048] Optionally, in some feasible embodiments, users can select 5 preset dance videos and music for charging interaction. The system will dynamically identify and analyze the user's dancing movements and provide users with real-time feedback and evaluation. In addition, users can also upload 10-second, 20-second or 30-second dance videos (with music) by themselves. After successful upload, the system will dynamically identify and analyze the video content uploaded by the user to help users improve the accuracy and fluency of dance movements. In addition, the client can also provide a social sharing function, allowing users to share their dance videos with friends, compete in dancing skills, and increase interactive fun. In addition, a ranking function can also be set to show the user's performance in dance performance, encourage users to continue to participate in charging interactions, and improve their health level and entertainment experience.
[0049] Step S230, generating a reference video based on the dance decomposition movements and music and sending it to the user end, and receiving an interactive video returned by the user end based on the reference video.
[0050] Specifically, following the above-mentioned embodiment, first, you need to have a series of pre-designed dance decomposition movements, which can be animations, video clips or key frame sequences stored in the form of files. Select or create a piece of music that matches the dance. Use video editing software or scripts to synchronize the dance decomposition movements with the music to generate a complete reference video. Make sure that each dance movement matches the rhythm and melody of the music. Perform necessary optimization on the generated reference video, such as color adjustment, special effects addition, etc., to improve the quality and attractiveness of the video, and send the optimized reference video to the user end through an appropriate transmission method (such as the Internet, local area network, etc.). You can use video sharing platforms, emails, instant messaging tools, etc. to complete this step.
[0051] After that, after the user receives the reference video, the user can imitate the dance, create or interact with other users according to the reference video to generate his own interactive video. After the user completes the interactive video, the video is uploaded to the server through a specified upload method (such as a web form, application program interface, etc.). The server receives the interactive video uploaded by the user and performs necessary verification (such as file format, size limit, etc.). After the verification is passed, the video is stored on the server for subsequent processing.
[0052] Step S240, calculating the similarity between the reference video and the interactive video, and generating a pricing strategy for vehicle charging based on the similarity.
[0053] Specifically, key frames are extracted from the reference video, and image recognition or deep learning techniques (such as convolutional neural network CNN) are used to extract features of these key frames. These features may include color, texture, shape, motion information, etc. Similarly, key frames are extracted from the interactive video and features are extracted, and the features of the reference video and the interactive video are compared to calculate the similarity between them. Common similarity calculation methods include Euclidean distance, cosine similarity, dynamic time warping (DTW), etc. For video data, DTW may be a better choice due to the possible misalignment on the time axis. Then, a similarity score is generated for each interactive video based on the similarity calculation method. The higher the score, the more similar the interactive video is to the reference video. Then, according to the demand for vehicle charging, one or more similarity thresholds can be set. These thresholds will be used to determine the degree of similarity between the interactive video and the reference video, and different pricing strategies will be formulated accordingly. The generated pricing strategy is notified to the user, and the corresponding fee is applied when the user charges.
[0054] In addition, in some achievable embodiments, the action signal returned by the user based on the reference video can be collected in real time, wherein the action signal can be the user's imitation of the reference motion signal in the reference video, and then the user's action can be scored in real time, and after the reference video is played, the corresponding action similarity of the user after the interaction based on the reference video is determined. For example, the user's real-time video data is captured, which contains the user's action information, and key frames are extracted from the reference video. These key frames contain reference motion signals, and computer vision technology (such as deep learning models) is used to extract the features of the reference motion signal from the key frames. These features may include shape, posture, motion trajectory, etc. Then, the action signal collected by the user in real time is compared with the reference motion signal, and the similarity between the two can be compared using feature matching, motion trajectory alignment and other technologies. The score is calculated based on the similarity of the action signal. The scoring method can be defined according to specific needs. For example, it can be based on the comprehensive scoring of factors such as action accuracy, fluency, speed, etc., and multiple scoring levels can be set, such as "excellent", "good", "general", etc., and the corresponding score range can be given.
[0055] In this embodiment, the target interaction plan is obtained by parsing the interaction request reported by the user end, and then the target dance video requested by the user for interaction is parsed, and a reference video for the user end is generated according to the target dance video, so that the user returns the interactive video based on the reference video, thereby increasing the fun of the vehicle charging process and improving the customer activity level. Then, the similarity between the user's interactive video and the reference video is calculated to determine the pricing strategy for vehicle charging, which not only realizes flexible pricing for vehicle charging and improves the intelligence of the pricing strategy, but also improves the user experience during the vehicle charging process and avoids user loss.
[0056] Further, based on the above embodiments, please refer to Figure 3 In one of the exemplary embodiments provided in the present application, the specific implementation process of calculating the similarity between the reference video and the interactive video may further include step S310 and step S320, which are described in detail as follows:
[0057] Step S310, extracting a human motion signal from the interactive video, where the human motion signal includes human body trunk data.
[0058] Specifically, after receiving the interactive video uploaded by the user, the interactive video is parsed, and then the human motion signal is extracted from the interactive video, and the human torso signal in the human motion signal, for example, the torso of the person in the video is identified, especially the three main torsos of the hands, feet, and waist are identified, and it can be identified whether the positions of the three parts of the hands, feet, and waist are consistent with the reference video.
[0059] For example, the entire screen is divided into 16 4×4 grids. Second, it is necessary to identify whether there is only one normal person in the video. If there are multiple people or abnormal people (with intact hands and feet), analysis cannot be performed. Third, it is necessary to identify the torso of the person in the video, especially the three main torsos of hands, feet, and waist, and see the position of each torso in the 16 grids.
[0060] Optionally, in some feasible embodiments, if the video contains background or other non-human-related objects, background segmentation or foreground extraction may be required, and target detection algorithms (such as YOLO, SSD, Faster R-CNN, etc.) are used to detect the human body in the video frame. The posture estimation technology is used to determine the position and direction of various parts of the human body (such as head, limbs, torso, etc.) in the image or video frame. For human torso data, the key points that need to be paid attention to may include shoulders, waist, chest, etc. Pose estimation can use deep learning-based methods (such as OpenPose, DeepCut, Mask R-CNN, etc.), which can detect the key points of the human body from images or videos and estimate their positions.
[0061] In addition, in the video sequence, the detected key points need to be tracked to obtain their changes over time (i.e., motion signals). Based on the results of key point tracking, the motion signals of the human torso can be extracted, which includes calculating the position changes, speed, acceleration and other motion parameters of the torso key points.
[0062] Step S320: If the human motion signal represented based on the human body trunk data is a valid human motion signal, then the similarity between the human motion signal corresponding to the reference video and the valid human motion signal is calculated.
[0063] Before step S320, it can also include checking whether the human body trunk data extracted from the interactive video is complete, that is, whether all necessary key points (such as shoulders, waist, chest, etc.) are included. If the data is seriously missing, it may not be possible to accurately characterize human motion, so the signal can be considered invalid. Evaluate the coherence of the human body trunk data in the time series, that is, whether the continuous change of the key point position conforms to the natural law of human motion. If there is a sudden jump, discontinuity or abnormal fluctuation in the data, it may indicate that the signal is not a valid human motion signal. It can also be that if the expected human motion pattern or action type is known, the extracted human body trunk data can be matched with these expected patterns, and methods such as pattern recognition, classifiers or similarity metrics can be used to evaluate the degree of match between the data and the expected action. If the match is high, it can be considered that the signal is a valid human motion signal; if the match is low, it may be invalid.
[0064] Specifically, key features are extracted from the effective human motion signal and the human signal of the reference video. These features may include joint angles, speeds, accelerations, trajectories, etc. Select a suitable similarity measurement method. Common methods include Euclidean distance, Manhattan distance, cosine similarity, dynamic time warping (DTW), etc. Based on the selected feature set and measurement method, the similarity between the effective human motion signal and the human signal of the reference video is calculated. In addition, the calculated similarity value can be analyzed to determine the degree of closeness between the two. Based on the similarity threshold or preset conditions, it is determined whether the effective human motion signal meets expectations or reaches a certain standard.
[0065] In this embodiment, human motion signals are extracted from the interactive video, including obtaining human torso data, and when the human signal is determined to be a valid human signal based on the human torso data, the similarity between the valid human signal and the human signal in the reference video is compared, so that the calculated similarity result is more accurate.
[0066] Further, based on the above embodiments, please refer to Figure 4 In one of the exemplary embodiments provided in the present application, the specific implementation process of calculating the similarity between the human body signal corresponding to the reference video and the effective human body motion signal may also include steps S410 to S430, which are described in detail as follows:
[0067] Step S410, extracting the motion signal corresponding to the key torso in the effective human body signal;
[0068] Step S420, calculating the matching rate between the motion signal corresponding to the key torso and the corresponding standard motion signal in the reference video;
[0069] Step S430: Calculate the similarity between the human body signal corresponding to the reference video and the effective human body motion signal based on the matching rate.
[0070] Specifically, the motion signals corresponding to the key trunks in the effective human body signals can be extracted, wherein the key trunks can be the three main trunks of the hands, feet, and waist, and then the motion signals corresponding to the main trunks such as the hands, feet, and waist are obtained, and the matching rate between the motion signals corresponding to the key trunks in the interactive video and the standard motion signals in the reference video is calculated, wherein the standard motion signals can be the teaching movements in the reference video, and the matching rate between the movements and the continuity of the movements between the motion signals corresponding to the key trunks and the standard motion signals in the reference video. Then, the similarity between the human body signals corresponding to the reference video and the effective human body motion signals can be calculated based on the matching rate.
[0071] Exemplarily, the first thing to do is to align the time axis between the reference video and the interactive video (key torso valid signal): ensure that the time axis of the two signals is aligned, that is, the data at each time point is corresponding. If the lengths of the two signals are different (for example, due to different frame rates or different motion speeds), interpolation or resampling may be required to make them have the same length. Calculate the Euclidean distance between the corresponding key points at each time point, and average or accumulate the distances of all time points. A smaller distance indicates a higher degree of fit. If there is a difference in speed between the two signals, DTW is an effective method. DTW calculates the similarity between the two sequences by finding the optimal alignment path between them. In DTW, a smaller cumulative distance indicates a higher degree of fit. For distance-based methods (such as Euclidean distance or DTW), the reciprocal of the cumulative distance or average distance can be calculated as the fit rate. In this way, a smaller distance corresponds to a higher fit rate. In addition, based on the calculated fit rate, the similarity between the motion signal corresponding to the key torso and the corresponding standard motion signal in the reference video can be judged. Generally, a higher fit rate indicates that the two signals are more similar.
[0072] In this embodiment, by calculating the matching rate between the motion signal corresponding to the key torso in the interactive video and the standard motion signal in the reference video, the similarity between the interactive video and the reference video is determined based on the matching rate, thereby not only reducing the amount of calculation but also improving the accuracy of the similarity calculation.
[0073] Further, based on the above embodiment, please refer to Figure 5 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle charging interaction method may also include steps S510 to S530, which are described in detail as follows:
[0074] Step S510, receiving a target dance video sent by a user terminal;
[0075] Step S520, performing motion optimization processing on the target dance video to obtain an optimized target dance video;
[0076] Step S530: sending the optimized target dance video as a reference video to the user terminal.
[0077] Specifically, in some feasible embodiments, on the user side, the user can select one or more dance videos from preset dance videos as target dance videos; in some feasible embodiments, one or more dance videos can also be uploaded from the user side as target dance videos in a user-defined manner.
[0078] This embodiment takes uploading one or more dance videos from a user end as a target dance video as an example, receives the target dance video uploaded by the user end, and then dynamically identifies and analyzes the video content of the target dance video uploaded by the user end to help the user optimize the accuracy and fluency of the dance movements, and then sends the optimized target dance video to the user end as a reference video.
[0079] In addition, the user end can also provide a social sharing function, allowing users to share their dance videos with friends, compete with each other in dancing skills, and increase the fun of interaction. In addition, a ranking function can be set to display the user's dance performance, motivating users to continue to participate in charging interactions and improve their health level and entertainment experience.
[0080] Exemplarily, video analysis software or algorithms are used to identify key information such as dance movements, rhythms, dancers, etc. in the video. Then, motion interpolation or motion smoothing algorithms are used to reduce jitter or abrupt jumps in dance movements. The speed or time of certain movements may need to be adjusted to ensure that the dance movements are completely synchronized with the rhythm of the music. If the goal is to make the dance movements more standard or in line with a certain style, machine learning or template matching techniques can be used to identify and adjust movements that do not meet the standards. In addition, if the video contains elements that are not related to dance (such as distractions in the background), image segmentation or video editing techniques can be used to remove them. Finally, it is also necessary to apply the above optimization to each frame of the video, use appropriate video encoding algorithms and parameters to compress the video to reduce the file size and maintain video quality, and then upload the optimized target dance video to a server or CDN (content distribution network) so that the user end can access it.
[0081] In this embodiment, by optimizing the target dance video uploaded by the user and sending the optimized target dance video to the user end as a reference video, not only the user activity is improved, but also the customer's interest is improved, and the user's experience in the vehicle charging process is increased.
[0082] Further, based on the above embodiments, please refer to Figure 6 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle charging interaction method may also include step S610 and step S620, which are described in detail as follows:
[0083] Step S610: The optimized target dance video is used as a preset reference video, and the preset reference video is used as a target dance video for other terminals except the user terminal.
[0084] Specifically, following the above-mentioned embodiment, the target dance video obtained after optimizing the target dance video uploaded by the user terminal can also be used as the target dance video of other terminals other than the user terminal. For example, the user is allowed to leave a corresponding dance for the next charging user, which can be pre-set by the system, or upload a video (with music) of no more than 20 seconds, and after the upload is successful, the user's video content is dynamically identified and analyzed. When a new user arrives at the charging pile, scans the charging pile code with the same APP, and successfully starts charging, the APP will remind that a user has left a corresponding interactive game here, and then the user can use the target dance video obtained after optimizing the target dance video uploaded by the user terminal as a reference video for interaction.
[0085] Exemplarily, the optimized video is stored in a server or cloud storage in a high-quality format to ensure that the video maintains high definition when played on different terminals. The video is marked as a preset reference video in the storage system so that other systems or applications can easily identify and use it, and appropriate metadata such as title, description, classification, tags, etc. are added to the video for easy search and management. Ensure that only authorized users or terminals can access and use the preset reference video. This may involve setting an access control list (ACL) or using an authentication mechanism.
[0086] Step S620: If the other terminals except the user terminal return an interactive video based on the preset reference video, an additional charging strategy for vehicle charging is generated based on the interactive video.
[0087] Specifically, after receiving the interactive video returned by other terminals other than the user terminal based on the preset reference video, the additional charging strategy of the vehicle can be determined according to the similarity between the key torso motion signal in the interactive video and the reference motion signal in the preset reference video, the difficulty of the dance movements in the preset reference video, the duration of the interactive video and other parameters, wherein the additional charging strategy may include a preferential strategy superimposed on the original charging strategy, or may be a decisive factor of the original charging strategy, etc. In this regard, the present application does not further limit the additional charging strategy.
[0088] For example, based on the analysis results of the interactive video, the system formulates additional charging strategies related to vehicle charging. These strategies may include tiered pricing based on charging time, regional pricing based on charging station location, personalized pricing based on user behavior, etc. The implementation effect of the strategy can also be continuously monitored, user feedback and data analysis can be collected, so as to make necessary adjustments and optimizations to the strategy.
[0089] In this embodiment, by using the preset reference video uploaded by the user as the reference video of other users for interaction, not only the user activity is improved, but also the diversity of interaction schemes and the fun of user experience are increased.
[0090] Further, based on the above embodiments, please refer to Figure 7 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle charging interaction method may also include step S710 and step S720, which are described in detail as follows:
[0091] Step S710, obtaining content parameters corresponding to the interactive video, the content parameters including dancing movements and video duration;
[0092] Step S720: Perform weighted calculation on the dancing movements and the video duration according to preset weights to obtain a content evaluation value.
[0093] Specifically, the dance movements in the interactive video can be analyzed and evaluated based on factors such as the complexity, fluency, and similarity with the preset reference video. Image recognition or deep learning technology can be used to automatically detect and analyze dance movements and record the total duration of the interactive video. The video duration may be a simple value, but other factors can also be considered, such as the ratio of user viewing time to the total video duration, to reflect the user's attraction to the video. According to business needs or expert opinions, appropriate weights are set for dance movements and video duration. For example, if dance movements are the main content of the video, a higher weight can be set for it; if the video duration has little impact on the content quality, a lower weight can be set for it. Then, according to the extracted dance movement parameters, combined with the preset scoring criteria (such as complexity, fluency, etc.), the dance movement is scored, and according to the video duration parameters, combined with the preset scoring criteria (such as the proportion of user viewing time, etc.), the video duration is scored, and the dance movement score and the video duration score are multiplied by the corresponding weights respectively, and then the two weighted values are added to obtain the content evaluation value.
[0094] In this embodiment, the interactive video uploaded by the user based on the reference video is evaluated in multiple dimensions, which not only ensures the intelligence of the interactive video evaluation, but also improves the quality of the interactive video evaluation.
[0095] Further, based on the above embodiments, please refer to Figure 8 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle charging interaction method may also include step S810 and step S820, which are described in detail as follows:
[0096] Step S810, calculating the movement similarity between the dance movement in the reference video and the dance movement in the interactive video;
[0097] Step S820: generating a pricing strategy for vehicle charging based on the action similarity and the content evaluation value.
[0098] Specifically, the features of the dance movements are extracted from the reference video and the interactive video. This can be achieved by using computer vision techniques (such as OpenPose, MediaPipe, etc.), which can detect and track body key points in the video. Once we have the features of the dance movements, we can use various methods to calculate the similarity between them. A simple method is to calculate the Euclidean distance or cosine similarity between two feature vectors. In this embodiment, cosine similarity will be used because it is generally more effective when comparing high-dimensional vectors.
[0099] Then, next, the action similarity is combined with the content evaluation value to generate a pricing strategy for vehicle charging, which can be achieved by multiplying, adding, or combining the two. The specific method depends on your business needs. Finally, based on the calculated comprehensive value (a combination of action similarity and content evaluation value), we can generate a pricing strategy for vehicle charging, which may include discounts, discounts, or other forms of incentives based on the quality of the interactive video.
[0100] In this embodiment, the vehicle charging pricing strategy is determined by the dual dimensions of action similarity and content evaluation value, which not only improves the intelligence of the charging pricing strategy, but also realizes the diversity of charging schemes, thereby increasing user interest and improving user participation.
[0101] Fig. 9 It is a brief flow chart of the interaction under vehicle charging in the navigation interface in an exemplary application scenario. In the application scenario shown in 9, an interaction request is received, and a target interaction scheme is determined based on the interaction request; the target dance video in the target interaction scheme is parsed, and the target dance video is dynamically identified to obtain the corresponding dance decomposition movements and music; a reference video is generated based on the dance decomposition movements and music and sent to the user end, and an interactive video returned by the user end based on the reference video is received; the human motion signal in the interactive video is extracted, and the human motion signal includes human torso data; if the human motion signal characterized based on the human torso data is a valid human motion signal, the similarity between the human signal corresponding to the reference video and the valid human motion signal is calculated. Obtain the content parameters corresponding to the interactive video, and the content parameters include dancing movements and video duration; perform weighted calculations on the dancing movements and video duration according to preset weights to obtain a content evaluation value. Generate a pricing strategy for vehicle charging based on movement similarity and content evaluation value. For the detailed implementation process, please refer to the records in the aforementioned embodiments, which will not be repeated here.
[0102] Fig.10is a block diagram of an interactive device for vehicle charging shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the server 120. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0103] like Fig.10 As shown, the exemplary interactive device 1000 for vehicle charging includes: a determination module 1010, for receiving an interactive request, and determining a target interactive solution based on the interactive request; a parsing module 1020, for parsing a target dance video in the target interactive solution, and dynamically identifying the target dance video to obtain corresponding dance decomposition movements and music; a sending module 1030, for generating a reference video based on the dance decomposition movements and music and sending it to a user end, and receiving an interactive video returned by the user end based on the reference video; a calculation module 1040, for calculating the similarity between the reference video and the interactive video, and generating a vehicle charging pricing strategy based on the similarity.
[0104] According to one aspect of an embodiment of the present application, the above-mentioned calculation module 1040 is also used to extract human motion signals in interactive videos, and the human motion signals include human torso data; if the human motion signal characterized based on the human torso data is a valid human motion signal, then the similarity between the human motion signal corresponding to the reference video and the valid human motion signal is calculated.
[0105] According to one aspect of an embodiment of the present application, the above-mentioned calculation module 1040 is also used to extract the motion signal corresponding to the key torso in the effective human body signal; calculate the fit rate between the motion signal corresponding to the key torso and the corresponding standard motion signal in the reference video; and calculate the similarity between the human body signal corresponding to the reference video and the effective human body motion signal based on the fit rate.
[0106] According to one aspect of an embodiment of the present application, the above-mentioned interactive device under vehicle charging also includes: a receiving module for receiving a target dance video sent by a user terminal; an optimization module for performing motion optimization processing on the target dance video to obtain an optimized target dance video; and a first sending module for sending the optimized target dance video as a reference video to the user terminal.
[0107] According to one aspect of the embodiment of the present application, the above-mentioned interactive device for vehicle charging also includes: a setting module, which is used to use the optimized target dance video as a preset reference video, and the preset reference video is used as the target dance video for other terminals other than the user terminal; a generation module, which is used to generate an additional billing strategy for vehicle charging based on the interactive video if the other terminals other than the user terminal return an interactive video based on the preset reference video.
[0108] According to one aspect of an embodiment of the present application, the above-mentioned interactive device under vehicle charging also includes: an acquisition module, used to obtain content parameters corresponding to the interactive video, the content parameters including dancing movements and video duration; a weighting module, used to perform weighted calculation on the dancing movements and video duration according to preset weights to obtain a content evaluation value.
[0109] According to one aspect of an embodiment of the present application, the above-mentioned interactive device for vehicle charging also includes: a first calculation module, used to calculate the action similarity between the dance movements in the reference video and the dance movements in the interactive video; a pricing module, used to generate a pricing strategy for vehicle charging based on the action similarity and the content evaluation value.
[0110] It should be noted that the interactive device for vehicle charging provided in the above embodiment and the interactive method for vehicle charging provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In practical applications, the interactive device for vehicle charging provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0111] An embodiment of the present application also provides an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the interactive method under vehicle charging provided in the above-mentioned embodiments.
[0112] Fig.11 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0113] like Fig.11As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 to the random access memory (RAM) 1103, such as executing the method described in the above embodiment. In the RAM 1103, various programs and data required for system operation are also stored. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through the bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.
[0114] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0115] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.
[0116] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0117] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0118] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0119] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the interactive method under vehicle charging as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0120] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the interactive method under vehicle charging provided in each of the above embodiments.
[0121] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. An interactive method for vehicle charging, characterized in that: include: receiving an interaction request, and determining a target interaction solution based on the interaction request; Analyze the target dance video in the target interaction scheme, and dynamically identify the target dance video to obtain corresponding dance decomposition movements and music; Generate a reference video based on the dance decomposition movements and the music and send it to the user end, and receive an interactive video returned by the user end based on the reference video; The similarity between the reference video and the interactive video is calculated, and a pricing strategy for the vehicle charging is generated based on the similarity.
2. The method according to claim 1, characterized in that The calculating the similarity between the reference video and the interactive video includes: Extracting a human motion signal from the interactive video, wherein the human motion signal includes human torso data; If the human body motion signal is characterized as a valid human body motion signal based on the human body trunk data, the similarity between the human body signal corresponding to the reference video and the valid human body motion signal is calculated.
3. The method according to claim 2, characterized in that The calculating the similarity between the human body signal corresponding to the reference video and the effective human body motion signal includes: Extracting the motion signal corresponding to the key torso in the effective human body signal; Calculating the matching rate between the motion signal corresponding to the key torso and the corresponding standard motion signal in the reference video; The similarity between the human body signal corresponding to the reference video and the effective human body motion signal is calculated based on the matching rate.
4. The method according to claim 1, characterized in that The method further comprises: Receiving a target dance video sent by the user terminal; Performing motion optimization processing on the target dance video to obtain an optimized target dance video; The optimized target dance video is sent to the user terminal as a reference video.
5. The method according to claim 4, characterized in that The method further comprises: The optimized target dance video is used as a preset reference video, and the preset reference video is used as a target dance video for other terminals except the user terminal; If the terminals other than the user terminal return an interactive video based on the preset reference video, an additional charging strategy for the vehicle charging is generated based on the interactive video.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining content parameters corresponding to the interactive video, wherein the content parameters include dancing movements and video duration; The dancing movements and the video duration are weighted according to preset weights to obtain a content evaluation value.
7. The method according to claim 6, characterized in that The method further comprises: Calculating the movement similarity between the dance movement in the reference video and the dance movement in the interactive video; A pricing strategy for the vehicle charging is generated based on the action similarity and the content evaluation value.
8. An interactive device for vehicle charging, characterized in that: The device comprises: A determination module, configured to receive an interaction request and determine a target interaction solution based on the interaction request; A parsing module, used to parse out a target dance video in the target interaction scheme, and dynamically identify the target dance video to obtain corresponding dance decomposition movements and music; A sending module, used for generating a reference video based on the dance decomposition movements and the music and sending it to a user terminal, and receiving an interactive video returned by the user terminal based on the reference video; A calculation module is used to calculate the similarity between the reference video and the interactive video, and generate a pricing strategy for the vehicle charging based on the similarity.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the interactive method for vehicle charging as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the interactive method for vehicle charging according to any one of claims 1 to 7.
