Target comparison method, device, storage medium and electronic device
By receiving touch development display signals and action vectors, the synchronization or merge display of vehicle models is achieved, which solves the problem of interface switching in vehicle comparison and improves the comparison efficiency and convenience.
Patent Information
- Application Number
- CN202010059939.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-19
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-11-12
AI Technical Summary
During vehicle comparison, users cannot compare multiple candidate vehicles in all aspects at the same time, resulting in repeated switching interfaces wasting resources and time. The existing technology cannot achieve synchronization or merged display, which limits the convenience of users.
By receiving the touch development display signal, the vehicle model is synchronized or displayed separately in the first mode, and the vehicle model is merged and displayed in the second mode, and different display modes are realized using action vectors and sub-mode conversion switches, saving resources and time.
It avoids users' repeated switching interfaces, saves server resources and user comparison time, and improves the convenience and intuitiveness of vehicle comparison.
Smart Images

Figure CN111815387B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of comparison technology, and in particular to a target comparison method, device, storage medium and electronic device. Background Art
[0002] As the performance of products becomes higher and higher, and there are more and more of them, users need to carefully compare similar products when renting or purchasing some products. For example, users will compare multiple vehicles before renting or purchasing a vehicle.
[0003] Usually, before renting or buying a vehicle, users will select several different candidate vehicles based on their own needs, preferences, cost-effectiveness, etc.; then, they will compare the candidate vehicles one by one to select the most suitable target vehicle for rent or purchase. Specifically, the comparison is performed in the following two ways: in the first comparison method, the user uses augmented reality (AR) technology to view each candidate vehicle one by one and compare them based on the information seen; in the second comparison method, the two candidate vehicles that the user needs to compare are displayed at the same time, and they are moved accordingly based on the user's dragging.
[0004] However, in the process of comparing using the first comparison method, the user cannot remember all the information of the candidate vehicles viewed. Therefore, it is necessary to repeatedly switch the candidate vehicle currently being viewed, which seriously wastes server resources. In the process of comparing using the second comparison method, only two candidate vehicles from the current perspective can be displayed, and a comprehensive comparison cannot be completed. Summary of the invention
[0005] In view of this, the purpose of the embodiments of the present disclosure is to provide a target comparison method, device, storage medium and electronic device, which can avoid the user from repeatedly switching display interfaces, not only saving server resources but also saving the user's comparison time; and, it can also display the first model and the second model in different modes, making it more convenient for the user to compare the first target and the second target.
[0006] In a first aspect, an embodiment of the present disclosure provides a target comparison method, which includes:
[0007] Obtain a first model of the first object and a second model of the second object;
[0008] A trigger display signal is received, and the first model and the second model are displayed in a first mode or a second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface; and in the second mode, the first model and the second model are displayed together in the interface.
[0009] In a possible implementation, in the first mode, the first model and the second model are displayed synchronously or separately in the interface, including: displaying a first feature of the first model and a second feature of the second model.
[0010] In a possible implementation, in the first mode, synchronously displaying or separately displaying the first model and the second model in the interface includes:
[0011] determining a first motion vector of the first model and a second motion vector of the second model;
[0012] Based on the trigger display signal, determine whether to display the first model and the second model in the first sub-mode or the second sub-mode;
[0013] In the case of the first sub-mode, the first model and the second model are synchronously displayed based on the first motion vector;
[0014] In case of the second sub-mode, the first model and the second model are displayed based on the first motion vector and the second motion vector, respectively.
[0015] In a possible implementation, the determining, based on the trigger display signal, whether to display the first model and the second model in the first sub-mode or the second sub-mode includes:
[0016] Set the sub-mode conversion switch;
[0017] Based on the trigger display signal, determining the state of the sub-mode conversion switch;
[0018] When the state of the sub-mode conversion switch is on, the first sub-mode is displayed;
[0019] When the state of the sub-mode conversion switch is off, the second sub-mode is displayed.
[0020] In a possible implementation, it further includes:
[0021] When presented by the second sub-mode, setting target vector values for the first motion vector and the second motion vector;
[0022] Based on the target vector value, the first model and the second model are transformed to a posture corresponding to the target vector value;
[0023] The state of the sub-mode conversion switch is set to on, and the first model and the second model are synchronously displayed through the first sub-mode.
[0024] In a possible implementation, in the second mode, displaying the first model and the second model together in the interface includes:
[0025] creating a third model based on the first model and the second model;
[0026] The third model is displayed based on a third motion vector.
[0027] In a second aspect, the present disclosure also provides a target comparison device, which includes:
[0028] An acquisition module, used for acquiring a first model of a first target and a second model of a second target;
[0029] A display module is used to receive a trigger display signal, and display the first model and the second model in a first mode or a second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface; in the second mode, the first model and the second model are displayed together in the interface.
[0030] In a possible implementation, when the display module displays the first model and the second model synchronously or separately in the interface in the first mode, the display module includes: displaying a first feature of the first model and a second feature of the second model.
[0031] In a possible implementation, the display module includes:
[0032] a determining unit, configured to determine a first motion vector of the first model and a second motion vector of the second model;
[0033] a determination unit, configured to determine, based on the trigger display signal, whether to display the first model and the second model in the first sub-mode or the second sub-mode;
[0034] A first display unit, configured to synchronously display the first model and the second model based on the first motion vector in a first sub-mode;
[0035] The second display unit is used to display the first model and the second model based on the first motion vector and the second motion vector respectively in a second sub-mode.
[0036] In a possible implementation, the display module further includes a conversion unit; the conversion unit includes:
[0037] A first setting subunit, used for setting a sub-mode conversion switch;
[0038] a judging subunit, configured to judge the state of the sub-mode conversion switch based on the trigger display signal;
[0039] A first display sub-unit, used for displaying in a first sub-mode when the state of the sub-mode conversion switch is on;
[0040] The second display subunit is used for displaying through the second sub-mode when the state of the sub-mode conversion switch is off.
[0041] In a possible implementation manner, the conversion unit further includes:
[0042] a second setting subunit, configured to set target vector values for the first motion vector and the second motion vector when displayed by the second submode;
[0043] a conversion setting subunit, configured to convert the first model and the second model to a posture corresponding to the target vector value based on the target vector value;
[0044] The third display subunit is used to set the state of the sub-mode conversion switch to on, and synchronously display the first model and the second model through the first sub-mode.
[0045] In a possible implementation, the display module further includes a third display unit, which is used to:
[0046] creating a third model based on the first model and the second model;
[0047] The third model is displayed based on a third motion vector.
[0048] In a third aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the target comparison method as described above are executed.
[0049] In a fourth aspect, an embodiment of the present disclosure further provides an electronic device, which includes: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the target comparison method as described are performed.
[0050] In an embodiment of the present disclosure, after receiving a trigger display signal, the pre-acquired first model and the second model are displayed based on the trigger display signal, including in a first mode, synchronously displaying the first model and the second model or displaying the first model and the second model separately in the interface; in a second mode, merging and displaying the first model and the second model in the interface. This comparison method can avoid the user from repeatedly switching the display interface, which not only saves hardware resources but also saves the user's comparison time; and, by displaying the first model and the second model in different modes, it is more convenient and intuitive for the user to compare the first target and the second target.
[0051] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0053] Figure 1 A flow chart of a target comparison method provided by an embodiment of the present disclosure is shown;
[0054] Figure 2 A flowchart of a method for synchronously displaying or separately displaying a first model and a second model in an interface in a first mode in a target comparison method provided by an embodiment of the present disclosure is shown;
[0055] Figure 3 A flow chart showing a method for comparing a target provided by an embodiment of the present disclosure, for determining whether to display a first model and a second model in a first sub-mode or a second sub-mode based on a trigger display signal;
[0056] Figure 4 A flow chart showing switching from the second sub-mode to the first sub-mode in a target comparison method provided by an embodiment of the present disclosure is shown;
[0057] Figure 5 A flow chart of combining and displaying a first model and a second model in an interface in a target comparison method provided by an embodiment of the present disclosure is shown;
[0058] Figure 6 A schematic diagram of the structure of a target comparison device provided by an embodiment of the present disclosure is shown;
[0059] Figure 7A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0061] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0062] In order to keep the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed descriptions of well-known functions and well-known components.
[0063] In response to the problems existing in the prior art, the embodiments of the present disclosure provide a target comparison method, device, electronic device and storage medium, which can avoid users from repeatedly switching display interfaces during the comparison of target objects such as vehicles, thereby saving not only server resources but also users' comparison time; and, by displaying the first model and the second model in different modes, it is more convenient for users to compare the first target and the second target.
[0064] The first aspect of the present disclosure provides a target comparison method for comparing and displaying a first target and a second target. Of course, it can also be used for comparing and displaying any two targets among multiple targets. There is no limitation on the type or structure of the target. Figure 1 As shown, it is a flowchart of the comparison method when the server or processor is used as the execution subject in the embodiment of the present disclosure, and the specific steps are as follows:
[0065] S101, obtaining a first model of a first target and a second model of a second target.
[0066] In a specific implementation, characteristic data of each target is collected in advance, including characteristic data such as the size, shape, color, and performance of the target. The characteristic data of each target can be collected by an electronic device, or can be collected manually by a collector, or can be directly obtained from the manufacturer of each target. Since manual collection inevitably has errors, in comparison, all characteristic data of the target obtained by electronic means or obtained from the manufacturer of each target is more accurate.
[0067] Based on the first target and the second target determined by the user, the feature data of the first target and the feature data of the second target are obtained, the first model of the first target is constructed using the feature data of the first target, and the second model of the second target is constructed using the target number of the second target. Among them, the construction of the first model and the second model may include the following two methods. The first method is to use 4D movie (CINEMA 4D, C4D) technology to model the feature data of the first target and the feature data of the second target respectively, and then use three.js to render the constructed models respectively to obtain the first model and the second model; the second method is to use the panoramic plug-in (photo-sphere-viewer) to perform three-dimensional modeling respectively based on the feature data of the first target and the feature data of the second target to obtain the first model and the second model. Considering that the cost and construction time required by C4D technology are both high, it is preferred to use the second method to construct the first model and the second model to achieve the purpose of quickly responding to user needs.
[0068] S102, receiving a trigger display signal, and displaying the first model and the second model in a first mode or a second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface; and in the second mode, the first model and the second model are displayed together in the interface.
[0069] In a specific implementation, the user can perform specific operations on the mobile terminal to generate a trigger display signal; the user can click a corresponding virtual button on the touch screen of the mobile terminal to perform a specific operation, or press a physical button set on the mobile terminal to perform a specific operation, or perform a specific gesture in the corresponding collection area of the mobile terminal, etc.
[0070] After receiving the trigger display signal, the first model and the second model are displayed in the first mode or the second mode based on the trigger display signal. In the first mode, the first model and the second model can be displayed synchronously, or separately; in the second mode, the first model and the second model are combined and displayed.
[0071] Further, in the first mode, the first model and the second model are displayed synchronously or separately in the interface, including: displaying the first feature of the first model and the second feature of the second model. Here, the first feature of the first model may include the entirety of the first model and any part of the first model; similarly, the second feature of the second model may include the entirety of the second model and any part of the second model. Taking the vehicle as an example, the first feature of the first model may be the appearance of the first vehicle, or the interior of the first vehicle, such as the front seats, rear seats, trunk, etc. It is worth noting that when displaying the first feature of the first model and the second feature of the second model separately, the first feature and the second feature may be the same or different. For example, the appearance of the second vehicle may be displayed when the appearance of the first vehicle is displayed; and the interior of the second vehicle may be displayed when the appearance of the first vehicle is displayed.
[0072] Specifically, Figure 2 The method of synchronously displaying or separately displaying the first model and the second model in the interface in the first mode is shown in the figure, wherein the specific steps are as follows:
[0073] S201, determining a first motion vector of a first model and a second motion vector of a second model.
[0074] In a specific implementation, the first motion vector and the second motion vector are determined by the user. For example, when displaying on the screen of the mobile terminal, the user can perform corresponding operations on the mobile terminal to change the current display interface. Specifically, the user can click a virtual button on the touch screen or perform a drag operation on the touch screen, etc. When the user clicks a virtual button on the touch screen or performs a drag operation on the touch screen, a touch point will be generated on the touch screen. If one finger presses the touch screen, one touch point will be generated. If two fingers press the touch screen, two touch points will be generated. The mobile terminal will monitor the state of each touch point in real time. The state of each touch point represents the touch operation performed by the user on the touch terminal.
[0075] A first action vector for the first model and a second action vector for the second model are generated based on the state of each touch point. The first action vector and the second action vector include magnification and the size of magnification, reduction and the size of reduction, rotation and the angle of rotation, translation and the distance of translation, etc. For example, if the server obtains that there are two touch points corresponding to the current touch operation, and the moving track is in the opposite direction, then the action vector corresponding to the first touch operation is determined to be magnification, and the size of magnification is calculated.
[0076] When using AR technology to display the first model and the second model, the mobile terminal can use a camera device to capture specific actions made by the user in the corresponding capture area, and generate a first action vector for the first model and a second action vector for the second model based on the captured specific actions.
[0077] S202: Based on the trigger display signal, determine whether to display the first model and the second model in the first sub-mode or the second sub-mode.
[0078] In a specific implementation, the trigger display signal includes a display mode determined by a user, and based on the trigger display signal, it is determined whether to display the first model and the second model through the first sub-mode or through the second sub-mode.
[0079] Specifically, refer to Figure 3 The method shown in the figure determines whether to display the first model and the second model in the first sub-mode or the second sub-mode based on the trigger display signal, wherein the specific steps are as follows:
[0080] S301, setting a sub-mode conversion switch.
[0081] In a specific implementation, the first sub-mode and the second sub-mode can be converted to each other, that is, the first sub-mode can be converted to the second sub-mode, or the second sub-mode can be converted to the first sub-mode. Here, a sub-mode conversion switch is pre-set, and the sub-mode conversion switch can be a physical button on the electronic device, a virtual button on the screen, or a set conversion action vector.
[0082] Taking the conversion action vector as an example, the user performs a touch operation corresponding to the conversion action vector on the touch screen, or performs a specific action corresponding to the conversion action vector in the acquisition area corresponding to the mobile terminal, thereby generating a conversion action vector. When a conversion action vector is received, the current sub-mode is converted once, that is, the sub-mode conversion switch is triggered once. Among them, considering that a certain error is inevitable when the user performs a touch operation or a specific action, an allowable error range can be set. When the error range is not exceeded, the sub-mode conversion switch is determined to be triggered. Of course, it is also possible to set the first sub-mode to correspond to the first conversion action vector, and the second sub-mode to correspond to the second conversion action vector.
[0083] S302: Determine the state of the sub-mode conversion switch based on the trigger display signal.
[0084] In a specific implementation, after receiving the trigger display signal, the current state of the sub-mode conversion switch is determined based on the user's operation on the sub-mode conversion switch. For example, if it is determined that the user clicks the virtual button corresponding to the first sub-mode, the state of the sub-mode rotary switch is determined to be the state corresponding to the first sub-mode; if it is determined that the user clicks the virtual button corresponding to the second sub-mode, the state of the sub-mode rotary switch is determined to be the state corresponding to the second sub-mode.
[0085] Similarly, methods for determining the states of other forms of sub-mode conversion switches are similar to the above methods and will not be elaborated on in detail.
[0086] S303: When the state of the sub-mode conversion switch is on, the first sub-mode is displayed.
[0087] When it is determined that the state of the sub-mode conversion switch is on, the first model and the second model are displayed through the first sub-mode.
[0088] The first sub-mode is preset to correspond to the on state of the sub-mode conversion switch, and the second sub-mode is preset to correspond to the off state of the sub-mode conversion switch. However, the second sub-mode may be preset to correspond to the on state of the sub-mode conversion switch, and the first sub-mode may be preset to correspond to the off state of the sub-mode conversion switch, and the present disclosure is not limited thereto.
[0089] S304: When the state of the sub-mode conversion switch is off, the second sub-mode is displayed.
[0090] When it is determined that the state of the sub-mode conversion switch is off, the first model and the second model are displayed through the second sub-mode.
[0091] S203 , in the first sub-mode, synchronously display the first model and the second model based on the first motion vector.
[0092] Here, the first sub-mode is to display the first model and the second model synchronously, that is, the display angle, posture, etc. are the same. In the specific display, in the same display screen, the first model is in the first display area, and the second model is in the second display area, and at the same time, a first action vector determined by the touch screen or acquisition area corresponding to the first display area is set to control the display of the first model; a second action vector determined by the touch screen or acquisition area corresponding to the second display area is set to control the display of the second model. Among them, the first display area and the second display area do not overlap, and both belong to the display screen.
[0093] In the case of the first sub-mode, the first model and the second model can be displayed synchronously based on the first motion vector, or can be displayed synchronously based on the second motion vector. In the embodiments of the present disclosure, only the example of synchronously displaying the first model and the second model based on the first motion vector is used for detailed explanation.
[0094] Specifically, after determining the first motion vector determined by the touch screen or acquisition area corresponding to the first display area, synchronously displaying the first model and the second model based on the first motion vector may include the following two synchronization methods: the first synchronization method, based on the first motion vector, simultaneously controlling the first model and the second model for corresponding display; the second synchronization method, based on the first motion vector, controlling the first model for corresponding display, after the first model completes the transformation corresponding to the first motion vector, generating an intermediate motion vector based on the transformation of the first model (that is, the motion vector corresponding to the transformation of the first model), and controlling the second model for display based on the intermediate motion vector. In the above-mentioned second synchronization method, in the process of generating the intermediate motion vector based on the transformation of the first model, a certain error may be generated, that is, the first motion vector is different from the intermediate motion vector, resulting in the posture and angle of the second model being different from the posture and angle of the first model. Therefore, when synchronously displaying the first model and the second model based on the first motion vector, the first synchronization method is preferred.
[0095] S204 , in the case of the second sub-mode, displaying the first model and the second model based on the first motion vector and the second motion vector respectively.
[0096] Here, the second sub-mode is to display the first model and the second model respectively. Specifically, the first action vector determined by the touch screen or the acquisition area corresponding to the first display area is determined, and the first model is controlled to be displayed accordingly based on the first action vector; the second action vector determined by the touch screen or the acquisition area corresponding to the second display area is determined, and the second model is controlled to be displayed accordingly based on the second action vector.
[0097] For example, the first action vector determined by the touch screen or acquisition area corresponding to the first display area indicates that the first model rotates 90° counterclockwise, and the second action vector determined by the touch screen or acquisition area corresponding to the second display area indicates that the second model rotates 30° clockwise. At this time, the first model is displayed based on the first action vector, and the second model is displayed based on the second action vector.
[0098] Here, when the first model and the second model are displayed through the second sub-mode, reference can also be made to Figure 4 The method shown in the figure directly switches the second sub-mode to the first sub-mode, wherein the specific steps are as follows:
[0099] S401, when presented through the second sub-mode, setting target vector values for the first motion vector and the second motion vector.
[0100] In a specific implementation, when the first model and the second model are displayed through the second sub-mode, the first vector difference formed between the current display posture and the initial display posture of the first model and the second vector difference formed between the current display posture and the initial display posture of the second model may be the same or different. When the first vector difference and the second vector difference are the same, the second sub-mode can be directly switched to the first sub-mode; when the first vector difference and the second vector difference are different, a target vector value is set for the first action vector and the second action vector, and the second sub-mode is switched to the first sub-mode through the target vector value.
[0101] Specifically, the average vector difference of the first vector difference and the second vector difference is calculated, and the average vector difference is used as the target vector value. Alternatively, a separate target vector value may be set.
[0102] S402: Based on the target vector value, the first model and the second model are transformed to postures corresponding to the target vector value.
[0103] After determining the target vector value, the first vector difference and the target vector value are subtracted to obtain a third vector difference, and the current display posture of the first model is converted based on the third vector difference, that is, the first model is converted to the posture corresponding to the target vector value. Similarly, the fourth vector difference is calculated from the second vector difference and the average vector difference, and the current display posture of the second model is converted based on the fourth vector difference, that is, the second model is converted to the posture corresponding to the target vector value.
[0104] That is, based on the target vector value, the current display postures of the first model and the second model are unified.
[0105] S403, setting the state of the sub-mode conversion switch to on, and synchronously displaying the first model and the second model through the first sub-mode.
[0106] After the current display postures of the first model and the second model are unified, the state of the sub-mode conversion switch is set to on, that is, the first model and the second model are then synchronously displayed through the first sub-mode, thereby achieving the purpose of directly switching the second sub-mode to the first sub-mode.
[0107] Further, in the second mode, you can refer to Figure 5 The method shown achieves the purpose of combining and displaying the first model and the second model in the interface, wherein the specific steps are as follows:
[0108] S501: Create a third model based on the first model and the second model.
[0109] In a specific implementation, the first sub-mode can display the first target and the second target as a whole, or display parts of the first target and the second target. When displaying the first target and the second target as a whole, considering that when using the first sub-mode to synchronously display the first model and the second model, it is necessary to operate the first model and the second model separately, which is a waste of resources. Therefore, in the second mode, a third model is created based on the first model and the second model, that is, the first model and the second model are combined to obtain the third model.
[0110] In the second mode, the displayed first target and the displayed second target correspond to the same model.
[0111] S502: Display a third model based on the third motion vector.
[0112] In the second mode, a third motion vector is received, and the third model is displayed based on the third motion vector, that is, the current display posture of the third model is converted based on the third motion vector and displayed.
[0113] In an embodiment of the present disclosure, after receiving a trigger display signal, the pre-acquired first model and the second model are displayed based on the trigger display signal, including in a first mode, synchronously displaying the first model and the second model or displaying the first model and the second model separately in the interface; in a second mode, merging and displaying the first model and the second model in the interface. This comparison method can avoid the user from repeatedly switching the display interface, which not only saves server resources but also saves the user's comparison time; and, the first model and the second model can also be displayed in different modes, making it more convenient for the user to compare the first target and the second target.
[0114] Based on the same inventive concept, the present disclosure also provides a target comparison device corresponding to the target comparison method, see Figure 6 As shown, the second aspect of the present disclosure provides a target comparison device, which includes: an acquisition module 10 and a display module 20, and the acquisition module 10 and the display module 20 are coupled to each other, wherein:
[0115] The acquisition module 10 is used to acquire a first model of the first object and a second model of the second object.
[0116] In the specific implementation, the characteristic data of each target is collected in advance, including the size, shape, color, performance and other characteristic data of the target. The characteristic data of each target can be collected by electronic devices, can be collected manually by collectors, or can be obtained directly from the manufacturer of each target. Since manual collection inevitably has errors, all the characteristic data of the target collected electronically or obtained from the manufacturer of each target is more accurate in comparison.
[0117] Based on the first target and the second target determined by the user, the feature data of the first target and the feature data of the second target are obtained, the first model of the first target is constructed using the feature data of the first target, and the second model of the second target is constructed using the target number of the second target. Among them, the construction of the first model and the second model may include the following two methods. The first method is to use 4D movie (CINEMA 4D, C4D) technology to model the feature data of the first target and the feature data of the second target respectively, and then use three.js to render the constructed models respectively to obtain the first model and the second model; the second method is to use the panoramic plug-in (photo-sphere-viewer) to perform three-dimensional modeling respectively based on the feature data of the first target and the feature data of the second target to obtain the first model and the second model. Considering that the cost and construction time required by C4D technology are both high, it is preferred to use the second method to construct the first model and the second model to achieve the purpose of quickly responding to user needs.
[0118] The display module 20 is used to receive a trigger display signal, and display the first model and the second model through the first mode or the second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface; in the second mode, the first model and the second model are displayed together in the interface.
[0119] In a specific implementation, the user can perform specific operations on the mobile terminal to generate a trigger display signal; the user can click a corresponding virtual button on the touch screen of the mobile terminal to perform a specific operation, or press a physical button set on the mobile terminal to perform a specific operation, or perform a specific gesture in the corresponding collection area of the mobile terminal, etc.
[0120] After receiving the trigger display signal, the first model and the second model are displayed in the first mode or the second mode based on the trigger display signal. In the first mode, the first model and the second model can be displayed synchronously, or separately; in the second mode, the first model and the second model are combined and displayed.
[0121] Further, in the first mode, the first model and the second model are displayed synchronously or separately in the interface, including: displaying the first feature of the first model and the second feature of the second model. Here, the first feature of the first model may include the entirety of the first model and any part of the first model; similarly, the second feature of the second model may include the entirety of the second model and any part of the second model. Taking the vehicle as an example, the first feature of the first model may be the appearance of the first vehicle, or the interior of the first vehicle, such as the front seats, rear seats, trunk, etc. It is worth noting that when displaying the first feature of the first model and the second feature of the second model separately, the first feature and the second feature may be the same or different. For example, the appearance of the second vehicle may be displayed when the appearance of the first vehicle is displayed; and the interior of the second vehicle may be displayed when the appearance of the first vehicle is displayed.
[0122] The display module 20 in the present disclosure includes a determination unit, a judgment unit, a first display unit and a second display unit, wherein the determination unit is coupled with the judgment unit, and the judgment unit is coupled with both the first display unit and the second display unit.
[0123] The determining unit is used to determine a first motion vector of the first model and a second motion vector of the second model.
[0124] In a specific implementation, the first motion vector and the second motion vector are determined by the user. For example, when displaying on the screen of the mobile terminal, the user can perform corresponding operations on the mobile terminal to change the current display interface. Specifically, the user can click a virtual button on the touch screen or perform a drag operation on the touch screen, etc. When the user clicks a virtual button on the touch screen or performs a drag operation on the touch screen, a touch point will be generated on the touch screen. If one finger presses the touch screen, one touch point will be generated. If two fingers press the touch screen, two touch points will be generated. The mobile terminal will monitor the state of each touch point in real time. The state of each touch point represents the touch operation performed by the user on the touch terminal.
[0125] A first action vector for the first model and a second action vector for the second model are generated based on the state of each touch point. The first action vector and the second action vector include magnification and the size of magnification, reduction and the size of reduction, rotation and the angle of rotation, translation and the distance of translation, etc. For example, if the server obtains that there are two touch points corresponding to the current touch operation, and the moving track is in the opposite direction, then the action vector corresponding to the first touch operation is determined to be magnification, and the size of magnification is calculated.
[0126] When using AR technology to display the first model and the second model, the mobile terminal can use a camera device to capture specific actions made by the user in the corresponding capture area, and generate a first action vector for the first model and a second action vector for the second model based on the captured specific actions.
[0127] The judging unit is used to judge whether to display the first model and the second model in the first sub-mode or the second sub-mode based on the triggering display signal.
[0128] In a specific implementation, the trigger display signal includes a display mode determined by a user, and based on the trigger display signal, it is determined whether to display the first model and the second model through the first sub-mode or through the second sub-mode.
[0129] The first display unit is used to synchronously display the first model and the second model based on the first motion vector in a first sub-mode.
[0130] Here, the first sub-mode is to display the first model and the second model synchronously, that is, the display angle, posture, etc. are the same. In the specific display, in the same display screen, the first model is in the first display area, and the second model is in the second display area, and at the same time, a first action vector determined by the touch screen or acquisition area corresponding to the first display area is set to control the display of the first model; a second action vector determined by the touch screen or acquisition area corresponding to the second display area is set to control the display of the second model. Among them, the first display area and the second display area do not overlap, and both belong to the display screen.
[0131] In the case of the first sub-mode, the first model and the second model can be displayed synchronously based on the first motion vector, or can be displayed synchronously based on the second motion vector. In the embodiments of the present disclosure, only the example of synchronously displaying the first model and the second model based on the first motion vector is used for detailed explanation.
[0132] Specifically, after determining the first motion vector determined by the touch screen or acquisition area corresponding to the first display area, synchronously displaying the first model and the second model based on the first motion vector may include the following two synchronization methods: the first synchronization method, based on the first motion vector, simultaneously controlling the first model and the second model for corresponding display; the second synchronization method, based on the first motion vector, controlling the first model for corresponding display, after the first model completes the transformation corresponding to the first motion vector, generating an intermediate motion vector based on the transformation of the first model, and controlling the second model for display based on the intermediate motion vector. In the above-mentioned second synchronization method, in the process of generating the intermediate motion vector based on the transformation of the first model, a certain error may be generated, that is, the first motion vector is different from the intermediate motion vector, resulting in the posture and angle of the second model being different from the posture and angle of the first model. Therefore, when synchronously displaying the first model and the second model based on the first motion vector, the first synchronization method is preferred.
[0133] The second display unit is used to display the first model and the second model respectively based on the first motion vector and the second motion vector in the second sub-mode.
[0134] Here, the second sub-mode is to display the first model and the second model respectively. Specifically, the first action vector determined by the touch screen or the acquisition area corresponding to the first display area is determined, and the first model is controlled to be displayed accordingly based on the first action vector; the second action vector determined by the touch screen or the acquisition area corresponding to the second display area is determined, and the second model is controlled to be displayed accordingly based on the second action vector.
[0135] For example, the first action vector determined by the touch screen or acquisition area corresponding to the first display area indicates that the first model rotates 90° counterclockwise, and the second action vector determined by the touch screen or acquisition area corresponding to the second display area indicates that the second model rotates 30° clockwise. At this time, the first model is displayed based on the first action vector, and the second model is displayed based on the second action vector.
[0136] The display module 20 of the present disclosure further includes a conversion unit; specifically, the conversion unit includes a first setting subunit, a judgment subunit, a first display subunit and a second display subunit.
[0137] The first setting sub-unit is used to set a sub-mode conversion switch. In a specific implementation, the first sub-mode and the second sub-mode can be converted to each other, that is, the first sub-mode can be converted to the second sub-mode, or the second sub-mode can be converted to the first sub-mode. Here, the sub-mode conversion switch is pre-set, and the sub-mode conversion switch can be a physical button on the electronic device, a virtual button on the screen, or a set conversion action vector, etc.
[0138] Taking the conversion action vector as an example, the user performs a touch operation corresponding to the conversion action vector on the touch screen, or performs a specific action corresponding to the conversion action vector in the acquisition area corresponding to the mobile terminal, thereby generating a conversion action vector. When a conversion action vector is received, the current sub-mode is converted once, that is, the sub-mode conversion switch is triggered once. Among them, considering that a certain error is inevitable when the user performs a touch operation or a specific action, an allowable error range can be set. When the error range is not exceeded, the sub-mode conversion switch is determined to be triggered. Of course, it is also possible to set the first sub-mode to correspond to the first conversion action vector, and the second sub-mode to correspond to the second conversion action vector.
[0139] The judgment subunit is used to judge the state of the sub-mode conversion switch based on the trigger display signal. In a specific implementation, after receiving the trigger display signal, the current state of the sub-mode conversion switch is judged based on the user's operation on the sub-mode conversion switch. For example, if it is determined that the user clicks the virtual button corresponding to the first sub-mode, the state of the sub-mode rotary switch is determined to be the state corresponding to the first sub-mode; if it is determined that the user clicks the virtual button corresponding to the second sub-mode, the state of the sub-mode rotary switch is determined to be the state corresponding to the second sub-mode.
[0140] Similarly, methods for determining the states of other forms of sub-mode conversion switches are similar to the above methods and will not be elaborated on in detail.
[0141] The first display subunit is used to display the first model and the second model through the first submode when the state of the submode conversion switch is on.
[0142] The first sub-mode is preset to correspond to the on state of the sub-mode conversion switch, and the second sub-mode is preset to correspond to the off state of the sub-mode conversion switch. However, the second sub-mode may be preset to correspond to the on state of the sub-mode conversion switch, and the first sub-mode may be preset to correspond to the off state of the sub-mode conversion switch, and the present disclosure is not limited thereto.
[0143] The second display subunit is used to display the first model and the second model through the second submode when the state of the submode conversion switch is off.
[0144] The conversion unit disclosed in the present invention also includes a second setting subunit, a conversion setting subunit and a third display subunit. Specifically, the second setting subunit is used to set target vector values for the first action vector and the second action vector when displayed through the second sub-mode. In a specific implementation, when the first model and the second model are displayed through the second sub-mode, the first vector difference formed between the current display posture and the initial display posture of the first model may be the same as or different from the second vector difference formed between the current display posture and the initial display posture of the second model. When the first vector difference and the second vector difference are the same, the second sub-mode can be directly switched to the first sub-mode; when the first vector difference and the second vector difference are different, the target vector value is set for the first action vector and the second action vector, and the second sub-mode is switched to the first sub-mode through the target vector value.
[0145] Specifically, the average vector difference of the first vector difference and the second vector difference is calculated, and the average vector difference is used as the target vector value. The target vector value may also be set separately.
[0146] The conversion setting subunit is used to convert the first model and the second model to the posture corresponding to the target vector value based on the target vector value. After determining the target vector value, the first vector difference and the target vector value are subtracted to obtain a third vector difference, and the current display posture of the first model is converted based on the third vector difference, that is, the first model is converted to the posture corresponding to the target vector value. Similarly, the fourth vector difference is calculated for the second vector difference and the average vector difference, and the current display posture of the second model is converted based on the fourth vector difference, that is, the second model is converted to the posture corresponding to the target vector value.
[0147] That is, based on the target vector value, the current display postures of the first model and the second model are unified.
[0148] The third display sub-unit is used to set the state of the sub-mode conversion switch to on, and synchronously display the first model and the second model through the first sub-mode. After the current display postures of the first model and the second model are unified, the state of the sub-mode conversion switch is set to on, that is, the first model and the second model are synchronously displayed through the first sub-mode next. Thereby, the purpose of directly switching the second sub-mode to the first sub-mode is achieved.
[0149] The present disclosure also includes that the display module 20 also includes a third display unit, which is used to create a third model based on the first model and the second model. In a specific implementation, the first sub-mode can display the first target and the second target as a whole, or can display the first target and the second target in part. When displaying the first target and the second target as a whole, considering that when using the first sub-mode to synchronously display the first model and the second model, it is necessary to operate the first model and the second model separately, which is a waste of resources. Therefore, in the second mode, the third model is created based on the first model and the second model, that is, the first model and the second model are combined to obtain the third model.
[0150] In the second mode, the displayed first target and the displayed second target correspond to the same model.
[0151] Then, the third model is displayed based on the third motion vector. In the second mode, the third motion vector is received, and the third model is displayed based on the third motion vector, that is, the current display posture of the third model is converted based on the third motion vector and displayed.
[0152] In an embodiment of the present disclosure, after receiving a trigger display signal, the pre-acquired first model and the second model are displayed based on the trigger display signal, including in a first mode, synchronously displaying the first model and the second model or displaying the first model and the second model separately in the interface; in a second mode, merging and displaying the first model and the second model in the interface. This comparison method can avoid the user from repeatedly switching the display interface, which not only saves hardware resources but also saves the user's comparison time; and, by displaying the first model and the second model in different modes, it is more convenient and intuitive for the user to compare the first target and the second target.
[0153] The third aspect of the present disclosure further provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided by any embodiment of the present disclosure is implemented, including the following steps:
[0154] S11, obtaining a first model of a first target and a second model of a second target;
[0155] S12, receiving a trigger display signal, and displaying the first model and the second model in a first mode or a second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface; and in the second mode, the first model and the second model are displayed together in the interface.
[0156] When the computer program is executed by the processor in the first mode and the first model and the second model are displayed synchronously or separately in the interface, the processor specifically executes the following steps: displaying the first feature of the first model and the second feature of the second model.
[0157] When the computer program is executed by the processor in the first mode and the first model and the second model are displayed synchronously or separately in the interface, the processor specifically executes the following steps: determining the first action vector of the first model and the second action vector of the second model; based on the trigger display signal, determining whether to display the first model and the second model in the first sub-mode or the second sub-mode; in the case of the first sub-mode, synchronously displaying the first model and the second model based on the first action vector; in the case of the second sub-mode, separately displaying the first model and the second model based on the first action vector and the second action vector.
[0158] When the computer program is executed by the processor to determine whether to display the first model and the second model through the first sub-mode or the second sub-mode based on the trigger display signal, the processor specifically executes the following steps: setting the sub-mode conversion switch; judging the state of the sub-mode conversion switch based on the trigger display signal; when the state of the sub-mode conversion switch is on, displaying through the first sub-mode; when the state of the sub-mode conversion switch is off, displaying through the second sub-mode.
[0159] When the computer program is executed by the processor to perform the comparison method of the present disclosure, the processor also executes the following steps: when displayed through the second sub-mode, setting a target vector value for the first action vector and the second action vector; based on the target vector value, converting the first model and the second model to the posture corresponding to the target vector value; setting the state of the sub-mode conversion switch to on, and synchronously displaying the first model and the second model through the first sub-mode.
[0160] The computer program is executed by the processor in the second mode. When the first model and the second model are displayed together in the interface, the processor specifically performs the following steps: creating a third model based on the first model and the second model; and displaying the third model based on a third motion vector.
[0161] In an embodiment of the present disclosure, after receiving a trigger display signal, the pre-acquired first model and the second model are displayed based on the trigger display signal, including in a first mode, synchronously displaying the first model and the second model or displaying the first model and the second model separately in the interface; in a second mode, merging and displaying the first model and the second model in the interface. This comparison method can avoid the user from repeatedly switching the display interface, which not only saves server resources but also saves the user's comparison time; and, the first model and the second model can also be displayed in different modes, making it more convenient for the user to compare the first target and the second target.
[0162] A fourth aspect of the present disclosure further provides an electronic device, the structural diagram of the electronic device can be as follows Figure 7 As shown, at least a memory 701 and a processor 702 are included. The memory 701 stores a computer program. The processor 702 implements the method provided by any embodiment of the present disclosure when executing the computer program on the memory 701. Exemplarily, the steps of the electronic device computer program are as follows:
[0163] S21, obtaining a first model of a first target and a second model of a second target;
[0164] S22, receiving a trigger display signal, and displaying the first model and the second model in a first mode or a second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface; and in the second mode, the first model and the second model are displayed together in the interface.
[0165] When the processor executes the computer program stored in the memory in the first mode, synchronously displaying the first model and the second model in the interface or displaying the first model and the second model separately, the processor also executes the following computer program: displaying the first feature of the first model and the second feature of the second model.
[0166] When the processor displays the first model and the second model synchronously or separately in the interface in the first mode stored in the execution memory, it also executes the following computer program: determining the first action vector of the first model and the second action vector of the second model; based on the trigger display signal, determining whether to display the first model and the second model through the first sub-mode or the second sub-mode; in the case of the first sub-mode, synchronously displaying the first model and the second model based on the first action vector; in the case of the second sub-mode, displaying the first model and the second model separately based on the first action vector and the second action vector.
[0167] When the processor determines whether to display the first model and the second model through the first sub-mode or the second sub-mode based on the trigger display signal stored in the execution memory, it also executes the following computer program: setting the sub-mode conversion switch; judging the state of the sub-mode conversion switch based on the trigger display signal; when the state of the sub-mode conversion switch is on, displaying through the first sub-mode; when the state of the sub-mode conversion switch is off, displaying through the second sub-mode.
[0168] When executing the comparison method of the present disclosure stored in the memory, the processor also executes the following computer program: when displayed through the second sub-mode, setting a target vector value for the first action vector and the second action vector; based on the target vector value, converting the first model and the second model to the posture corresponding to the target vector value; setting the state of the sub-mode conversion switch to on, and synchronously displaying the first model and the second model through the first sub-mode.
[0169] When the processor executes the computer program stored in the memory in the second mode and displays the first model and the second model together in the interface, it also executes the following: creating a third model based on the first model and the second model; and displaying the third model based on a third motion vector.
[0170] In the embodiment of the present disclosure, after receiving a trigger display signal, the pre-acquired first model and the second model are displayed based on the trigger display signal, including in a first mode, synchronously displaying the first model and the second model or displaying the first model and the second model separately in the interface; in a second mode, merging and displaying the first model and the second model in the interface. This comparison method can avoid the user from repeatedly switching the display interface, which not only saves server resources but also saves the user's comparison time; and, by displaying the first model and the second model in different modes, it is more convenient and intuitive for the user to compare the first target and the second target.
[0171] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0172] The storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0173] The storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains at least two Internet Protocol addresses; sends a node evaluation request including at least two Internet Protocol addresses to a node evaluation device, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained Internet Protocol address indicates an edge node in a content distribution network.
[0174] Alternatively, the storage medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; selects an Internet Protocol address from the at least two Internet Protocol addresses; and returns the selected Internet Protocol address; wherein the received Internet Protocol address indicates an edge node in a content distribution network.
[0175] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0176] It should be noted that the storage medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, 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 may 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 or 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 disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any storage 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. The program code contained on the storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0177] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the 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 implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart 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.
[0178] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0179] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0180] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or 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 foregoing.
[0181] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0182] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0183] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0184] Multiple embodiments of the present disclosure are described in detail above, but the present disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concepts of the present disclosure, and these variations and modifications should all fall within the scope of protection required by the present disclosure.
Claims
1. A target comparison method, characterized in that: Acquire a first model of a first target and a second model of a second target, wherein the first target and the second target are different vehicles, and the first model and the second model are three-dimensional models; A trigger display signal is received, and the first model and the second model are displayed in a first mode or a second mode based on the trigger display signal, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface, and the synchronous display includes unifying the angle and posture of the display of the first model and the second model; in the second mode, the first model and the second model are displayed in the interface in a combined manner, including: a third model obtained by combining the first model and the second model is displayed in the interface, and the first target and the second target correspond to the same third model.
2. The comparison method according to claim 1, characterized in that: In the first mode, the first model and the second model are displayed synchronously or separately in the interface, including: displaying a first feature of the first model and a second feature of the second model.
3. The comparison method according to claim 1, characterized in that: In the first mode, the first model and the second model are displayed synchronously or separately in the interface, including: determining a first motion vector of the first model and a second motion vector of the second model; Based on the trigger display signal, determine whether to display the first model and the second model in the first sub-mode or the second sub-mode; In the case of the first sub-mode, the first model and the second model are synchronously displayed based on the first motion vector; In case of the second sub-mode, the first model and the second model are displayed based on the first motion vector and the second motion vector, respectively.
4. The comparison method according to claim 3, characterized in that: The determining, based on the trigger display signal, to display the first model and the second model in the first sub-mode or the second sub-mode includes: Set the sub-mode conversion switch; Based on the trigger display signal, determining the state of the sub-mode conversion switch; When the state of the sub-mode conversion switch is on, the first sub-mode is displayed; When the state of the sub-mode conversion switch is off, the second sub-mode is displayed.
5. The comparison method according to claim 4, characterized in that: Also includes: When presented by the second sub-mode, setting target vector values for the first motion vector and the second motion vector; Based on the target vector value, the first model and the second model are transformed to a posture corresponding to the target vector value; The state of the sub-mode conversion switch is set to on, and the first model and the second model are synchronously displayed through the first sub-mode.
6. The comparison method according to claim 1, characterized in that: The displaying in the interface a third model obtained by combining the first model and the second model comprises: The third model is displayed based on a third motion vector.
7. A target comparison device, characterized in that: include: An acquisition module, used for acquiring a first model of a first target and a second model of a second target, wherein the first target and the second target are different vehicles, and the first model and the second model are three-dimensional models; A display module is used to receive a trigger display signal, and based on the trigger display signal, display the first model and the second model through a first mode or a second mode, wherein in the first mode, the first model and the second model are displayed synchronously or separately in the interface, and the synchronous display includes the first model and the second model being displayed at a unified angle and posture; in the second mode, the first model and the second model are displayed together in the interface, including that the display module includes a third display unit, and the third display unit is used to display a third model obtained by combining the first model and the second model in the interface, and the first target and the second target correspond to the same third model.
8. The comparison device according to claim 7, characterized in that When the display module displays the first model and the second model synchronously or separately in the interface in the first mode, it includes: displaying a first feature of the first model and a second feature of the second model.
9. The comparison device according to claim 7, characterized in that: The display module comprises: a determining unit, configured to determine a first motion vector of the first model and a second motion vector of the second model; a determination unit, configured to determine, based on the trigger display signal, whether to display the first model and the second model in the first sub-mode or the second sub-mode; A first display unit, configured to synchronously display the first model and the second model based on the first motion vector in a first sub-mode; The second display unit is used to display the first model and the second model based on the first motion vector and the second motion vector respectively in a second sub-mode.
10. The comparison device according to claim 9, characterized in that The display module also includes a conversion unit, and the conversion unit includes: A first setting subunit, used for setting a sub-mode conversion switch; a judging subunit, configured to judge the state of the sub-mode conversion switch based on the trigger display signal; A first display sub-unit, used for displaying in a first sub-mode when the state of the sub-mode conversion switch is on; The second display subunit is used for displaying through the second sub-mode when the state of the sub-mode conversion switch is off.
11. The comparison device according to claim 10, characterized in that The conversion unit also includes: a second setting subunit, configured to set target vector values for the first motion vector and the second motion vector when displayed by the second submode; a conversion setting subunit, configured to convert the first model and the second model to a posture corresponding to the target vector value based on the target vector value; The third display subunit is used to set the state of the sub-mode conversion switch to on, and synchronously display the first model and the second model through the first sub-mode.
12. The comparison device according to claim 7, characterized in that: The third display unit is further used to: display the third model based on a third motion vector.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the comparison method according to any one of claims 1 to 6 are executed.
14. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the comparison method as described in any one of claims 1 to 6 are performed.
