Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
The electronic device may be a portable electronic device, such as a cell phone, a tablet computer, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), etc., that also contains other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
Referring to fig. 1, fig. 1 provides a BIM model-based multi-screen interaction method, which may be executed by an electronic device, where the electronic device may specifically include: a smart phone, a personal computer, a server, a tablet computer, etc., the method is shown in fig. 1, and comprises the following steps:
step S101, after a user logs in a BIM system, the electronic equipment determines a BIM model to be shared and sends an interaction request to other target object equipment;
the interaction request may be sent in various ways, for example, in an alternative scheme, the interaction request may be sent through instant messaging software, and in actual application, if other target object devices also log in the BIM system, the interaction request may also be sent through the BIM system.
Step S102, the electronic equipment receives an interactive response returned by target object equipment after logging in the BIM system, and displays the shared BIM model to the equipment of the target object in the BIM system;
step S103, the electronic equipment monitors the operation information of all the interactive objects and synchronously displays the operation information on the display screens of all the equipment through the BIM system.
According to the technical scheme, the electronic equipment determines the BIM to be shared and sends interaction requests to other target objects; the electronic equipment receives the interactive response of the target object and sends the shared BIM model to the equipment of the target object; the electronic equipment monitors the operation information of all interactive objects and shares the operation information to all interactive objects. Therefore, the user experience degree can be improved by realizing remote interaction of multiple screens.
In an optional scheme, the logging in the BIM system specifically includes:
the electronic equipment acquires a login request of a user and logs in a system platform.
The login request may further include: and verifying the target face image, and logging in a system platform after the verification is passed.
The verification of the target face image may include the following steps:
e21, performing region segmentation on the target face image to obtain a target face region, wherein the target face region is a region image only of a face;
e22, performing binarization processing on the target face area to obtain a binarized face image;
e23, dividing the binary face image into a plurality of regions, wherein the areas of the regions are the same and the area size is larger than a preset area value;
e24, extracting the characteristic points of the binary face image to obtain a plurality of characteristic points;
e25, determining the distribution density of the feature points corresponding to each of the plurality of areas according to the plurality of feature points to obtain a plurality of distribution densities of the feature points;
e26, determining a target mean square error according to the distribution densities of the plurality of feature points;
e27, determining a target quality evaluation value corresponding to the target mean square error according to a preset mapping relation between the mean square error and the quality evaluation value;
e28, when the target quality evaluation value is smaller than the preset quality evaluation value, performing image enhancement processing on the target face image, and matching the target face image subjected to the image enhancement processing with a preset face template to obtain a matching value;
e29, when the matching value is larger than a preset threshold value, determining that the target face image is verified.
In specific implementation, the preset threshold and the preset area value can be set by a user or default by a system, and the preset face template can be stored in the electronic device in advance. The electronic device may obtain a region segmentation of the target face image to obtain a target face region, where the target face region may be a region that does not include a background but only includes a face, that is, a region image of only a face. And then, can carry out binarization processing to target face region, obtain two quantification face image, so, can reduce the image complexity, divide two quantification face image into a plurality of regions, the area size of each region is equal, and is greater than preset area value. Further, feature point extraction may be performed on the binarized face image to obtain a plurality of feature points, and an algorithm of the feature extraction may be at least one of the following: scale Invariant Feature Transform (SIFT), SURF, pyramid, harris corner detection, and the like, without limitation.
Further, the electronic device may determine, according to the plurality of feature points, a feature point distribution density corresponding to each of the plurality of regions to obtain a plurality of feature point distribution densities, and determine a target mean square error according to the plurality of feature point distribution densities, the electronic device may pre-store a mapping relationship between a preset mean square error and a quality evaluation value, and determine, according to the mapping relationship between the preset mean square error and the quality evaluation value, a target quality evaluation value corresponding to the target mean square error, where the smaller the mean square error is, the larger the quality evaluation value is, when the target quality evaluation value is greater than the preset quality evaluation value, directly match the target face image with a preset face template, and when a matching value therebetween is greater than a preset threshold, determine that the target face image is verified, and otherwise, determine that the target face image is verified.
Further, when the target quality evaluation value is smaller than the preset quality evaluation value, the terminal may perform image enhancement processing on the target face image, match the target face image after the image enhancement processing with the preset face template, and determine that the target face image passes verification if the matching value between the target face image and the preset face template is larger than a preset threshold value, otherwise, determine that the target face image fails verification.
In an optional scheme, the operation information includes one or any combination of the following:
the method comprises the steps of BIM model enlargement or reduction, BIM visual angle transformation, BIM model labeling and BIM model coordinate modification.
In an optional aspect, the method further comprises:
the electronic equipment receives an authorization request sent by the equipment of the target object, controls and authorizes the equipment of the target object according to the authorization request, and sends the authority of the control and authorization to the equipment of the target object through an authorization response.
In an optional aspect, the method further comprises:
the electronic equipment records all operation data and BIM transformation data of multi-screen interaction, records voice data of all users of the multi-screen interaction, and stores the voice data, all operation data and BIM transformation data in a video.
In an optional aspect, the method further comprises:
the electronic equipment identifies the voice data to determine text content, identifies the text content to determine whether a BIM model is associated, stores the voice data if the voice data is associated with the BIM model, and deletes the voice data if the voice data is not associated with the BIM model.
Referring to fig. 2, fig. 2 provides a BIM model-based multi-screen interaction system, which is applied to an electronic device, and specifically includes:
a login unit 204, configured to log in the BIM system;
an obtaining unit 201, configured to determine a BIM model to be shared;
the communication unit 202 is configured to receive an interaction response returned by the target object device after logging in the BIM system, and display the shared BIM model to the device of the target object in the BIM system;
the sharing unit 203 is configured to monitor operation information of all interactive objects, and synchronously display the operation information on display screens of all devices through the BIM system.
The sharing unit 203 may also perform a refinement or an alternative of the method embodiment shown in fig. 1, which is not described herein again.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The present embodiment further provides a computer storage medium, where a computer instruction is stored in the computer storage medium, and when the computer instruction runs on an electronic device, the electronic device is enabled to execute the relevant method steps to implement the BIM model-based multi-screen interaction method in the foregoing embodiments.
The embodiment also provides a computer program product, and when the computer program product runs on a computer, the computer is caused to execute the relevant steps to implement the BIM model-based multi-screen interaction method in the embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; when the device runs, the processor can execute the computer execution instruction stored in the memory, so that the chip can execute the multi-screen interaction method based on the BIM model in the above embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.