CN112451978A - Control method, device and equipment of building block and storage medium - Google Patents

Control method, device and equipment of building block and storage medium Download PDF

Info

Publication number
CN112451978A
CN112451978A CN202011324356.2A CN202011324356A CN112451978A CN 112451978 A CN112451978 A CN 112451978A CN 202011324356 A CN202011324356 A CN 202011324356A CN 112451978 A CN112451978 A CN 112451978A
Authority
CN
China
Prior art keywords
character string
detected
building block
character
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011324356.2A
Other languages
Chinese (zh)
Inventor
冷晓琨
常琳
黄贤贤
白学林
柯真东
王松
吴雨璁
何治成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leju Shenzhen Robotics Co Ltd
Original Assignee
Leju Shenzhen Robotics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leju Shenzhen Robotics Co Ltd filed Critical Leju Shenzhen Robotics Co Ltd
Priority to CN202011324356.2A priority Critical patent/CN112451978A/en
Publication of CN112451978A publication Critical patent/CN112451978A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63HTOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
    • A63H33/00Other toys
    • A63H33/04Building blocks, strips, or similar building parts
    • A63H33/042Mechanical, electrical, optical, pneumatic or hydraulic arrangements; Motors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/4204Photometry, e.g. photographic exposure meter using electric radiation detectors with determination of ambient light

Abstract

The application provides a control method, a control device, control equipment and a storage medium of a building block, wherein the method is applied to building block equipment, the building block equipment consists of a plurality of building blocks, and the method comprises the following steps: the method comprises the steps of acquiring at least one screen brightness of terminal equipment corresponding to a character string to be detected through a photosensitive sensor arranged on the building block equipment, analyzing the at least one screen brightness of the terminal equipment to obtain the character string to be detected, and controlling the building block equipment to execute corresponding operation according to the character string to be detected. This application combines together through the screen brightness with photosensitive sensor and terminal equipment to can control building block equipment and carry out corresponding operation, give photosensitive sensor richer operation scene, realize more intelligent control scheme.

Description

