CN111465121B - Equipment control method, first equipment, second equipment and electronic equipment - Google Patents

Equipment control method, first equipment, second equipment and electronic equipment Download PDF

Info

Publication number
CN111465121B
CN111465121B CN202010238269.9A CN202010238269A CN111465121B CN 111465121 B CN111465121 B CN 111465121B CN 202010238269 A CN202010238269 A CN 202010238269A CN 111465121 B CN111465121 B CN 111465121B
Authority
CN
China
Prior art keywords
equipment
power supply
power
powered
supply information
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.)
Active
Application number
CN202010238269.9A
Other languages
Chinese (zh)
Other versions
CN111465121A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010238269.9A priority Critical patent/CN111465121B/en
Publication of CN111465121A publication Critical patent/CN111465121A/en
Application granted granted Critical
Publication of CN111465121B publication Critical patent/CN111465121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/385Transceivers carried on the body, e.g. in helmets

Abstract

The application discloses a device control method, a first device, a second device and an electronic device, wherein when the first device and the second device are required to be started simultaneously, the first device and the second device are powered on simultaneously, a communication path is established simultaneously, and after feedback information of all power-on completion of the first device and the second device is obtained, a control instruction is sent through the established communication path to control the first device and the second device, so that the situation that the power supply of the second device can be completed within a certain time after the first device sends a power-on request is avoided, the first device controls the second device within the time difference, the control error is caused, and the user experience is improved.

Description

