The application is a divisional application with the application number of 201811078492.0, and the application date of the main application is as follows: 2018, 9 and 14; the application of the parent case is named as follows: control method, device and computer readable storage medium of electronic control equipment.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The solution of the embodiment of the invention mainly comprises the following steps: and scanning a standard image-text identifier of the electronic control equipment through the mobile terminal, determining a target electronic control equipment, acquiring operation page data of the target electronic control equipment, and displaying an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page. That is, the user can control the electronic control device through the mobile terminal, so that the convenience of control of the electronic control device is improved. By the technical scheme provided by the embodiment of the invention, the problem that the control of the electronic control equipment is not convenient enough is solved.
The embodiment of the invention provides a control device of electronic control equipment.
Referring to fig. 1, fig. 1 is a schematic diagram of a control device of an electronic control apparatus of a hardware running environment according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
As shown in fig. 1, the control device of the electronic control apparatus may include: a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the control arrangement of the electronic control apparatus shown in fig. 1 does not constitute a limitation of the control arrangement of the electronic control apparatus, and may include more or fewer components than shown, or may combine certain components, or may be arranged in different ways.
As shown in fig. 1, an operating system, a network communication module, and an electronic control device control program may be included in the memory 1005, which is a type of computer storage medium.
In the present invention, the control apparatus of the electronic control device calls the electronic control device control program stored in the memory 1005 through the processor 1001, and performs the following operations:
the mobile terminal scans a standard image-text identifier of the electronic control equipment, determines target electronic control equipment and acquires operation page data of the target electronic control equipment;
and displaying an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
the mobile terminal scans the standard image-text identifier of the electronic control equipment, identifies the standard image-text identifier and acquires corresponding equipment information;
Determining target electronic control equipment according to the equipment information; or (b)
The mobile terminal scans the standard image-text identifier of the electronic control equipment, sends the standard image-text identifier to a server, so that the server can identify the standard image-text identifier, acquire corresponding equipment information, and determine target electronic control equipment according to the equipment information.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
judging whether the equipment information corresponds to a unique electronic control equipment or not;
and if the equipment information corresponds to the unique electronic control equipment, executing the step to determine the target electronic control equipment according to the equipment information.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
if the equipment information does not correspond to the unique electronic control equipment, displaying an equipment selection interface comprising a plurality of electronic control equipment;
and when the electronic control device selection operation based on the device selection interface is detected, determining the selected electronic control device as the target electronic control device.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
if the equipment information does not correspond to the unique electronic control equipment, acquiring the current position information of the mobile terminal;
and determining the target electronic control equipment according to the equipment information and the position information.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
the server receives an electronic control equipment control request sent by the mobile terminal; the mobile terminal scans the standard image-text identifier of the electronic control equipment, determines target electronic control equipment and sends an electronic control equipment control request corresponding to the target electronic control equipment to the server;
and feeding back the operation page data of the target electronic control equipment to the mobile terminal so that the mobile terminal can display an operation page corresponding to the target electronic control equipment according to the operation page data, and operate the target electronic control equipment based on the operation page.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
When the standard image-text identifier sent by the mobile terminal is received, the standard image-text identifier is identified, and corresponding equipment information is obtained;
and determining the target electronic control equipment according to the equipment information.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
judging whether the equipment information corresponds to a unique electronic control equipment or not;
and if the equipment information corresponds to the unique electronic control equipment, determining the unique electronic control equipment corresponding to the equipment information as the target electronic control equipment.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
if the equipment information does not correspond to the unique electronic control equipment, sending equipment selection interface data containing a plurality of electronic control equipment to the mobile terminal so that the mobile terminal can display equipment selection interfaces containing the plurality of electronic control equipment according to the equipment selection interface data, and sending confirmation information of the selected electronic control equipment to the server when detecting the electronic control equipment selection operation based on the equipment selection interfaces;
And when receiving the confirmation information of the selected electronic control equipment, determining the selected electronic control equipment as the target electronic control equipment.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
if the equipment information does not correspond to the unique electronic control equipment, acquiring the current position information of the mobile terminal;
and determining the target electronic control equipment according to the equipment information and the position information.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
performing identity verification on a user of the mobile terminal, and judging whether the user has the authority to control the target electronic control equipment or not;
if yes, executing the step of feeding back the operation page data of the target electronic control equipment to the mobile terminal so that the mobile terminal can display an operation page corresponding to the target electronic control equipment according to the operation page data, and operating the target electronic control equipment based on the operation page.
Further, the processor 1001 may call the electronic control device control program stored in the memory 1005, and further perform the following operations:
If yes, acquiring personalized operation page data of the user on the target electronic control equipment according to the identity information of the user and the target electronic control equipment;
and feeding back the personalized operation page data to the mobile terminal so that the mobile terminal can display a corresponding personalized operation page according to the personalized operation page data, and operate the target electronic control equipment based on the personalized operation page.
According to the technical scheme, the mobile terminal scans the standard image-text identifier of the electronic control equipment, determines the target electronic control equipment, acquires the operation page data of the target electronic control equipment, and displays the operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page. That is, the user can control the electronic control device through the mobile terminal, so that the convenience of control of the electronic control device is improved.
Based on the above terminal hardware structure and the communication network system, various embodiments of the control method of the electronic control device are provided.
Referring to fig. 2, fig. 2 is a flowchart of a control method of the electronic control device according to a first embodiment of the present invention.
In this embodiment, the control method of the electronic control apparatus includes the steps of:
step S10, a mobile terminal scans a standard image-text identifier of electronic control equipment, determines target electronic control equipment and acquires operation page data of the target electronic control equipment;
in this embodiment, the control method of the electronic control device may be selectively applied to a mobile terminal, where the mobile terminal includes, but is not limited to, a terminal device such as a smart phone, a PAD (tablet personal computer), etc., and the electronic control device is controlled by the mobile terminal, where the electronic control device is a device controlled by networking, including, but not limited to, a charging pile, a printer, an oiling machine, an automobile, etc., and each electronic control device is configured with a corresponding standard image-text identifier when leaving the factory, and associates the standard image-text identifier of the electronic control device with a corresponding server, where the server includes, but is not limited to, a cloud platform, etc.; the electronic control device can be identified by a standard graphic identification.
When a user needs to control the electronic control equipment through the mobile terminal, the mobile terminal scans the standard image-text identifier of the electronic control equipment to determine the current target electronic control equipment to be controlled. Optionally, the step S10 includes:
Step a, a mobile terminal scans a standard image-text identifier of electronic control equipment, identifies the standard image-text identifier and acquires corresponding equipment information;
step b, determining target electronic control equipment according to the equipment information; or (b)
And c, the mobile terminal scans the standard image-text identifier of the electronic control equipment, and sends the standard image-text identifier to a server so that the server can identify the standard image-text identifier, acquire corresponding equipment information and determine target electronic control equipment according to the equipment information.
Optionally, in an implementation example, the mobile terminal identifies a standard graphic identifier, and determines the target electronic control device to be controlled. Specifically, when the mobile terminal scans the standard image-text identifier of the electronic control device, the mobile terminal identifies the standard image-text identifier and acquires corresponding device information. The device information includes, but is not limited to, information such as a device type, a specification model, a trademark, a device serial number, and the like of the electronic control device. For example, by starting the scanning function of APP application programs such as WeChat, payment treasures and the like of the mobile terminal, the standard image-text identifier of the electronic control equipment is scanned, and corresponding equipment information is obtained. And then, the mobile terminal determines the target electronic control equipment to be controlled currently according to the acquired equipment information. For example, the target electronic control device is identified and determined based on the acquired device serial number information.
In another implementation example, the server identifies the standard graphic identifier and determines the target electronic control device to be controlled. Specifically, the mobile terminal scans a standard image-text identifier of the electronic control device, sends the standard image-text identifier to the server, and when the server receives the standard image-text identifier, identifies the standard image-text identifier to acquire corresponding device information. And then the server determines the target electronic control equipment to be controlled currently according to the acquired equipment information.
After the target electronic control equipment is determined, the mobile terminal acquires the operation page data of the target electronic control equipment. Optionally, the mobile terminal sends an electronic control device control request corresponding to the target electronic control device to the server. When the server receives an electronic control equipment control request corresponding to the target electronic control equipment sent by the mobile terminal, the server feeds back operation page data corresponding to the target electronic control equipment to the mobile terminal. And the mobile terminal receives and acquires operation page data corresponding to the target electronic control equipment fed back by the server.
Optionally, the server records operation page data corresponding to each electronic control device, when receiving an electronic control device control request corresponding to the target electronic control device sent by the mobile terminal, the server queries the recorded operation page data corresponding to each electronic control device, acquires the operation page data corresponding to the target electronic control device, and feeds back the operation page data to the mobile terminal.
And step S20, displaying an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page.
When the mobile terminal acquires the operation page data corresponding to the target electronic control equipment, displaying the corresponding operation page corresponding to the target electronic control equipment according to the operation page data. And then, the user can operate the target electronic control equipment based on the operation page displayed by the mobile terminal. For example, the general user performs a corresponding control operation through the operation page, and controls the target electronic control device. In another example, a maintenance person or a manager performs operations such as querying the operation parameters of the target electronic control device through the operation page, and modifying the operation parameters of the target electronic control device. Compared with the mode of directly controlling the electronic control equipment on the electronic control equipment, the electronic control equipment is controlled through the mobile terminal, so that the user experience is greatly improved, and the control convenience of the electronic control equipment is improved.
Optionally, in order to improve the use security of the electronic control device, when receiving the control request of the electronic control device sent by the mobile terminal, the server performs identity verification on the user of the mobile terminal, and determines whether the user has the authority to control the target electronic control device. And feeding back the operation page data of the target electronic control equipment to the mobile terminal only when the user has the authority to control the target electronic control equipment, and displaying an operation page corresponding to the target electronic control equipment by the mobile terminal according to the operation page data so as to control the target electronic control equipment based on the operation page. Further, when the user has the right to control the target electronic control device, the server obtains personalized operation page data of the user to the target electronic control device according to the identity information of the user and the target electronic control device, and feeds back the personalized operation page data to the mobile terminal. And the mobile terminal displays a corresponding personalized operation page according to the personalized operation page data so as to operate the target electronic control equipment based on the personalized operation page, thereby further improving user experience.
Optionally, for a target electronic control device needing to pay, when receiving a control request of the electronic control device sent by the mobile terminal, the server first performs prepaid operation. And only when the prepayment is completed, the server feeds back the operation page data of the target electronic control equipment to the mobile terminal, and the mobile terminal displays an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page.
According to the scheme provided by the embodiment, the target electronic control equipment is determined by scanning the standard image-text identifier of the electronic control equipment through the mobile terminal, the operation page data of the target electronic control equipment is obtained, and the operation page corresponding to the target electronic control equipment is displayed according to the operation page data so as to operate the target electronic control equipment based on the operation page. That is, the user can control the electronic control device through the mobile terminal, so that the convenience of control of the electronic control device is improved.
Further, a second embodiment of the control method of the electronic control device of the present invention is proposed. The second embodiment of the control method of the electronic control apparatus is different from the first embodiment of the control method of the electronic control apparatus in that, in the second embodiment of the control method of the electronic control apparatus, after the step a, the method further includes:
Step d, judging whether the equipment information corresponds to a unique electronic control equipment;
the step b comprises the following steps:
and b1, if the equipment information corresponds to the unique electronic control equipment, determining target electronic control equipment according to the equipment information.
In order to accurately determine a target electronic control device to be controlled and further operate the target electronic control device, in this embodiment, after a mobile terminal scans a standard image-text identifier of the electronic control device and obtains corresponding device information, it is detected and judged whether the device information corresponds to a unique electronic control device. Optionally, since the equipment serial number is uniquely corresponding to the electronic control equipment, after the equipment information is acquired, judging whether the equipment information contains the equipment serial number information, and when the equipment information contains the equipment serial number information, judging that the equipment information corresponds to the unique electronic control equipment; when the device information does not contain the device serial number information, it is determined that the device information does not correspond to the unique electronic control device.
It will be appreciated that, in addition to determining whether the device information corresponds to a unique electronic control device by the device serial number, it may be determined whether the device information corresponds to a unique electronic control device by other means, and is not limited to the device serial numbers in the above-listed examples.
When it is determined that the device information corresponds to the unique electronic control device, the mobile terminal determines the target electronic control device according to the device information, and the specific operation is as described in the first embodiment, which is not described herein.
Optionally, in an implementation example, after the step d, the method further includes:
step e, if the equipment information does not correspond to the unique electronic control equipment, displaying an equipment selection interface comprising a plurality of electronic control equipment;
and f, when detecting the electronic control device selection operation based on the device selection interface, determining the selected electronic control device as the target electronic control device.
Further, in an actual application scenario, there may be a plurality of electronic control devices with the same model and the same brand, and the device information of the electronic control devices is consistent, so that the target electronic control device to be controlled cannot be determined only according to the device information. In an implementation example, when the acquired device information does not correspond to a unique electronic control device, the mobile terminal displays a device selection interface including a plurality of electronic control devices corresponding to the device information.
In this way, the user can select the electronic control device to be controlled from among the plurality of electronic control devices based on the device selection interface. When the mobile terminal detects that a user selects operation based on the electronic control equipment of the equipment selection interface, the selected electronic control equipment is determined to be target electronic control equipment, operation page data of the target electronic control equipment are further obtained, and according to the operation page data, an operation page corresponding to the target electronic control equipment is displayed so as to operate the target electronic control equipment based on the operation page, so that interaction experience of the user is improved, and flexibility and applicability of control of the electronic control equipment are improved.
Optionally, in another implementation example, after the step d, the method further includes:
step g, if the equipment information does not correspond to the unique electronic control equipment, acquiring the current position information of the mobile terminal;
and determining the target electronic control equipment according to the equipment information and the position information.
Alternatively, in another implementation example, when the acquired device information corresponds to a plurality of electronic control devices, the target electronic control device is determined by the device information and the geographical position information. Specifically, when the acquired device information does not correspond to the unique electronic control device, the mobile terminal acquires its current location information. Optionally, the location information may invoke a geographic location information interface of the mobile terminal itself to obtain; alternatively, the information can be obtained through related application programs of the mobile terminal; alternatively, it may be obtained through interaction with a third party platform. In this embodiment, a specific manner of acquiring the position information by the mobile terminal is not limited.
And then, the mobile terminal accurately identifies and determines the target electronic control equipment according to the acquired equipment information and the position information.
Further, there is a possibility that a plurality of electronic control apparatuses of the same model of the same brand are placed in the same place, and the apparatus information and the position information of these electronic control apparatuses are identical, in which case, when the target electronic control apparatus is determined from the apparatus information and the position information, a plurality of electronic control apparatuses to which the apparatus information and the position information correspond are identified. When the acquired device information and the position information correspond to a plurality of electronic control devices, the mobile terminal displays a device selection interface containing the plurality of electronic control devices corresponding to the device information and the position information.
In this way, the user can select the electronic control device to be controlled from the plurality of electronic control devices corresponding to the device information and the position information based on the device selection interface. When the mobile terminal detects an electronic control device selection operation based on the device selection interface by the user, the selected electronic control device is determined as a target electronic control device.
According to the scheme provided by the embodiment, when the acquired equipment information does not correspond to the unique electronic control equipment, the current position information of the mobile terminal is acquired, the target electronic control equipment is accurately identified and determined according to the equipment information and the position information, the operation page data of the target electronic control equipment is acquired, and the operation page corresponding to the target electronic control equipment is displayed according to the operation page data so as to operate the target electronic control equipment based on the operation page, so that the control reliability of the electronic control equipment is improved.
Further, as shown in fig. 3, a third embodiment of the control method of the electronic control apparatus of the present invention is proposed.
In a third embodiment of the control method of the electronic control apparatus, the control method of the electronic control apparatus includes:
step S30, the server receives an electronic control equipment control request sent by the mobile terminal; the mobile terminal scans the standard image-text identifier of the electronic control equipment, determines target electronic control equipment and sends an electronic control equipment control request corresponding to the target electronic control equipment to the server;
Step S40, feeding back the operation page data of the target electronic control device to the mobile terminal, so that the mobile terminal displays an operation page corresponding to the target electronic control device according to the operation page data, so as to operate the target electronic control device based on the operation page.
In this embodiment, the control method of the electronic control device may be optionally applied to a server, and optionally, the server includes, but is not limited to, a cloud platform and the like. The electronic control equipment is controlled through the server and the mobile terminal, wherein the mobile terminal comprises terminal equipment such as a smart phone, a PAD (tablet personal computer) and the like, the electronic control equipment is equipment controlled through networking and comprises equipment such as a charging pile, a printer, an oiling machine, an automobile and the like, each electronic control equipment is configured with a corresponding standard image-text identifier when leaving a factory, the standard image-text identifier of the electronic control equipment is associated with the server, and the electronic control equipment can be identified through the standard image-text identifier.
When a user needs to control the electronic control equipment, the mobile terminal scans the standard image-text identifier of the electronic control equipment to acquire corresponding equipment information, wherein the equipment information comprises, but is not limited to, equipment type, specification model, equipment serial number and the like of the electronic control equipment. And the mobile terminal determines target electronic control equipment to be controlled according to the obtained equipment information. For example, the mobile terminal identifies the target electronic control device based on the acquired device serial number information. And determining the target electronic control equipment, and sending an electronic control equipment control request corresponding to the target electronic control equipment to a server by the mobile terminal.
Alternatively, in another implementation example, the server identifies the standard graphic identifier, and determines the target electronic control device to be controlled. Optionally, the control method of the electronic control device further includes:
step h, when the standard image-text identifier sent by the mobile terminal is received, the standard image-text identifier is identified, and corresponding equipment information is obtained;
and i, determining the target electronic control equipment according to the equipment information.
Optionally, the mobile terminal scans a standard image-text identifier of the electronic control device, sends the standard image-text identifier to the server, and when the server receives the standard image-text identifier, identifies the standard image-text identifier to acquire corresponding device information. And then the server determines the target electronic control equipment to be controlled currently according to the acquired equipment information. For example, the server identifies the target electronic control device based on the acquired device serial number information.
When the server receives an electronic control equipment control request corresponding to the target electronic control equipment sent by the mobile terminal, the server feeds back operation page data corresponding to the target electronic control equipment to the mobile terminal. And the mobile terminal receives and acquires operation page data corresponding to the target electronic control equipment fed back by the server.
Optionally, the server records operation page data corresponding to each electronic control device, when receiving an electronic control device control request corresponding to the target electronic control device sent by the mobile terminal, the server queries the recorded operation page data corresponding to each electronic control device, acquires the operation page data corresponding to the target electronic control device, and feeds back the operation page data to the mobile terminal.
When the mobile terminal acquires the operation page data corresponding to the target electronic control equipment, displaying the corresponding operation page corresponding to the target electronic control equipment according to the operation page data. And then, the user can operate the target electronic control equipment based on the operation page displayed by the mobile terminal. For example, the general user performs a corresponding control operation through the operation page, and controls the target electronic control device. In another example, a maintenance person or a manager performs operations such as querying the operation parameters of the target electronic control device through the operation page, and modifying the operation parameters of the target electronic control device. Compared with the mode of directly controlling the electronic control equipment on the electronic control equipment, the electronic control equipment is controlled through the mobile terminal, so that the user experience is greatly improved, and the control convenience of the electronic control equipment is improved.
Optionally, after the step S30, the method further includes:
step j, carrying out identity verification on the user of the mobile terminal, and judging whether the user has the authority to control the target electronic control equipment or not;
the step S40 includes:
and step k, if the user has the authority to control the target electronic control equipment, feeding back the operation page data of the target electronic control equipment to the mobile terminal so that the mobile terminal can display an operation page corresponding to the target electronic control equipment according to the operation page data to operate the target electronic control equipment based on the operation page.
Optionally, in order to improve the use security of the electronic control device, when receiving the control request of the electronic control device sent by the mobile terminal, the server performs identity verification on the user of the mobile terminal, and determines whether the user has the authority to control the target electronic control device. And feeding back the operation page data of the target electronic control equipment to the mobile terminal only when the user has the authority to control the target electronic control equipment, and displaying an operation page corresponding to the target electronic control equipment by the mobile terminal according to the operation page data so as to control the target electronic control equipment based on the operation page. When the user does not have the right to control the target electronic control device, no response processing is performed.
Further, the step k includes:
step k1, if the user has the authority to control the target electronic control equipment, acquiring personalized operation page data of the user to the target electronic control equipment according to the identity information of the user and the target electronic control equipment;
and step k2, feeding back the personalized operation page data to the mobile terminal so that the mobile terminal can display a corresponding personalized operation page according to the personalized operation page data to operate the target electronic control equipment based on the personalized operation page.
Further, when the user has the right to control the target electronic control equipment, the server acquires personalized operation page data of the user to the target electronic control equipment according to the identity information of the user and the target electronic control equipment, and feeds back the personalized operation page data to the mobile terminal. And the mobile terminal displays a corresponding personalized operation page according to the personalized operation page data so as to operate the target electronic control equipment based on the personalized operation page, thereby further improving user experience.
Optionally, for a target electronic control device needing to pay, when receiving a control request of the electronic control device sent by the mobile terminal, the server first performs prepaid operation. And only when the prepayment is completed, the server feeds back the operation page data of the target electronic control equipment to the mobile terminal, and the mobile terminal displays an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page.
According to the scheme provided by the embodiment, the target electronic control equipment is determined by scanning the standard image-text identifier of the electronic control equipment through the mobile terminal, the electronic control equipment control request corresponding to the target electronic control equipment is sent to the server, when the server receives the electronic control equipment control request, the operation page data of the target electronic control equipment are fed back to the mobile terminal, and the mobile terminal displays the operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page. That is, the user can control the electronic control device through the mobile terminal, so that the convenience of control of the electronic control device is improved.
Further, a fourth embodiment of the control method of the electronic control apparatus of the present invention is proposed. The fourth embodiment of the control method of the electronic control apparatus differs from the third embodiment of the control method of the electronic control apparatus in that, in the fourth embodiment of the control method of the electronic control apparatus, the step i includes:
step i1, judging whether the equipment information corresponds to a unique electronic control equipment;
and step i2, if the equipment information corresponds to the unique electronic control equipment, determining the unique electronic control equipment corresponding to the equipment information as the target electronic control equipment.
In order to accurately determine the target electronic control device to be controlled and further operate the target electronic control device, in this embodiment, after the server identifies the standard image-text identifier and obtains the corresponding device information, it is detected and judged whether the device information corresponds to a unique electronic control device. Optionally, since the equipment serial number is uniquely corresponding to the electronic control equipment, after the equipment information is acquired, judging whether the equipment information contains the equipment serial number information, and when the equipment information contains the equipment serial number information, judging that the equipment information corresponds to the unique electronic control equipment; when the device information does not contain the device serial number information, it is determined that the device information does not correspond to the unique electronic control device.
It will be appreciated that, in addition to determining whether the device information corresponds to a unique electronic control device by the device serial number, it may be determined whether the device information corresponds to a unique electronic control device by other means, and is not limited to the device serial numbers in the above-listed examples.
When it is determined that the device information corresponds to the unique electronic control device, the server determines the target electronic control device according to the device information, and the specific operation is as described in the third embodiment, which is not described herein.
Further, after the step i1, the method further includes:
step i3, if the device information does not correspond to the unique electronic control device, sending device selection interface data containing a plurality of electronic control devices to the mobile terminal, so that the mobile terminal displays a device selection interface containing a plurality of electronic control devices according to the device selection interface data, and sending confirmation information of the selected electronic control devices to the server when detecting the electronic control device selection operation based on the device selection interface;
and step i4, when receiving the confirmation information of the selected electronic control equipment, determining the selected electronic control equipment as the target electronic control equipment.
Further, in an actual application scenario, there may be a plurality of electronic control devices with the same model and the same brand, and the device information of the electronic control devices is consistent, so that the target electronic control device to be controlled cannot be determined only according to the device information. In an implementation example, when the device information acquired by the server does not correspond to a unique electronic control device, that is, when the device information corresponds to a plurality of electronic control devices, the server sends device selection interface data including the plurality of electronic control devices corresponding to the device information to the mobile terminal.
When the mobile terminal receives the equipment selection interface data which are sent by the server and contain a plurality of electronic control equipment, the corresponding equipment selection interface containing the plurality of electronic control equipment is displayed according to the equipment selection interface data. In this way, the user can select the electronic control device to be controlled from the plurality of electronic control devices based on the device selection interface. And when the mobile terminal detects the electronic control equipment selection operation based on the equipment selection interface, sending the confirmation information of the selected electronic control equipment to the server.
And when the server receives the confirmation information sent by the mobile terminal, the selected electronic control equipment is determined to be the target electronic control equipment. After that, the server feeds back the operation page data of the target electronic control device to the mobile terminal, and the specific operation may be described with reference to the third embodiment, which is not described herein.
And the mobile terminal displays an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page, thereby improving the interactive experience of a user and improving the control flexibility and applicability of the electronic control equipment.
Optionally, after step i1, the method further includes:
step i5, if the equipment information does not correspond to the unique electronic control equipment, acquiring the current position information of the mobile terminal;
and step i6, determining the target electronic control equipment according to the equipment information and the position information.
Alternatively, in another implementation example, when the acquired device information corresponds to a plurality of electronic control devices, the target electronic control device is determined by the device information and the geographical position information. Specifically, when the acquired device information does not correspond to the unique electronic control device, the server acquires current position information of the mobile terminal. Optionally, the location information may invoke a geographic location information interface of the mobile terminal itself to obtain; alternatively, the information can be obtained through related application programs of the mobile terminal; alternatively, it may be obtained through interaction with a third party platform. In the present embodiment, the specific manner of acquiring the position information is not limited.
And then, the server accurately identifies and determines the target electronic control equipment according to the acquired equipment information and the position information.
Further, there is a possibility that a plurality of electronic control apparatuses of the same model of the same brand are placed in the same place, and the apparatus information and the position information of these electronic control apparatuses are identical, in which case, when the server determines the target electronic control apparatus from the apparatus information and the position information, a plurality of electronic control apparatuses corresponding to the apparatus information and the position information are identified. And when the acquired equipment information and the position information correspond to the plurality of electronic control equipment, the server feeds back equipment selection interface data containing the plurality of electronic control equipment corresponding to the equipment information and the position information to the mobile terminal.
When the mobile terminal receives the equipment selection interface data of a plurality of electronic control equipment corresponding to the equipment information and the position information and fed back by the server, the corresponding equipment selection interface containing the plurality of electronic control equipment is displayed according to the equipment selection interface data. In this way, the user can select the electronic control device to be controlled by himself from the plurality of electronic control devices based on the device selection interface. And when the mobile terminal detects the electronic control equipment selection operation based on the equipment selection interface, sending the confirmation information of the selected electronic control equipment to the server.
And when the server receives the confirmation information sent by the mobile terminal, the selected electronic control equipment is determined to be the target electronic control equipment. And then, the server feeds back the operation page data of the target electronic control equipment to the mobile terminal, and the mobile terminal displays an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page.
According to the scheme provided by the embodiment, when the acquired equipment information does not correspond to the unique electronic control equipment, the current position information of the mobile terminal is acquired, the target electronic control equipment is accurately identified and determined according to the equipment information and the position information, the operation page data of the target electronic control equipment is fed back to the mobile terminal, and the mobile terminal displays the operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page, so that the control reliability of the electronic control equipment is improved.
In addition, an embodiment of the present invention also proposes a computer-readable storage medium, on which an electronic control device control program is stored, which when executed by a processor, implements the operations of:
The mobile terminal scans a standard image-text identifier of the electronic control equipment, determines target electronic control equipment and acquires operation page data of the target electronic control equipment;
and displaying an operation page corresponding to the target electronic control equipment according to the operation page data so as to operate the target electronic control equipment based on the operation page.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
the mobile terminal scans the standard image-text identifier of the electronic control equipment, identifies the standard image-text identifier and acquires corresponding equipment information;
determining target electronic control equipment according to the equipment information; or (b)
The mobile terminal scans the standard image-text identifier of the electronic control equipment, sends the standard image-text identifier to a server, so that the server can identify the standard image-text identifier, acquire corresponding equipment information, and determine target electronic control equipment according to the equipment information.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
judging whether the equipment information corresponds to a unique electronic control equipment or not;
And if the equipment information corresponds to the unique electronic control equipment, executing the step to determine the target electronic control equipment according to the equipment information.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
if the equipment information does not correspond to the unique electronic control equipment, displaying an equipment selection interface comprising a plurality of electronic control equipment;
and when the electronic control device selection operation based on the device selection interface is detected, determining the selected electronic control device as the target electronic control device.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
if the equipment information does not correspond to the unique electronic control equipment, acquiring the current position information of the mobile terminal;
and determining the target electronic control equipment according to the equipment information and the position information.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
the server receives an electronic control equipment control request sent by the mobile terminal; the mobile terminal scans the standard image-text identifier of the electronic control equipment, determines target electronic control equipment and sends an electronic control equipment control request corresponding to the target electronic control equipment to the server;
And feeding back the operation page data of the target electronic control equipment to the mobile terminal so that the mobile terminal can display an operation page corresponding to the target electronic control equipment according to the operation page data, and operate the target electronic control equipment based on the operation page.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
when the standard image-text identifier sent by the mobile terminal is received, the standard image-text identifier is identified, and corresponding equipment information is obtained;
and determining the target electronic control equipment according to the equipment information.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
judging whether the equipment information corresponds to a unique electronic control equipment or not;
and if the equipment information corresponds to the unique electronic control equipment, determining the unique electronic control equipment corresponding to the equipment information as the target electronic control equipment.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
if the equipment information does not correspond to the unique electronic control equipment, sending equipment selection interface data containing a plurality of electronic control equipment to the mobile terminal so that the mobile terminal can display equipment selection interfaces containing the plurality of electronic control equipment according to the equipment selection interface data, and sending confirmation information of the selected electronic control equipment to the server when detecting the electronic control equipment selection operation based on the equipment selection interfaces;
And when receiving the confirmation information of the selected electronic control equipment, determining the selected electronic control equipment as the target electronic control equipment.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
if the equipment information does not correspond to the unique electronic control equipment, acquiring the current position information of the mobile terminal;
and determining the target electronic control equipment according to the equipment information and the position information.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
performing identity verification on a user of the mobile terminal, and judging whether the user has the authority to control the target electronic control equipment or not;
if yes, executing the step of feeding back the operation page data of the target electronic control equipment to the mobile terminal so that the mobile terminal can display an operation page corresponding to the target electronic control equipment according to the operation page data, and operating the target electronic control equipment based on the operation page.
Further, the electronic control device control program when executed by the processor further realizes the following operations:
If yes, acquiring personalized operation page data of the user on the target electronic control equipment according to the identity information of the user and the target electronic control equipment;
and feeding back the personalized operation page data to the mobile terminal so that the mobile terminal can display a corresponding personalized operation page according to the personalized operation page data, and operate the target electronic control equipment based on the personalized operation page.
According to the scheme provided by the embodiment, the target electronic control equipment is determined by scanning the standard image-text identifier of the electronic control equipment through the mobile terminal, the operation page data of the target electronic control equipment is obtained, and the operation page corresponding to the target electronic control equipment is displayed according to the operation page data so as to operate the target electronic control equipment based on the operation page. That is, the user can control the electronic control device through the mobile terminal, so that the convenience of control of the electronic control device is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.