Control method, device and equipment of building block and storage medium
Technical Field
The application relates to the technical field of computers, in particular to a control method, a control device, control equipment and a storage medium of a building block.
Background
The photosensitive sensor is a sensitive device with response or conversion function to external light signals or light radiation, and in general, the photosensitive sensor and other equipment can be combined to meet various requirements of users, for example, when a curtain is closed, the photosensitive sensor collects small indoor illumination intensity, and a fluorescent lamp can be controlled to be turned on.
However, the prior art photosensitive sensor is only limited to illumination changes, and no more intelligent control based on the photosensitive sensor is achieved at present.
Disclosure of Invention
An object of the present application is to provide a method, an apparatus, a device and a storage medium for controlling a building block to implement a more intelligent control scheme based on a photosensitive sensor, in view of the above-mentioned shortcomings in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a block control method, applied to a block device, where the block device is composed of a plurality of blocks, the method including:
acquiring at least one screen brightness of terminal equipment corresponding to a character string to be detected through a photosensitive sensor arranged on the building block equipment, wherein the character string to be detected is a character string input on the terminal equipment by a user;
analyzing at least one screen brightness of the terminal equipment to obtain the character string to be detected;
and controlling the building block equipment to execute corresponding operation according to the character string to be detected.
In a possible implementation manner, the controlling the building block device to execute corresponding operations according to the character string to be detected includes:
and if the character string to be detected is matched with a preset character string, controlling the building block equipment to execute the operation corresponding to the character string to be detected.
In a possible implementation manner, the controlling the building block device to execute corresponding operations according to the character string to be detected includes:
and controlling the building block equipment to display the character string to be detected.
In a possible implementation manner, the analyzing at least one screen brightness of the terminal device to obtain the character string to be detected includes:
analyzing at least one screen brightness of the terminal equipment;
and acquiring the character string to be detected according to the analyzed data obtained by analysis.
In a possible implementation manner, the obtaining the character string to be detected according to the analysis data obtained by the analysis includes:
and if the analyzed data comprises a preset guide character, acquiring the character string to be detected according to a data character behind the guide character in the analyzed data.
In a possible implementation manner, the obtaining the character string to be detected according to the data character after the guide character in the analysis data includes:
judging whether the data character is a preset complete character or not;
and if so, taking the data character as the character string to be detected.
In a possible implementation manner, the character string to be detected is displayed on the terminal device at preset time intervals, and the method further includes:
and if not, analyzing at least one screen brightness corresponding to the character string to be detected displayed next time until the character string to be detected is obtained through analysis.
In a second aspect, another embodiment of the present application provides a control apparatus of a building block, including:
the system comprises a collecting module, a processing module and a display module, wherein the collecting module is used for collecting at least one screen brightness of terminal equipment corresponding to a character string to be detected through a photosensitive sensor arranged on the building block equipment, and the character string to be detected is a character string input on the terminal equipment by a user;
the analysis module is used for analyzing at least one screen brightness of the terminal equipment to obtain the character string to be detected;
and the control module is used for controlling the building block equipment to execute corresponding operation according to the character string to be detected.
In a possible implementation, the control module is specifically configured to:
and if the character string to be detected is matched with a preset character string, controlling the building block equipment to execute the operation corresponding to the character string to be detected.
In a possible implementation, the control module is specifically configured to:
and controlling the building block equipment to display the character string to be detected.
In a possible implementation manner, the parsing module is specifically configured to:
analyzing at least one screen brightness of the terminal equipment;
and acquiring the character string to be detected according to the analyzed data obtained by analysis.
In a possible implementation manner, the parsing module is specifically configured to:
and if the analyzed data comprises a preset guide character, acquiring the character string to be detected according to a data character behind the guide character in the analyzed data.
In a possible implementation manner, the parsing module is specifically configured to:
judging whether the data character is a preset complete character or not;
and if so, taking the data character as the character string to be detected.
In a possible implementation manner, the character string to be detected is displayed on the terminal device at a preset time interval, and the parsing module is further configured to:
and if not, analyzing at least one screen brightness corresponding to the character string to be detected displayed next time until the character string to be detected is obtained through analysis.
In a third aspect, another embodiment of the present application provides a building block device, comprising: a processor, a memory and a bus, the memory storing a computer program executable by the processor, the processor and the memory communicating via the bus when the building block device is running, the processor executing the computer program to perform the method of the first aspect.
In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the method of the first aspect.
The application provides a control method, a control device, control equipment and a storage medium of a building block, wherein the method is applied to building block equipment, the building block equipment consists of a plurality of building blocks, and the method comprises the following steps: the method comprises the steps of acquiring at least one screen brightness of terminal equipment corresponding to a character string to be detected through a photosensitive sensor arranged on the building block equipment, analyzing the at least one screen brightness of the terminal equipment to obtain the character string to be detected, and controlling the building block equipment to execute corresponding operation according to the character string to be detected. This application combines together through the screen brightness with photosensitive sensor and terminal equipment to can control building block equipment and carry out corresponding operation, give photosensitive sensor richer operation scene, realize more intelligent control scheme.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a scene diagram illustrating a control method for building blocks according to an embodiment of the present disclosure;
FIG. 2 is a first flowchart of a control method of a building block provided by an embodiment of the present application;
FIG. 3 is a flow chart diagram II of a control method of a building block provided by the embodiment of the application;
FIG. 4 is a flow chart diagram III of a control method of a building block provided by the embodiment of the application;
FIG. 5 is a schematic structural diagram of a control device of a building block provided by an embodiment of the application;
FIG. 6 shows a schematic structural diagram of a building block device provided by an embodiment of the application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
Aiming at the problem that a photosensitive sensor in the prior art is only limited to illumination change and cannot realize a more intelligent control scheme, the application provides a control method of a building block.
The technical solution of the present application will be described below with reference to several specific embodiments.
Fig. 1 is a schematic view of a scene of a building block control method provided in an embodiment of the present application, and as shown in fig. 1, the building block control method includes a terminal device 10 and a building block device 20, where the terminal device 10 may be, for example, a mobile phone, a tablet computer, a desktop computer, and the like, the building block device 20 may be formed by assembling a plurality of building blocks, and the building block device may be, for example, a building block toy, a building block door, and the like. The present embodiment is not particularly limited to the specific implementation of the terminal device 10 and the building block device 20.
The building block device 20 is provided with a light sensor 30, and the light sensor 30 can be a sensor for collecting light signals and converting the light signals into electric signals.
It should be noted that the screen of the terminal device 10 may be aligned with the photosensitive sensor 30 on the building block device 20, and under the condition that the distance between the screen of the terminal device 10 and the photosensitive sensor 30 on the building block device 20 is smaller than the preset distance, in this way, if a user inputs a character string to be detected on the terminal device 10, the photosensitive sensor 30 may accurately acquire the screen brightness of the terminal device 10, the building block device 20 may analyze the acquired screen brightness to obtain the character string to be detected, and control the building block device 20 to perform a corresponding operation according to the character string to be detected, where the character string to be detected may be, for example, "12345", although the form of the character string to be detected is not limited to numbers, and may also be letters, chinese characters, symbols, and the like, and the embodiments of the present application do not limit this.
FIG. 2 shows a first flowchart of a building block control method provided in an embodiment of the present application, where an execution main body of the embodiment may be a building block device, and the building block device may be composed of a plurality of building blocks. As shown in fig. 2, the method may include:
s101, acquiring at least one screen brightness of the terminal equipment corresponding to the character string to be detected through a photosensitive sensor arranged on the building block equipment, wherein the character string to be detected is the character string input by a user on the terminal equipment.
The user can input the character string to be detected on the terminal equipment, the photosensitive sensor is arranged on the building block equipment, and at least one screen brightness of the terminal equipment corresponding to the character string to be detected can be acquired through the photosensitive sensor arranged on the building block equipment. The number of characters in the character string to be detected may be equal to the number of collected screen brightnesses. For example, the character string to be detected may be "12345", for example, the number of at least one screen brightness may be 5; the character string to be detected may be, for example, "hello", and the number of the at least one screen brightness may be 2, that is, each character string corresponds to one screen brightness, and the character string and the screen brightness have a corresponding relationship.
In a possible application scenario, a user can install a software application, such as a building block programming application, corresponding to a building block device on a terminal device, log in the software application to enter a character input interface, and then input a character string to be detected on the character input interface, wherein a photosensitive sensor is arranged on the building block device, so that at least one screen brightness of the terminal device corresponding to the character string to be detected can be acquired through the photosensitive sensor arranged on the building block device. The screen of the terminal equipment can be aligned with the photosensitive sensor on the building block equipment, so that the accuracy of the acquired screen brightness can be improved.
S102, analyzing at least one screen brightness of the terminal equipment to obtain the character string to be detected.
S103, controlling the building block equipment to execute corresponding operation according to the character string to be detected.
At least one screen brightness corresponding to the character string to be detected input by the user is acquired through the photosensitive sensor, and the character string to be detected can be obtained by analyzing the at least one screen brightness of the terminal device. That is to say, the building block device may store the corresponding relationship between the character string and the screen brightness in advance, and then, when at least one screen brightness is obtained, the corresponding relationship may be used to perform analysis according to the screen brightness, so as to obtain the character string corresponding to the at least one screen brightness as the character string to be detected.
According to the character string to be detected obtained through analysis, the building block device can be controlled to execute corresponding operation, that is, the corresponding relation between the type of the character string and the corresponding operation can be stored in the building block device in advance, so that under the condition that the character string to be detected is obtained, the corresponding operation of the character string to be detected can be determined according to the type of the character string to be detected, and the operation is executed.
It should be noted that the building block device may be provided with a voice player, and may perform voice playing on the character string to be detected, the type of the character string to be detected is a song name, and the corresponding operation may be to play a song corresponding to the song name, which indicates that the building block device may also support voice on-demand operation such as song-on-demand operation.
According to the control method of the building block, at least one screen brightness of the terminal device corresponding to the character string to be detected is acquired through the photosensitive sensor arranged on the building block device, the character string to be detected is the character string input by the user on the terminal device, the at least one screen brightness of the terminal device is analyzed, the character string to be detected is obtained, and the building block device is controlled to execute corresponding operation according to the character string to be detected. This embodiment combines together through the screen brightness with photosensitive sensor and terminal equipment to can control building block equipment and carry out corresponding operation, give photosensitive sensor richer operation scene, realize more intelligent control scheme.
In a possible implementation mode, the building block device is controlled to execute corresponding operations according to the character string to be detected, and the method comprises the following steps:
and if the character string to be detected is matched with the preset character string, controlling the building block equipment to execute the operation corresponding to the character string to be detected.
If the character string to be detected is matched with the preset character string, namely the character string to be detected is the same as the preset character string, the building block device is controlled to execute the operation corresponding to the character string to be detected, wherein the operation corresponding to the character string to be detected can be, for example, opening a door, or playing preset voice, or playing the character string to be detected, or displaying the character string to be detected.
The preset character string can be a preset character string, for example, the building block device is a building block door, and the preset character string can be a door opening password of the building block door.
It should be noted that a preset character string may be set in advance on a building block interface corresponding to the building block device, the building block device may generate a steam program based on the preset character string, and when a subsequent user inputs a character string to be detected, the steam program is run to determine whether the character string to be detected matches the preset character string.
In a possible application scenario, the character string to be detected may be a song name, and the preset character string may be a preset song name, that is, only when the character string to be detected matches the preset character string, the song corresponding to the song name may be played, and if the character string to be detected does not match the preset character string, it indicates that the song corresponding to the song name is not included in the building block device in advance, then "playing failure" may be displayed or played to remind the user.
In another possible embodiment, controlling the building block device to perform corresponding operations according to the character string to be detected comprises:
and controlling the building block equipment to display the character string to be detected.
The corresponding operation comprises displaying a character string to be detected, analyzing at least one screen brightness to obtain the character string to be detected, and controlling the building block equipment to display the character string to be detected according to the character string to be detected, wherein the displayed character string to be detected can be 'hello' or 'welcome'.
With reference to fig. 3, an obtaining process of a character string to be detected is described, where fig. 3 is a schematic flow diagram of a control method of a building block provided in the embodiment of the present application, and as shown in fig. 3, analyzing at least one screen brightness of a terminal device to obtain the character string to be detected includes:
s201, analyzing at least one screen brightness of the terminal equipment.
S202, obtaining the character string to be detected according to the analyzed data obtained through analysis.
The building block device analyzes at least one screen brightness of the terminal device to obtain analysis data, and then obtains the character string to be detected according to the analysis data, namely the analysis data comprises the character string to be detected.
It should be noted that the analysis data may be divided into a guide area and a data area, where the guide area includes a guide character for synchronizing clocks of the terminal device and the building block device, and the data area includes a data character for extracting a character string, and the data character can be determined only after the guide character is located before the data character in the analysis data, that is, after the guide character is analyzed, it may be determined whether the analysis data includes a complete guide character, and if so, the data character after the guide character is used as a character string to be detected.
The control method of the building block provided by the embodiment comprises the following steps: and analyzing at least one screen brightness of the terminal equipment, and acquiring the character string to be detected according to analyzed data obtained by analysis. Therefore, the character string to be detected can be obtained according to the screen brightness of the terminal equipment.
In a possible implementation manner, obtaining the character string to be detected according to the parsed data obtained by parsing may include the steps shown in the embodiment of fig. 4. Fig. 4 shows a third flowchart of the control method for building blocks provided in the embodiment of the present application, and as shown in fig. 4, acquiring a character string to be detected according to the analysis data obtained by the analysis includes:
and if the analyzed data comprises the preset guide character, acquiring the character string to be detected according to the data character behind the guide character in the analyzed data.
The preset guide character is used for synchronizing clocks of the terminal equipment and the building block equipment, and if the analyzed data comprises the preset guide character, the character string to be detected can be obtained according to the data character behind the guide character in the analyzed data.
It should be noted that, if the analysis data does not include the preset guide character, the two cases are divided into two cases, one is that there is no preset guide character in the analysis data, and the other is that there is no complete preset guide character in the analysis data, and both cases may be caused by an analysis error of the building block device, based on which, the character string to be detected input by the user may also be displayed on the terminal device at a preset time interval, the preset time interval may be, for example, 1s or 2s, that is, the character string to be detected may be displayed once every 1s, and then when the analysis data does not include the preset guide character, at least one screen brightness corresponding to the character string to be detected displayed next time may also be analyzed until the guide character is obtained through analysis.
In a possible implementation manner, if the analysis data includes a preset guide character, acquiring the character string to be detected according to the data character after the guide character in the analysis data may include:
s301, judging whether the data character is a preset complete character.
The analysis data can be divided into a guide area and a data area, wherein the guide area comprises guide characters, the data area comprises data characters, if the analysis data comprises preset guide characters, whether the data characters after the guide characters in the analysis data are preset complete characters can be judged, it needs to be stated that the preset complete characters carry preset identifications or the preset complete characters have preset character formats, whether the data characters carry the preset identifications or have the preset character formats can be judged, and whether the data characters are the preset complete characters or not is judged.
If the data character is a predetermined complete character, step S302 may be executed; if the data character is not a predetermined complete character, step S303 may be executed.
And S302, taking the data character as a character string to be detected.
And S303, analyzing at least one screen brightness corresponding to the character string to be detected displayed next time until the character string to be detected is obtained through analysis.
If the data character is a preset complete character, the data character can be used as a character string to be detected, if the data character is not the preset complete character, at least one screen brightness corresponding to the character string to be detected displayed next time can be analyzed to obtain at least one screen brightness corresponding to the character string to be detected displayed next time, analysis data is obtained, and steps S301-S303 are repeatedly executed until the character string to be detected is obtained through analysis.
It should be noted that the reason why the analysis data is not the preset complete character string may be that the photosensitive sensor only acquires the screen brightness corresponding to a part of the character string to be detected, for example, the character string to be detected is "12345", and the photosensitive sensor only acquires the screen brightness corresponding to "345", respectively, so that, under the condition that the character string to be detected is displayed on the terminal device at the preset time interval, at least one screen brightness corresponding to the character string to be detected, which is displayed next time, may also be analyzed until the character string to be detected is obtained through analysis, thereby ensuring that the character string to be detected may also be obtained through next analysis when the character string to be detected cannot be analyzed this time.
Taking the character string to be detected as "12345" as an example, at least one screen brightness of the terminal device corresponding to the character string to be detected is acquired, which reflects a brightness change rule, 1 may correspond to the darkest screen brightness, 2 times, and so on, 5 corresponds to the brightest screen brightness, the character string to be detected is displayed on the terminal device at a preset time interval, which indicates that the character string to be detected with a brightness change is repeatedly displayed on the terminal device at a preset time interval, that is, "12345" is played from darkest to brightest in sequence at every preset time interval.
In the method for controlling a building block provided in this embodiment, if the analyzed data includes a preset guide character, acquiring a character string to be detected according to a data character after the guide character in the analyzed data, including: and judging whether the data character is a preset complete character or not, if so, taking the data character as a character string to be detected, and if not, analyzing at least one screen brightness corresponding to the character string to be detected displayed next time until the character string to be detected is obtained through analysis. Therefore, the character string to be detected can be obtained through analysis.
FIG. 5 is a schematic structural diagram of a control device of a building block according to an embodiment of the present invention, and as shown in FIG. 5, the control device 50 of a building block includes:
the collecting module 501 is configured to collect at least one screen brightness of a terminal device corresponding to a character string to be detected through a photosensitive sensor arranged on the building block device, where the character string to be detected is a character string input by a user on the terminal device;
an analyzing module 502, configured to analyze at least one screen brightness of the terminal device to obtain the to-be-detected character string;
and the control module 503 is configured to control the building block device to execute corresponding operations according to the character string to be detected.
In a possible implementation manner, the control module 503 is specifically configured to:
and if the character string to be detected is matched with a preset character string, controlling the building block equipment to execute the operation corresponding to the character string to be detected.
In a possible implementation manner, the control module 503 is specifically configured to:
and controlling the building block equipment to display the character string to be detected.
In a possible implementation manner, the parsing module 502 is specifically configured to:
analyzing at least one screen brightness of the terminal equipment;
and acquiring the character string to be detected according to the analyzed data obtained by analysis.
In a possible implementation manner, the parsing module 502 is specifically configured to:
and if the analyzed data comprises a preset guide character, acquiring the character string to be detected according to a data character behind the guide character in the analyzed data.
In a possible implementation manner, the parsing module 502 is specifically configured to:
judging whether the data character is a preset complete character or not;
and if so, taking the data character as the character string to be detected.
In a possible implementation manner, the to-be-detected character string is displayed on the terminal device at a preset time interval, and the parsing module 502 is further configured to:
and if not, analyzing at least one screen brightness corresponding to the character string to be detected displayed next time until the character string to be detected is obtained through analysis.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
FIG. 6 shows a schematic structural diagram of a building block device provided by an embodiment of the present application, and as shown in FIG. 6, a building block device 60 includes: a processor 601, a memory 602 and a bus 603, wherein the memory 602 stores computer programs executable by the processor 601, and when the building block device 60 runs, the processor 601 and the memory 602 communicate through the bus 603, and the processor 601 executes the computer programs to perform the above method embodiments.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the above method embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, 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 of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
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.