Equipment control method, first equipment, second equipment and electronic equipment
Technical Field
The present application relates to the field of wearable devices, and in particular, to a device control method, a first device, a second device, and an electronic device.
Background
The control scheme of the integrated VR or AR equipment is that after a power-on request is received, each functional device is directly controlled to be powered on and work, and if the control scheme is directly transplanted to the split equipment, the split equipment can be controlled wrongly.
Disclosure of Invention
In view of this, the present application provides an apparatus control method, a first apparatus, a second apparatus and an electronic apparatus, and the scheme is as follows:
a device control method is applied to a first device and comprises the following steps:
acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request;
acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established;
and if the first equipment and the second equipment are determined to be completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate.
Further, the feedback information is used to indicate whether the establishment of the communication path is completed, and includes:
and if second power supply information sent by the second equipment is acquired, the communication path is determined to be established.
Further, the obtaining of the feedback information includes:
acquiring first power supply information, wherein the first power supply information is used for representing whether all first functional devices on the first equipment are completely powered on;
acquiring second power supply information sent by the second equipment, wherein the second power supply information is used for representing whether all second functional devices of the second equipment are completely powered on;
generating feedback information based on the first power supply information and the second power supply information.
Further, the second power supply information sent by the second device is transmitted to the first device through the communication path.
Further, the acquiring the second power supply information sent by the second device includes:
and obtaining second power supply information sent by a second communication module of the second equipment, wherein the second power supply information is sent to a first communication module of the first equipment by a second communication module of the second equipment after fourth power supply information used for representing whether the second equipment is powered on is sent to the second communication module of the second equipment by a plurality of second functional devices of the second equipment.
Further, the obtaining of the feedback information includes:
acquiring third power supply information which is sent by each first functional device in the first equipment and used for representing whether the first functional device is powered on or not;
acquiring fourth power supply information of each second functional device in the second equipment, wherein the fourth power supply information is used for representing whether the second functional device is powered on or not;
generating feedback information based on the third power supply information and the fourth power supply information.
A device control method is applied to a second device and comprises the following steps:
acquiring a power-on instruction sent by first equipment based on a power-on request, and controlling a plurality of second functional devices of second equipment to be powered on based on the power-on instruction;
acquiring fourth power supply information which is respectively sent by a plurality of second functional devices of the second equipment and used for representing whether the second equipment is powered on or not;
establishing a communication path between the first device and the second device based on the power-on instruction;
sending the fourth power supply information to the first device through the communication path;
and receiving a control instruction of the first device.
A first device, comprising:
the first communication module is used for establishing a communication path with a second communication module of the second equipment;
the processor is used for acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; and if the first equipment and the second equipment are determined to be completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate.
A second device, comprising:
a plurality of second functional devices, wherein one or more devices having different functions are included in the plurality of second functional devices;
the second communication module is used for acquiring a power-on instruction sent by the first equipment based on the power-on request and controlling the plurality of second functional devices to be powered on based on the power-on instruction; acquiring fourth power supply information which is respectively sent by the second functional devices and used for representing whether the second functional devices are powered on or not; establishing a communication path between the first device and the second device based on the power-on instruction; sending the fourth power supply information to the first device through the communication path; and receiving a control instruction of the first device.
An electronic device, comprising: a first device and a second device, wherein:
the first device includes:
the first communication module is used for establishing a communication path with a second communication module of the second equipment;
the processor is used for acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; if the first equipment and the second equipment are completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate;
the second device includes:
a plurality of second functional devices, wherein one or more devices having different functions are included in the plurality of second functional devices;
the second communication module is used for acquiring a power-on instruction sent by the first equipment based on the power-on request and controlling the plurality of second functional devices to be powered on based on the power-on instruction; acquiring fourth power supply information which is respectively sent by the second functional devices and used for representing whether the second functional devices are powered on or not; establishing a communication path between the first device and the second device based on the power-on instruction; sending the fourth power supply information to the first device through the communication path; and receiving a control instruction of the first device.
According to the technical scheme, the device control method, the first device, the second device and the electronic device obtain the power-on request, control the first device and the second device to be powered on based on the power-on request, and control the first device and the second device to establish the communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; and if the first equipment and the second equipment are completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate. According to the scheme, after the instruction for starting the first device and the second device is obtained, the first device and the second device are controlled to be powered on, and a communication path between the first device and the second device is established. And after feedback information that all the first equipment and the second equipment are powered on and the communication path is established is acquired, the first equipment and the second equipment are controlled to start to operate, the problem that control errors can be caused by directly controlling the first equipment and the second equipment to be powered on and operate after a power-on request is received is avoided, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 2 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 3 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 4 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a first apparatus disclosed in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a second apparatus disclosed in the embodiments of the present application;
fig. 7 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
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 is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application discloses a device control method, which is applied to a first device, and the flow chart is shown in fig. 1, and comprises the following steps:
step S11, acquiring a power-on request, controlling the first device and the second device to be powered on based on the power-on request, and controlling the first device and the second device to establish a communication path based on the power-on request;
split-type devices, typically comprising at least a first device and a second device, for example: a split AR device, comprising: control end equipment and head end equipment, because control end equipment and head end equipment are separated, when using, the head end equipment is worn on user's head, and control end equipment is on user's hand or on one's body to control AR equipment, head end equipment and control end equipment are through wired or wireless connection, when control end equipment is controlled head end equipment, need be with control signal transmission to head end equipment, respond by head end equipment, realize control.
If the control end equipment controls the head end equipment to be powered on, the controller of the control end equipment sends a power-on command to the head end equipment after receiving the power-on request, the head end equipment responds, the head end equipment powers on each functional device of the head end equipment, and a communication path is established between the control end equipment and the head end equipment (the communication path is used for transmitting the control command of the control end equipment to the head end equipment after the split type equipment starts to operate). The head-end equipment receives the power-on instruction of the control-end equipment, responds to the power-on instruction to power on the functional equipment and establishes a communication path, which all need a certain time. After the control end device sends the power-on instruction to the head end device, it cannot be determined when the head end device completes power-on and when the communication path is successfully established, so that the control end device will default to transmit the power-on instruction to the head end device, and then the control end device will consider that the power-on is completed, and at this time, if the controller of the control end device sends a start instruction for controlling the operation of the head end device to the head end device. The head-end equipment may fail to operate or fail due to the communication path being established successfully or some functional devices being not powered up.
If the control end device controls one or more functional devices on the head end device, the one or more functional devices on the head end device cannot respond to the control effectively, and a control error is caused. The plurality of functional devices may be different kinds or functions of functional devices, and include one or more of a camera, a photosensor, a pressure sensor, a gyroscope, a control module, and the like.
In this embodiment, the processor is disposed on the first device (in this embodiment, the first device may be regarded as a control-end device), and when the first device acquires the power-on request, the first device sends a power-on instruction to the second device based on the power-on request (in this embodiment, the second device may be regarded as a head-end device), and establishes a communication path between the first device and the second device, and meanwhile, the first device also responds to the power-on request, so that the power-on of the plurality of first functional devices on the first device is completed. The plurality of first functional devices and the plurality of second functional devices may be different kinds or different functional devices, for example, one or more of a camera, a photosensor, a pressure sensor, a gyroscope, a control module, and the like.
Specifically, after the first device obtains the power-on request, the first device controls a plurality of first functional devices of the first device to be powered on, and also controls a plurality of second functional devices of the second device to be powered on, that is, the first device sends a power-on instruction to the second device, so that the plurality of second functional devices on the second device are powered on;
after the first device acquires the power-on request, the first device also controls the first device and the second device to establish a communication path based on the power-on request. Specifically, a first communication module is arranged on the first device, a second communication module is arranged on the second device, the first communication module is used for establishing a communication path with the second communication module, and after the communication path is completed, a control signal sent to the second device by the first device is transmitted based on the communication path, or a hardware data signal sent to the first device by the second device is transmitted.
The power-on instruction is sent from the first device to the second device without passing through the communication path, which may specifically be: the power management module is arranged on the first equipment, the power management module on the first equipment controls the power supply conditions of each device in the first equipment and the second equipment, and if the first equipment controls the second equipment to be powered on based on the power-on request, the first equipment directly transmits current to the second equipment so as to power on each functional device on the second equipment. It should be noted that, in this case, the first device and the second device may be connected by a wire.
Wherein, the power-on request may be: a user presses a start button on first equipment or second equipment, at this time, (a processor of) the first equipment acquires a power-on request, and both the first equipment and the second equipment need to be controlled to be powered on so as to respond to the power-on request; or, a sensor on the first device detects a signal, and then the processor of the first device generates a power-on request based on the signal;
alternatively, the following may be used: some sensor on the second device detects information such as: the first sensor on the second device detects a signal indicating that the second device is worn on the head of the user, and transmits the detected signal to the first device, and the first device generates a power-on request based on the signal and controls the power-on of the functional devices on the first device and the second device.
Step S12, feedback information is obtained, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely electrified or not and whether the establishment of the communication path is completed or not;
the feedback information is used to represent whether the first device and the second device are completely powered on, specifically, the first device may obtain a signal indicating whether each first functional device on the first device is powered on, and also obtain a signal indicating whether each second functional device on the second device is powered on, combine the obtained signal indicating whether each first functional device of the first device is powered on and the obtained signal indicating whether each second functional device of the second device is powered on, obtain the feedback information indicating whether the first device and the second device are completely powered on, and then directly send the feedback information to the processor of the first device, where the processor only needs to obtain one feedback information to determine whether all the functional devices on the first device and the second device are powered on.
Specifically, the combination of the acquired signal indicating whether each functional device of the first device is powered on and the acquired signal indicating whether each functional device of the second device is powered on may be a first communication module of the first device, where the first communication module may receive the signal indicating whether each functional device of the first device is powered on and may also receive the signal indicating whether each functional device of the second device is powered on, and after receiving the signals, the first communication module directly combines the signals to obtain a total signal, and then the first communication module only needs to send the combined feedback information to the processor, and does not need to send a plurality of signals indicating whether the functional devices of different devices are powered on to the processor.
The feedback information can also indicate whether the establishment of the communication path is completed, and specifically, if the first device acquires the information that whether the powering on of the plurality of second functional devices sent by the second device is completed, it indicates that the establishment of the communication path between the first device and the second device is completed. If the second device sends information to the first device, the second device needs to transmit the information to the first device through the communication path between the first device and the second device, so that as long as the first device can receive the information sent by the second device, the establishment of the communication path between the first device and the second device can be confirmed, and the information can be transmitted.
And step S13, if it is determined that the first device and the second device are completely powered on and the communication path is established, sending a control instruction to control the first device and the second device to operate.
The processor of the first device acquires the feedback information, determines that the first device and the second device are completely powered on based on the feedback information, and establishes the communication path, which indicates that the first device and the second device can be started or controlled by the system and can perform other operations. In this embodiment, the control of the first device and the second device may be system start for controlling the first device and the second device, or may be switching from a standby state to an operating state for controlling the first device and the second device.
If the feedback information indicates that part of functional devices on the first equipment or the second equipment are not powered on and completed, continuing to wait for information whether the functional devices sent by the first equipment or the second equipment are powered on and completed, and sending a control instruction for subsequent control until the feedback information that all the functional devices of the first equipment and the second equipment are powered on and completed is obtained.
Further, it is determined that the first device and the second device are all powered on, and the following method may be used, for example:
after the power-on request is obtained and a first preset time length passes, the first equipment and the second equipment are determined to be completely powered on, wherein the first preset time length is at least not shorter than the time length required by each functional device in the first equipment and the second equipment to be powered on.
Specifically, when the processor acquires a power-on request, that is, timing is started, and in the timing process, the processor controls each functional device of the first device and the second device to be powered on, however, each functional device of the first device and the second device does not need to feed back power supply information, and only the processor needs to determine in advance the time length required by the power-on completion of each functional device of the first device and the second device, and then determines the time length of the longest time length required by the power-on completion of all the functional devices of the first device and the second device as a first predetermined time length, the processor only needs to start timing when the processor acquires the power-on request, after the first predetermined time length is set, considers that all the functional devices of the first device and the second device are powered on, and at this time, the timing is stopped, and any one functional device of the first device and the second device can be controlled.
Alternatively, it may be:
and if the feedback information is acquired, determining that the first equipment and the second equipment are completely powered on.
That is, as long as the processor acquires the feedback information, it indicates that the first device and the second device are all powered on completely. Specifically, the following may be mentioned: each functional device in the first equipment and the second equipment can feed back power supply information only after the functional device is powered on, if any functional device in the first equipment or the second equipment is not powered on, the power supply information cannot be fed back, the power supply information does not exist, and the processor cannot necessarily have feedback information.
Or even if there is a functional device that does not complete power supply in the first device or the second device, the power supply information may be fed back, but the processor may not assemble the multiple pieces of power supply information that include the incomplete power supply into the feedback information, that is, as long as the processor does not acquire the feedback information, even if it acquires the multiple pieces of power supply information, it may not indicate that all the functional devices have been powered up.
Alternatively, it may be:
and determining that the feedback information indicates that each functional device in the first equipment and the second equipment is powered on completely, and determining that the first equipment and the second equipment are powered on completely.
In this scheme, it is not identified whether the acquired power supply information includes power supply information that does not complete power supply, but only a plurality of pieces of power supply information are acquired, the acquired power supply information is summarized into one piece of feedback information, and only the processor identifies the feedback information, so that it is determined whether each functional device is powered on completely.
In this embodiment, feedback information that can represent whether the first device and the second device are powered on is acquired, so as to determine whether the first device and the second device are powered on completely and whether the communication path is established completely, which realizes that the subsequent control can be continued only after the first device and the second device are powered on completely and the communication path is established completely, thereby avoiding the problem of control error caused by the fact that part of functional devices on the first device or the second device are controlled without being powered on completely.
In this embodiment, various control instructions or control information are integrated or sent by the processor of the first device, the processor of the first device controls the first device and the second device, the second device is provided with a plurality of functional devices and a second communication module for establishing a communication path, the processor or the controller is not arranged on the second device, and the processor of the first device directly controls each functional device on the second device, so that the problems of large weight and heating of the second device due to more circuits and devices on the second device caused by the arrangement of the controller on the second device are avoided, and the problem of user experience is reduced if the second device is worn on the head of a user; and only set up each functional device on the second equipment, do not set up treater or controller, will reduce circuit and device on the second equipment, and can not appear the problem of generating heat, when wearing the second equipment on the user head, can improve user experience.
The device control method disclosed in this embodiment includes acquiring a power-on request, controlling a first device and a second device to be powered on based on the power-on request, and controlling the first device and the second device to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; and if the first equipment and the second equipment are completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate. According to the scheme, after the instruction for starting the first device and the second device is obtained, the first device and the second device are controlled to be powered on, and a communication path between the first device and the second device is established. And after feedback information that all the first equipment and the second equipment are powered on and the communication path is established is acquired, the first equipment and the second equipment are controlled to start to operate, the problem that control errors can be caused by directly controlling the first equipment and the second equipment to be powered on and operate after a power-on request is received is avoided, and user experience is improved.
The embodiment discloses an apparatus control method, which is applied to a first apparatus, and a flowchart of the apparatus control method is shown in fig. 2, and includes:
step S21, acquiring a power-on request, controlling the first device and the second device to be powered on based on the power-on request, and controlling the first device and the second device to establish a communication path based on the power-on request;
step S22, acquiring first power supply information, wherein the first power supply information is used for representing whether all first functional devices on the first equipment are completely powered on;
step S23, obtaining second power supply information sent by the second device, where the second power supply information is used to represent whether all second functional devices of the second device are powered on completely;
step S24, generating feedback information based on the first power supply information, namely the second power supply information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is completely established;
the first power supply information indicating whether all the first functional devices on the first device are powered on is sent to the processor of the first device in a unified manner, or the first power supply information can be sent to the first communication module of the first device in a unified manner and then sent to the processor by the first communication module.
The first power supply information can represent whether all functional devices on the first equipment are powered on or not, namely, the power-on information of all functional devices on the first equipment is summarized through one piece of first power supply information.
Specifically, it may be: each first functional device on the first equipment sends the information of whether the first functional device is powered on to a first specific module of the first equipment, the first specific module collects the information of whether the first functional device on the first equipment is powered on to obtain first power supply information, and then the first specific module sends the first power supply information to a second specific module so that the second specific module can generate feedback information based on the first power supply information and the second power supply information, and the processor can obtain the feedback information.
The first specific module may be the first communication module or another module on the electronic device, and the second specific module may be the first communication module or the processor.
And the second power supply information of whether all the second functional devices on the second equipment are powered on is also uniformly sent to the first communication module of the first equipment, the second power supply information and the first power supply information are summarized into feedback information by the first communication module, or the second power supply information and the first power supply information are directly sent to the processor by the first communication module and are summarized into the feedback information by the processor.
The second power supply information can represent whether all the functional devices on the second equipment are powered on, that is, the power supply information of all the functional devices on the second equipment is summarized through one piece of second power supply information.
Specifically, the following may be mentioned: each second functional device on the second equipment sends information of whether the second functional device is electrified to a second communication module of the second equipment, the second communication module collects the information of whether each second functional device on the second equipment is electrified to obtain second power supply information, then the second communication module transmits the second power supply information to a first communication module of the first equipment through a communication path, the first communication module collects the first power supply information and the second power supply information to form feedback information, and then the feedback information is directly sent to the processor; or the first communication module sends the second power supply information to the processor, the processor receives the second power supply information and the first power supply information, and the processor summarizes the first power supply information and the second power supply information to form feedback information.
After a second communication module of the second device acquires fourth power supply information indicating whether each second functional device on the second device is powered on, the second communication module assembles the acquired fourth power supply information of all the second functional devices into second power supply information, and then sends the second power supply information to the first device. And the second communication module of the second device is only used for acquiring the information, summarizing the information, sending the summarized information out, and not performing other processing on the summarized information. The second equipment can only collect various hardware information and then transmit the hardware information to the first equipment to be processed by the first equipment, and the second equipment does not have the function of processing the information, so that devices and circuits on the second equipment are reduced, and the purposes of reducing weight and reducing heat dissipation are achieved.
The second power supply information of the second device is transmitted through a communication path established between the first communication module and the second communication module, the second communication module of the second device transmits the second power supply information to the first communication module of the first device through the communication path, and as long as the first device can acquire the second power supply information transmitted by the second device through the communication path, the first device can indicate that the establishment of the communication path between the first device and the second device is completed, and the information between the first device and the second device can be transmitted.
And step S25, if it is determined that the first device and the second device are completely powered on and the communication path is established, sending a control instruction to control the first device and the second device to operate.
According to the scheme, after the instruction for starting the first device and the second device is obtained, the first device and the second device are controlled to be powered on, and a communication path between the first device and the second device is established. And after feedback information that all the first equipment and the second equipment are powered on and the communication path is established is acquired, the first equipment and the second equipment are controlled to start to operate, the problem that control errors can be caused by directly controlling the first equipment and the second equipment to be powered on and operate after a power-on request is received is avoided, and user experience is improved.
The embodiment discloses an apparatus control method, which is applied to a first apparatus, and a flowchart of the apparatus control method is shown in fig. 3, and includes:
step S31, acquiring a power-on request, controlling the first device and the second device to be powered on based on the power-on request, and controlling the first device and the second device to establish a communication path based on the power-on request;
step S32, third power supply information which is sent by each first functional device in the first equipment and used for representing whether the first functional device is electrified or not is obtained;
step S33, obtaining fourth power supply information of each second functional device in the second equipment, wherein the fourth power supply information is used for representing whether the second functional device is powered on or not;
step S34, generating feedback information based on the third power supply information and the fourth power supply information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is completely established;
each first functional device in the first device sends a third power supply message for indicating whether the first functional device is powered on to the processor, and the processor receives a plurality of third power supply messages sent by the plurality of first functional devices.
Specifically, the following may be mentioned: each first functional device in the first equipment is connected with the first communication module, third power supply information representing whether the first equipment is electrified or not is sent to the first communication module, and the first communication module sends a plurality of third power supply information to the processor; alternatively, the following may be used: each first functional device in the first equipment is directly connected with the processor, and third power supply information which indicates whether the first functional device is powered on or not is directly sent to the processor.
Each second functional device in the second device also directly sends fourth power supply information representing whether the second functional device is powered on or not to the first device through the second communication module, and the processor also receives a plurality of fourth power supply information sent by the plurality of second functional devices.
Specifically, the following may be mentioned: each second function device in the second equipment is connected with a second communication module in the second equipment, each second function device can represent whether fourth power supply information is completely powered on per se and send the fourth power supply information to the second communication module, the second communication module can receive a plurality of fourth power supply information, then the second communication module sends the received fourth power supply information to a first communication module of the first equipment through a communication path established between the first equipment and the second equipment, and the first communication module sends the fourth power supply information to the processor after receiving the fourth power supply information.
The processor receives the plurality of third power supply information and the plurality of fourth power supply information, summarizes the plurality of third power supply information and the plurality of fourth power supply information to obtain feedback information, and then directly determines whether all functional devices in the first equipment and the second equipment are powered on completely based on the feedback information so as to perform subsequent control.
And step S35, if it is determined that the first device and the second device are completely powered on and the communication path is established, sending a control instruction to control the first device and the second device to operate.
The device control method disclosed in this embodiment includes acquiring a power-on request, controlling a first device and a second device to be powered on based on the power-on request, and controlling the first device and the second device to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; and if the first equipment and the second equipment are completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate. According to the scheme, when the first device and the second device need to be started simultaneously, the first device and the second device are powered on simultaneously, the communication path is established simultaneously, and after feedback information of all power-on completion of the first device and the second device is obtained, the control instruction is sent through the established communication path to control the first device and the second device, so that the situation that power supply of the second device can be completed within a certain time after the first device sends a power-on request is avoided, the first device controls the second device within the time difference, the control error is caused, and the user experience is improved.
The embodiment discloses an apparatus control method applied to a second apparatus, and a flowchart thereof is shown in fig. 4, including:
step S41, acquiring a power-on instruction sent by the first device based on the power-on request, and controlling a plurality of second functional devices of the second device to be powered on based on the power-on instruction;
step S42, fourth power supply information which is respectively sent by a plurality of second functional devices of the second equipment and used for representing whether the second equipment is powered on or not is obtained;
step S43, establishing a communication path between the first device and the second device based on the power-on instruction;
step S44, fourth power supply information is sent to the first equipment through the communication path; and receiving a control instruction of the first device.
In this embodiment, the processor is disposed on the first device, and when the first device obtains the power-on request, the first device sends a power-on instruction to the second device based on the power-on request, and establishes a communication path between the first device and the second device, and meanwhile, the first device also responds to the power-on request, so that the power-on of the plurality of first functional devices on the first device is completed.
Specifically, after the first device obtains the power-on request, the first device may control a plurality of first functional devices of the first device to be powered on, and may also control a plurality of second functional devices of the second device to be powered on, that is, the first device may send a power-on instruction to the second device, so as to power on the plurality of second functional devices on the second device.
After the first device acquires the power-on request, the first device also controls the first device and the second device to establish a communication path based on the power-on request. Specifically, a first communication module is arranged on the first device, a second communication module is arranged on the second device, the first communication module is used for establishing a communication path with the second communication module, and after the communication path is completed, a control signal sent to the second device by the first device is transmitted based on the communication path, or a hardware data signal sent to the first device by the second device is transmitted. After the second device is powered on and a communication path is successfully established with the first device, the second device can also receive a control instruction sent by the first device, and the control instruction is used for controlling the first device to start running.
The power-on instruction is sent from the first device to the second device without passing through the communication path, which may specifically be: the power management module is arranged on the first equipment, the power management module on the first equipment controls the power supply conditions of each device in the first equipment and the second equipment, and if the first equipment controls the second equipment to be powered on based on the power-on request, the first equipment directly transmits current to the second equipment so as to power on each functional device on the second equipment. It should be noted that, in this case, the first device and the second device may be connected by a wire.
Wherein, the power-on request may be: a user presses a start button on first equipment or second equipment, at this time, (a processor of) the first equipment acquires a power-on request, and both the first equipment and the second equipment need to be controlled to be powered on so as to respond to the power-on request; or, a sensor on the first device detects a signal, and then the processor of the first device generates a power-on request based on the signal;
alternatively, the following may be used: some sensor on the second device detects information such as: the first sensor on the second device detects a signal indicating that the second device is worn on the head of the user, and transmits the detected signal to the first device, and the first device generates a power-on request based on the signal and controls the power-on of the functional devices on the first device and the second device.
Each second functional device in the second device directly sends fourth power supply information representing whether the second functional device is powered on or not to the first device through the second communication module, and the processor also receives a plurality of fourth power supply information sent by the plurality of second functional devices.
Specifically, the following may be mentioned: each second function device in the second equipment is connected with a second communication module in the second equipment, each second function device can represent whether fourth power supply information is completely powered on per se and send the fourth power supply information to the second communication module, the second communication module can receive a plurality of fourth power supply information, then the second communication module sends the received fourth power supply information to a first communication module of the first equipment through a communication path established between the first equipment and the second equipment, and the first communication module sends the fourth power supply information to the processor after receiving the fourth power supply information.
Or each second functional device on the second equipment sends the information of whether the second functional device is electrified to a second communication module of the second equipment, the second communication module collects the information of whether each second functional device on the second equipment is electrified to obtain second power supply information, then the second communication module transmits the second power supply information to a first communication module of the first equipment through a communication path, the first communication module collects the first power supply information and the second power supply information to form feedback information, and then the feedback information is directly sent to the processor; or the first communication module sends the second power supply information to the processor, the processor receives the second power supply information and the first power supply information, and the processor summarizes the first power supply information and the second power supply information to form feedback information.
After a second communication module of the second device acquires fourth power supply information indicating whether each second functional device on the second device is powered on, the second communication module assembles the acquired fourth power supply information of all the second functional devices into second power supply information, and then sends the second power supply information to the first device. And the second communication module of the second device is only used for acquiring the information, summarizing the information, sending the summarized information out, and not performing other processing on the summarized information. The second equipment can only collect various hardware information and then transmit the hardware information to the first equipment to be processed by the first equipment, and the second equipment does not have the function of processing the information, so that devices and circuits on the second equipment are reduced, and the purposes of reducing weight and reducing heat dissipation are achieved.
The second power supply information of the second device is transmitted through a communication path established between the first communication module and the second communication module, the second communication module of the second device transmits the second power supply information to the first communication module of the first device through the communication path, and as long as the first device can acquire the second power supply information transmitted by the second device through the communication path, the first device can indicate that the establishment of the communication path between the first device and the second device is completed, and the information between the first device and the second device can be transmitted.
The device control method disclosed in this embodiment is applied to a second device, which does not need to include a processor and does not process data, the second device only performs data processing and sending functions, the processor of the first device integrates or sends various control instructions or control information, the processor of the first device controls the first device and the second device, the second device is provided with a plurality of functional devices and a second communication module for establishing a communication path, the processor or the controller is not arranged on the second device, the processor of the first device directly controls each functional device on the second device, thereby avoiding the problems that the second device has a larger weight and generates heat due to more circuits and devices on the second device caused by the arrangement of the controller on the second device, and if the second device is worn on the head of a user, the problem of reduced user experience; and only set up each functional device on the second equipment, do not set up treater or controller, will reduce circuit and device on the second equipment, and can not appear the problem of generating heat, when wearing the second equipment on the user head, can improve user experience.
The embodiment discloses a first device, a schematic structural diagram of which is shown in fig. 5, and the first device includes:
a first communication module 51 and a processor 52. In this embodiment, the first communication module may be an FPGA module.
The first communication module 51 is configured to establish a communication path with a second communication module of the second device;
the processor 52 is configured to obtain a power-on request, control the first device and the second device to be powered on based on the power-on request, and control the first device and the second device to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; and if the first equipment and the second equipment are completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate.
In this embodiment, the processor is disposed on the first device, and when the first device obtains the power-on request, the first device sends the power-on request to the second device, and meanwhile, the first device also responds to the power-on request, so that the power-on of the plurality of first functional devices on the first device is completed.
After the power-on request is obtained, the first equipment can control a plurality of first functional devices of the first equipment to be powered on, and can also control a plurality of second functional devices of the second equipment to be powered on at the same time, namely the first equipment can send the power-on request to the second equipment so as to power on the plurality of second functional devices on the second equipment;
after the first device acquires the power-on request, the first device also controls the first device and the second device to establish a communication path based on the power-on request. Specifically, a first communication module is arranged on the first device, a second communication module is arranged on the second device, the first communication module is used for establishing a communication path with the second communication module, and after the communication path is completed, a control signal sent to the second device by the first device is transmitted based on the communication path, or a hardware data signal sent to the first device by the second device is transmitted.
The sending of the power-on request from the first device to the second device does not need to pass through the communication path, and may specifically be: the power management module is arranged on the first equipment, the power management module on the first equipment controls the power supply conditions of each device in the first equipment and the second equipment, and if the first equipment controls the second equipment to be powered on based on the power supply request, the first equipment directly transmits current to the second equipment so as to power on each functional device on the second equipment. It should be noted that, in this case, the first device and the second device may be connected by a wire.
The above contents may be referred to as an obtaining manner of the power-on request, which is not described herein again.
The feedback information is used to represent whether the first device and the second device are completely powered on, specifically, the first device may obtain a signal indicating whether each first functional device on the first device is powered on, and also obtain a signal indicating whether each second functional device on the second device is powered on, combine the obtained signal indicating whether each first functional device of the first device is powered on and the obtained signal indicating whether each second functional device of the second device is powered on, obtain the feedback information indicating whether the first device and the second device are completely powered on, and then directly send the feedback information to the processor of the first device, where the processor only needs to obtain one feedback information to determine whether all the functional devices on the first device and the second device are powered on.
The feedback information can also characterize whether the establishment of the communication path is complete. For the specific scheme of the feedback information such as the load expression communication path, reference is made to the above contents, which are not repeated herein.
The processor of the first device acquires the feedback information, determines that the first device and the second device are completely powered on based on the feedback information, and if the establishment of the communication path is completed, it indicates that both the first device and the second device are started and completed, and other operations can be performed.
If the feedback information indicates that part of functional devices on the first equipment or the second equipment are not powered on and completed, continuing to wait for information whether the functional devices sent by the first equipment or the second equipment are powered on and completed, and sending a control instruction for subsequent control until the feedback information that all the functional devices of the first equipment and the second equipment are powered on and completed is obtained.
In this embodiment, feedback information that can represent whether the first device and the second device are powered on is acquired, so as to determine whether the first device and the second device are powered on completely and whether the communication path is established completely, which realizes that the subsequent control can be continued only after the first device and the second device are powered on completely and the communication path is established completely, thereby avoiding the problem of control error caused by the fact that part of functional devices on the first device or the second device are controlled without being powered on completely.
In this embodiment, various control instructions or control information are integrated or sent by the processor of the first device, the processor of the first device controls the first device and the second device, the second device is provided with a plurality of functional devices and a second communication module for establishing a communication path, the processor or the controller is not arranged on the second device, and the processor of the first device directly controls each functional device on the second device, so that the problems of large weight and heating of the second device due to more circuits and devices on the second device caused by the arrangement of the controller on the second device are avoided, and the problem of user experience is reduced if the second device is worn on the head of a user; and only set up each functional device on the second equipment, do not set up treater or controller, will reduce circuit and device on the second equipment, and can not appear the problem of generating heat, when wearing the second equipment on the user head, can improve user experience.
Further, the processor 52 obtains feedback information, including:
the processor acquires first power supply information, wherein the first power supply information is used for representing whether all first functional devices on the first equipment are completely powered on; acquiring second power supply information sent by the second equipment, wherein the second power supply information is used for representing whether all second functional devices of the second equipment are completely powered on; generating feedback information based on the first power supply information and the second power supply information.
The first power supply information indicating whether all the first functional devices on the first device are powered on is sent to the processor of the first device in a unified manner, or the first power supply information can be sent to the first communication module of the first device in a unified manner and then sent to the processor by the first communication module.
The first power supply information can represent whether all functional devices on the first equipment are powered on or not, namely, the power-on information of all functional devices on the first equipment is summarized through one piece of first power supply information.
And the second power supply information of whether all the second functional devices on the second equipment are powered on is also uniformly sent to the first communication module of the first equipment, the second power supply information and the first power supply information are summarized into feedback information by the first communication module, or the second power supply information and the first power supply information are directly sent to the processor by the first communication module and are summarized into the feedback information by the processor.
The second power supply information can represent whether all the functional devices on the second equipment are powered on, that is, the power supply information of all the functional devices on the second equipment is summarized through one piece of second power supply information.
After a second communication module of the second device acquires fourth power supply information indicating whether each second functional device on the second device is powered on, the second communication module assembles the acquired fourth power supply information of all the second functional devices into second power supply information, and then sends the second power supply information to the first device. And the second communication module of the second device is only used for acquiring the information, summarizing the information, sending the summarized information out, and not performing other processing on the summarized information. The second equipment can only collect various hardware information and then transmit the hardware information to the first equipment to be processed by the first equipment, and the second equipment does not have the function of processing the information, so that devices and circuits on the second equipment are reduced, and the purposes of reducing weight and reducing heat dissipation are achieved.
The second power supply information of the second device is transmitted through a communication path established between the first communication module and the second communication module, the second communication module of the second device transmits the second power supply information to the first communication module of the first device through the communication path, and as long as the first device can acquire the second power supply information transmitted by the second device through the communication path, the first device can indicate that the establishment of the communication path between the first device and the second device is completed, and the information between the first device and the second device can be transmitted.
Further, the processor 52 obtains the feedback information, which may include:
the processor acquires third power supply information which is sent by each first functional device in the first equipment and used for representing whether the first functional device is powered on or not; acquiring fourth power supply information of each second functional device in the second equipment, wherein the fourth power supply information is used for representing whether the second functional device is powered on or not; and generating feedback information based on the third power supply information and the fourth power supply information.
Each first functional device in the first device sends a third power supply message for indicating whether the first functional device is powered on to the processor, and the processor receives a plurality of third power supply messages sent by the plurality of first functional devices.
Specifically, the following may be mentioned: each first functional device in the first equipment is connected with the first communication module, third power supply information representing whether the first equipment is electrified or not is sent to the first communication module, and the first communication module sends a plurality of third power supply information to the processor; alternatively, the following may be used: each first functional device in the first equipment is directly connected with the processor, and third power supply information which indicates whether the first functional device is powered on or not is directly sent to the processor.
Each second functional device in the second device also directly sends fourth power supply information representing whether the second functional device is powered on or not to the first device through the second communication module, and the processor also receives a plurality of fourth power supply information sent by the plurality of second functional devices.
Specifically, the following may be mentioned: each second function device in the second equipment is connected with a second communication module in the second equipment, each second function device can represent whether fourth power supply information is completely powered on per se and send the fourth power supply information to the second communication module, the second communication module can receive a plurality of fourth power supply information, then the second communication module sends the received fourth power supply information to a first communication module of the first equipment through a communication path established between the first equipment and the second equipment, and the first communication module sends the fourth power supply information to the processor after receiving the fourth power supply information.
The processor receives the plurality of third power supply information and the plurality of fourth power supply information, summarizes the plurality of third power supply information and the plurality of fourth power supply information to obtain feedback information, and then directly determines whether all functional devices in the first equipment and the second equipment are powered on completely based on the feedback information so as to perform subsequent control.
According to the scheme, after the instruction for starting the first device and the second device is obtained, the first device and the second device are controlled to be powered on, and a communication path between the first device and the second device is established. And after feedback information that all the first equipment and the second equipment are powered on and the communication path is established is acquired, the first equipment and the second equipment are controlled to start to operate, the problem that control errors can be caused by directly controlling the first equipment and the second equipment to be powered on and operate after a power-on request is received is avoided, and user experience is improved.
The embodiment discloses a second device, a schematic structural diagram of which is shown in fig. 6, and the second device includes:
a plurality of second functional devices 61 and a second communication module 62. Wherein the plurality of second functional devices include one or more devices having different functions. In this embodiment, the second communication module may be an FPGA module.
The second communication module 62 is configured to obtain a power-on instruction sent by the first device based on the power-on request, and control the plurality of second functional devices to be powered on based on the power-on instruction; acquiring fourth power supply information which is respectively sent by the second functional devices and used for representing whether the second functional devices are powered on or not; establishing a communication path between the first device and the second device based on the power-on instruction; sending the fourth power supply information to the first device through the communication path; and receiving a control instruction of the first device.
In this embodiment, if the processor is disposed on the first device, when the first device obtains the power-on request, the first device sends the power-on request to the second device, and meanwhile, the first device also responds to the power-on request, so that the power-on of the plurality of first functional devices on the first device is completed.
After the first device acquires the power-on request, the first device also controls the first device and the second device to establish a communication path based on the power-on request. Specifically, a first communication module is arranged on the first device, a second communication module is arranged on the second device, the first communication module is used for establishing a communication path with the second communication module, and after the communication path is completed, a control signal sent to the second device by the first device is transmitted based on the communication path, or a hardware data signal sent to the first device by the second device is transmitted.
The sending of the power-on request from the first device to the second device does not need to pass through the communication path, and may specifically be: the power management module is arranged on the first equipment, the power management module on the first equipment controls the power supply conditions of each device in the first equipment and the second equipment, and if the first equipment controls the second equipment to be powered on based on the power supply request, the first equipment directly transmits current to the second equipment so as to power on each functional device on the second equipment. It should be noted that, in this case, the first device and the second device may be connected by a wire.
Wherein, the power-on request may be: a user presses a start button on first equipment, at the moment, the first equipment acquires a power-on request, and the first equipment and second equipment need to be controlled to be powered on so as to respond to the power-on request; alternatively, a sensor on the first device detects a signal, and the processor of the first device then generates a power-up request based on the signal.
Each second functional device in the second device directly sends fourth power supply information representing whether the second functional device is powered on or not to the first device through the second communication module, and the processor also receives a plurality of fourth power supply information sent by the plurality of second functional devices.
Specifically, the following may be mentioned: each second function device in the second equipment is connected with a second communication module in the second equipment, each second function device can represent whether fourth power supply information is completely powered on per se and send the fourth power supply information to the second communication module, the second communication module can receive a plurality of fourth power supply information, then the second communication module sends the received fourth power supply information to a first communication module of the first equipment through a communication path established between the first equipment and the second equipment, and the first communication module sends the fourth power supply information to the processor after receiving the fourth power supply information.
Or each second functional device on the second equipment sends the information of whether the second functional device is electrified to a second communication module of the second equipment, the second communication module collects the information of whether each second functional device on the second equipment is electrified to obtain second power supply information, then the second communication module transmits the second power supply information to a first communication module of the first equipment through a communication path, the first communication module collects the first power supply information and the second power supply information to form feedback information, and then the feedback information is directly sent to the processor; or the first communication module sends the second power supply information to the processor, the processor receives the second power supply information and the first power supply information, and the processor summarizes the first power supply information and the second power supply information to form feedback information.
After a second communication module of the second device acquires fourth power supply information indicating whether each second functional device on the second device is powered on, the second communication module assembles the acquired fourth power supply information of all the second functional devices into second power supply information, and then sends the second power supply information to the first device. And the second communication module of the second device is only used for acquiring the information, summarizing the information, sending the summarized information out, and not performing other processing on the summarized information. The second equipment can only collect various hardware information and then transmit the hardware information to the first equipment to be processed by the first equipment, and the second equipment does not have the function of processing the information, so that devices and circuits on the second equipment are reduced, and the purposes of reducing weight and reducing heat dissipation are achieved.
The second power supply information of the second device is transmitted through a communication path established between the first communication module and the second communication module, the second communication module of the second device transmits the second power supply information to the first communication module of the first device through the communication path, and as long as the first device can acquire the second power supply information transmitted by the second device through the communication path, the first device can indicate that the establishment of the communication path between the first device and the second device is completed, and the information between the first device and the second device can be transmitted.
The second device disclosed in this embodiment does not include a processor and does not process data, the second device can only process and send data, and the processor of the first device integrates or sends various control instructions or control information, the processor of the first device controls the first device and the second device, the second device is provided with a plurality of functional devices and a second communication module for establishing a communication path, the processor or the controller is not arranged on the second equipment, and the processor of the first equipment directly controls each functional device on the second equipment, thereby avoiding the problems that the second equipment has more circuits and devices and the second equipment has heavier weight due to the arrangement of the controller on the second equipment, the second device is worn on the head of the user, so that the user experience is reduced; and only set up each functional device on the second equipment, do not set up treater or controller, will reduce circuit and device on the second equipment, and can not appear the problem of generating heat, when wearing the second equipment on the user head, can improve user experience.
The embodiment discloses an electronic device, a schematic structural diagram of which is shown in fig. 7, including:
a first device 71 and a second device 72.
The first device 71 includes:
the first communication module is used for establishing a communication path with a second communication module of the second equipment;
the processor is used for acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether the first equipment and the second equipment are completely powered on and whether the communication path is established; if the first equipment and the second equipment are completely powered on and the communication path is established based on the feedback information, sending a control instruction to control the first equipment and the second equipment to operate;
the second device includes:
a plurality of second functional devices, wherein one or more devices having different functions are included in the plurality of second functional devices.
The second communication module is used for acquiring a power-on instruction sent by the first equipment based on the power-on request and controlling the plurality of second functional devices to be powered on based on the power-on instruction; acquiring fourth power supply information which is respectively sent by a plurality of second functional devices and used for representing whether the second functional devices are powered on or not; establishing a communication path between the first device and the second device based on the power-on instruction; and sending the fourth power supply information to the first equipment through the communication path.
The electronic device disclosed in this embodiment is implemented based on the device control method disclosed in the above embodiment, and the specific implementation manner of the electronic device disclosed in this embodiment is based on the above embodiment, which is not described herein again.
According to the scheme, after the instruction for starting the first device and the second device is obtained, the first device and the second device are controlled to be powered on, and a communication path between the first device and the second device is established. And after feedback information that all the first equipment and the second equipment are powered on and the communication path is established is acquired, the first equipment and the second equipment are controlled to start to operate, the problem that control errors can be caused by directly controlling the first equipment and the second equipment to be powered on and operate after a power-on request is received is avoided, and user experience is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A device control method is applied to a first device and comprises the following steps:
acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request;
acquiring feedback information, wherein the feedback information is used for representing whether all first functional devices on the first equipment and all second functional devices on the second equipment are powered on completely and whether the communication path is established completely;
and if all the first functional devices on the first equipment and all the second functional devices on the second equipment are determined to be powered on and completed based on the feedback information and the communication path is established, sending a control instruction to control the first equipment and the second equipment to operate.
2. The method of claim 1, wherein the feedback information is used to indicate whether the establishment of the communication path is completed, and comprises:
and if second power supply information sent by the second equipment is acquired, the communication path is determined to be established.
3. The method of claim 1, wherein the obtaining feedback information comprises:
acquiring first power supply information, wherein the first power supply information is used for representing whether all first functional devices on the first equipment are completely powered on;
acquiring second power supply information sent by the second equipment, wherein the second power supply information is used for representing whether all second functional devices of the second equipment are completely powered on;
generating feedback information based on the first power supply information and the second power supply information.
4. The method of claim 3, wherein the second power information sent by the second device is transmitted to the first device via the communication path.
5. The method of claim 3, wherein the obtaining second power supply information sent by the second device comprises:
and obtaining second power supply information sent by a second communication module of the second equipment, wherein the second power supply information is sent to a first communication module of the first equipment by a second communication module of the second equipment after fourth power supply information used for representing whether the second equipment is powered on is sent to the second communication module of the second equipment by a plurality of second functional devices of the second equipment.
6. The method of claim 1, wherein the obtaining feedback information comprises:
acquiring third power supply information which is sent by each first functional device in the first equipment and used for representing whether the first functional device is powered on or not;
acquiring fourth power supply information of each second functional device in the second equipment, wherein the fourth power supply information is used for representing whether the second functional device is powered on or not;
generating feedback information based on the third power supply information and the fourth power supply information.
7. A device control method is applied to a second device and comprises the following steps:
acquiring a power-on instruction sent by first equipment based on a power-on request, and controlling a plurality of second functional devices of second equipment to be powered on based on the power-on instruction;
acquiring fourth power supply information which is respectively sent by a plurality of second functional devices of the second equipment and used for representing whether the second equipment is powered on or not;
establishing a communication path between the first device and the second device based on the power-on instruction;
sending the fourth power supply information to the first device through the communication path;
and receiving a control instruction of the first device.
8. A first device, comprising:
the first communication module is used for establishing a communication path with a second communication module of the second equipment;
the processor is used for acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether all first functional devices on the first equipment and all second functional devices on the second equipment are powered on completely and whether the communication path is established completely; and if all the first functional devices on the first equipment and all the second functional devices on the second equipment are determined to be powered on and completed based on the feedback information and the communication path is established, sending a control instruction to control the first equipment and the second equipment to operate.
9. A second device, comprising:
a plurality of second functional devices, wherein one or more devices having different functions are included in the plurality of second functional devices;
the second communication module is used for acquiring a power-on instruction sent by the first equipment based on the power-on request and controlling the plurality of second functional devices to be powered on based on the power-on instruction; acquiring fourth power supply information which is respectively sent by the second functional devices and used for representing whether the second functional devices are powered on or not; establishing a communication path between the first device and the second device based on the power-on instruction; sending the fourth power supply information to the first device through the communication path; and receiving a control instruction of the first device.
10. An electronic device, comprising: a first device and a second device, wherein:
the first device includes:
the first communication module is used for establishing a communication path with a second communication module of the second equipment;
the processor is used for acquiring a power-on request, controlling the first equipment and the second equipment to be powered on based on the power-on request, and controlling the first equipment and the second equipment to establish a communication path based on the power-on request; acquiring feedback information, wherein the feedback information is used for representing whether all first functional devices on the first equipment and all second functional devices on the second equipment are powered on completely and whether the communication path is established completely; if all the first functional devices on the first equipment and all the second functional devices on the second equipment are determined to be powered on and completed based on the feedback information and the communication path is established, sending a control instruction to control the first equipment and the second equipment to operate;
the second device includes:
a plurality of second functional devices, wherein one or more devices having different functions are included in the plurality of second functional devices;
the second communication module is used for acquiring a power-on instruction sent by the first equipment based on the power-on request and controlling the plurality of second functional devices to be powered on based on the power-on instruction; acquiring fourth power supply information which is respectively sent by the second functional devices and used for representing whether the second functional devices are powered on or not; establishing a communication path between the first device and the second device based on the power-on instruction; sending the fourth power supply information to the first device through the communication path; and receiving a control instruction of the first device.
CN202010238269.9A 2020-03-30 2020-03-30 Equipment control method, first equipment, second equipment and electronic equipment Active CN111465121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010238269.9A CN111465121B (en) 2020-03-30 2020-03-30 Equipment control method, first equipment, second equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010238269.9A CN111465121B (en) 2020-03-30 2020-03-30 Equipment control method, first equipment, second equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN111465121A CN111465121A (en) 2020-07-28
CN111465121B true CN111465121B (en) 2022-04-22

Family

ID=71679294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010238269.9A Active CN111465121B (en) 2020-03-30 2020-03-30 Equipment control method, first equipment, second equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN111465121B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112218008B (en) * 2020-10-12 2024-01-23 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207612270U (en) * 2018-01-22 2018-07-13 北京凌宇智控科技有限公司 A kind of clock system, head show locator, locating base station and handle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074103B (en) * 2010-11-01 2012-05-09 航天东方红卫星有限公司 Universal remote control front end
JP5849457B2 (en) * 2011-06-24 2016-01-27 ソニー株式会社 Wireless operation terminal and information processing apparatus
CN108196674A (en) * 2017-12-29 2018-06-22 梁穗 Physical model for virtually sensing reality, system and implementation method by virtual unit sensing real model
CN110009960A (en) * 2019-04-02 2019-07-12 中科恒运股份有限公司 Virtual implementing helmet formula weaponry simulated training method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207612270U (en) * 2018-01-22 2018-07-13 北京凌宇智控科技有限公司 A kind of clock system, head show locator, locating base station and handle

Also Published As

Publication number Publication date
CN111465121A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2017101047A1 (en) Charging control method and device, power adapter, and mobile terminal
US10959122B2 (en) Method and device for transmitting data
US9622001B2 (en) Method of remotely fitting a hearing aid system, a remote hearing aid fitting system and a hearing aid
WO2017117730A1 (en) Rapid charging method, mobile terminal and adapter
US9389816B2 (en) Image forming apparatus that transmits and receives maintenance work data to and from information processing apparatus, method of controlling the same, and storage medium
US11455012B2 (en) USB docking station with output power adjustment and method thereof
KR20200110086A (en) Method for establishing wireless communication link and electronic device supporting the same
US20190265981A1 (en) Function enhancement apparatus, control method, and program product
CN111465121B (en) Equipment control method, first equipment, second equipment and electronic equipment
JP2016218972A (en) USB hub device
CN112968752A (en) Baud rate switching method and device for UART communication and initiator terminal
CN113746821B (en) Intelligent device control method and device, storage medium and electronic device
CN113613346B (en) Network connection method, device, storage medium and electronic equipment
CN114245362A (en) Device reconnection method and Bluetooth peripheral
JP3978523B2 (en) Power supply device, electronic device and power supply system
KR20010067494A (en) Pet feeding system using internet
KR101739187B1 (en) Wireless interface apparatus based on rf energy harvesting and control method for wireless interface apparatus based on rf energy harvesting
JP2009296293A (en) Communication apparatus
JP2003209939A (en) Power supply controller provided with proxy response function and power supply control program
WO2017143594A1 (en) Speech acquisition control method for speech remote controller, speech remote controller, and controlled device
CN109698755B (en) Power supply control method, power supply device and power receiving device
CN112311035A (en) Charging control method, charging control device and readable storage medium
EP3896552A1 (en) Power-saving control apparatus , image processing apparatus, power-saving control method, and carrier means
JP2019169960A (en) Control device, apparatus operation system, control method and program
CN114216200B (en) Control method, control system, electronic equipment and storage medium for interconnection of air conditioners

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
GR01 Patent grant
GR01 Patent grant