Claims (10)

1. A control method of a building block, applied to a building block apparatus composed of a plurality of the building blocks, the method comprising:
acquiring at least one screen brightness of terminal equipment corresponding to a character string to be detected through a photosensitive sensor arranged on the building block equipment, wherein the character string to be detected is a character string input on the terminal equipment by a user;
analyzing at least one screen brightness of the terminal equipment to obtain the character string to be detected;
and controlling the building block equipment to execute corresponding operation according to the character string to be detected.
2. The method as claimed in claim 1, wherein the controlling the building block device to perform corresponding operations according to the character string to be detected comprises:
and if the character string to be detected is matched with a preset character string, controlling the building block equipment to execute the operation corresponding to the character string to be detected.
3. The method as claimed in claim 1, wherein the controlling the building block device to perform corresponding operations according to the character string to be detected comprises:
and controlling the building block equipment to display the character string to be detected.
4. The method according to claim 2, wherein the analyzing at least one screen brightness of the terminal device to obtain the character string to be detected comprises:
analyzing at least one screen brightness of the terminal equipment;
and acquiring the character string to be detected according to the analyzed data obtained by analysis.
5. The method according to claim 4, wherein the obtaining the character string to be detected according to the analytic data obtained by the analysis comprises:
and if the analyzed data comprises a preset guide character, acquiring the character string to be detected according to a data character behind the guide character in the analyzed data.
6. The method according to claim 5, wherein the obtaining the character string to be detected according to the data character after the guide character in the parsed data comprises:
judging whether the data character is a preset complete character or not;
and if so, taking the data character as the character string to be detected.
7. The method according to claim 6, wherein the character string to be detected is displayed on the terminal device at preset time intervals, the method further comprising:
and if not, analyzing at least one screen brightness corresponding to the character string to be detected displayed next time until the character string to be detected is obtained through analysis.
8. A control device for building blocks, comprising:
the system comprises a collecting module, a processing module and a display module, wherein the collecting module is used for collecting at least one screen brightness of terminal equipment corresponding to a character string to be detected through a photosensitive sensor arranged on building block equipment, and the character string to be detected is a character string input on the terminal equipment by a user;
the analysis module is used for analyzing at least one screen brightness of the terminal equipment to obtain the character string to be detected;
and the control module is used for controlling the building block equipment to execute corresponding operation according to the character string to be detected.
9. A building block device, comprising: a processor, a memory and a bus, the memory storing a computer program executable by the processor, the processor and the memory communicating over the bus when the building block device is run, the processor executing the computer program to perform the method of any of claims 1-7.
10. A storage medium, comprising: the storage medium has stored thereon a computer program which, when executed by a processor, performs the method of any of claims 1-7.
CN202011324356.2A 2020-11-23 2020-11-23 Control method, device and equipment of building block and storage medium Pending CN112451978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011324356.2A CN112451978A (en) 2020-11-23 2020-11-23 Control method, device and equipment of building block and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011324356.2A CN112451978A (en) 2020-11-23 2020-11-23 Control method, device and equipment of building block and storage medium

Publications (1)

Publication Number Publication Date
CN112451978A true CN112451978A (en) 2021-03-09

Family

ID=74800098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011324356.2A Pending CN112451978A (en) 2020-11-23 2020-11-23 Control method, device and equipment of building block and storage medium

Country Status (1)

Country Link
CN (1) CN112451978A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000005451A (en) * 1998-06-18 2000-01-11 Akuson Data Machine Kk Emergency attitude control device of radio-controlled airplane
KR200263072Y1 (en) * 2001-10-24 2002-02-02 주식회사 한스텝 Toy radio control system using computer monitor
CN103680122A (en) * 2013-12-30 2014-03-26 Tcl海外电子(惠州)有限公司 Custom control method and system for remote control equipment
CN206675994U (en) * 2017-03-28 2017-11-28 广东邦宝益智玩具股份有限公司 Optics probes into modular system
US20190392829A1 (en) * 2018-06-21 2019-12-26 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for interacting information
CN110914108A (en) * 2017-08-10 2020-03-24 Zkw集团有限责任公司 Vehicle headlamp and vehicle control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000005451A (en) * 1998-06-18 2000-01-11 Akuson Data Machine Kk Emergency attitude control device of radio-controlled airplane
KR200263072Y1 (en) * 2001-10-24 2002-02-02 주식회사 한스텝 Toy radio control system using computer monitor
CN103680122A (en) * 2013-12-30 2014-03-26 Tcl海外电子(惠州)有限公司 Custom control method and system for remote control equipment
CN206675994U (en) * 2017-03-28 2017-11-28 广东邦宝益智玩具股份有限公司 Optics probes into modular system
CN110914108A (en) * 2017-08-10 2020-03-24 Zkw集团有限责任公司 Vehicle headlamp and vehicle control device
US20190392829A1 (en) * 2018-06-21 2019-12-26 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for interacting information

Similar Documents

Publication Publication Date Title
US20190005013A1 (en) Conversation system-building method and apparatus based on artificial intelligence, device and computer-readable storage medium
CN105611491B (en) A kind of Bluetooth connecting method and device
CN106951248A (en) Add method, device and the readable storage medium storing program for executing of code
CN111447107A (en) Network state determination method and device, storage medium and electronic equipment
CN111077996A (en) Information recommendation method based on point reading and learning equipment
CN112416775A (en) Software automation testing method and device based on artificial intelligence and electronic equipment
CN109358827A (en) Method, system, equipment and the storage medium of serially printing are applied in control
CN113163055B (en) Vibration adjusting method and device, storage medium and electronic equipment
CN110134237A (en) Interface control method and relevant device
CN111639158B (en) Learning content display method and electronic equipment
CN112451978A (en) Control method, device and equipment of building block and storage medium
CN111242455A (en) Method and device for evaluating voice function of electronic map, electronic equipment and storage medium
CN109462689A (en) Voice broadcast method and device, electronic device and computer readable storage medium
CN112037763B (en) Service testing method and device based on artificial intelligence
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN111091821B (en) Control method based on voice recognition and terminal equipment
CN113822273A (en) Subtitle detection method and related device
CN111061466A (en) Automatic conversion method, system, terminal and medium of behavior control scripting language
CN108241488A (en) A kind of system and method for generating APP interfaces
CN110970030A (en) Voice recognition conversion method and system
CN113496035A (en) Information, note information, code detection method, device and storage medium
CN114095754B (en) Video processing method and device and electronic equipment
CN104866303B (en) The method and mobile terminal of a kind of information processing
CN111091035A (en) Subject identification method and electronic equipment
CN113223487B (en) Information identification method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309