WO2023078317A1 - Remote startup method, electronic device and system - Google Patents

Remote startup method, electronic device and system Download PDF

Info

Publication number
WO2023078317A1
WO2023078317A1 PCT/CN2022/129406 CN2022129406W WO2023078317A1 WO 2023078317 A1 WO2023078317 A1 WO 2023078317A1 CN 2022129406 W CN2022129406 W CN 2022129406W WO 2023078317 A1 WO2023078317 A1 WO 2023078317A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
processor
cloud server
instruction
response
Prior art date
Application number
PCT/CN2022/129406
Other languages
French (fr)
Chinese (zh)
Inventor
肖后飞
张金明
裘风光
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023078317A1 publication Critical patent/WO2023078317A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the designated routing device applied to the above remote boot process is a dedicated routing device with designated functions, and the designated routing device is located in the same local area network as the electronic device that can control remote booting. At the same time, the electronic The device and the designated routing device also need to configure the designated parameters in advance, the steps are extremely cumbersome, and the operation is also very inconvenient.
  • the second processor is specifically configured to: acquire the first parameter information from the first processor in response to the first input.
  • the second processor is specifically configured to: obtain the status of the first processor through the power management module.
  • the power-on command is sent to the power management module.
  • the present application provides a remote power-on method, the method is applied to a first electronic device, and the method includes: the first electronic device controls the first processor and the second processor to be powered on.
  • the first electronic device receives a first input.
  • the first electronic device obtains the first parameter information.
  • the first electronic device establishes a communication connection with the cloud server through the second processor based on the first parameter information.
  • the first parameter information includes the account ID and corresponding account password of the first electronic device, network configuration information, and the domain name and/or IP address of the cloud server.
  • the acquiring the first parameter information by the first electronic device specifically includes: in response to the first input, the first electronic device acquires the first parameter information through the first processor.
  • the present application provides a remote boot method.
  • the controlled device is integrated with a main processor and a secondary processor for executing a remote boot program.
  • the controlled device may trigger the secondary processor to establish a communication connection with the cloud server and establish a keep-alive link, and then trigger the main processor to disconnect the power supply.
  • the sub-processor and the cloud server can keep the communication connection uninterrupted based on the above-mentioned keep-alive link.
  • the master control device may send a start-up instruction to the controlled device through the cloud server. After the controlled device receives the power-on instruction through the sub-processor, it can trigger the main processor to turn on the power supply.
  • the description about the keep-alive link will be described in detail in subsequent embodiments, and will not be repeated here.
  • the remote boot method does not require the use of additional remote boot devices (for example, the aforementioned remote boot unit independent of the controlled device), nor does it need to perform parameter configuration on the additional remote boot devices , the steps are simple and easy to operate.
  • the remote start-up module is integrated in the controlled device, which also facilitates unified management of the cloud server.
  • the electronic device 100 may be a smart phone, a vehicle-mounted device, a tablet computer, or other types of electronic devices.
  • the electronic device 100 can establish a communication connection with the cloud server 200 . Based on the above communication connection, the electronic device 100 can perform data communication with the cloud server 200 .
  • the electronic device 100 may receive device status information of the electronic device 300 sent by the cloud server 200 (for example, status information that the electronic device 300 is powered on, status information that the electronic device 300 is powered off, etc.).
  • the electronic device 100 may also receive an input from the user for turning on the electronic device 300, and in response to the input, the electronic device 100 may send a start-up instruction to the cloud server 200 based on the above-mentioned communication connection, so as to remotely turn on the electronic device 300, so that the electronic device The main processor in 300 is powered on.
  • the boot instruction may include an identification of the electronic device 300 (for example, a serial number (serial number) of the electronic device 300, a device identification number (identity document, ID) of the electronic device 300, a MAC address of the electronic device 300, etc.) .
  • the above-mentioned state of the electronic device 300 being turned on refers to a state in which the main processor (for example, a central processing unit (CPU)) in the electronic device 300 is powered on; the above-mentioned electronic device 300 has been powered off.
  • the state of refers to the state where the main processor in the electronic device 300 is powered off.
  • the cloud server 200 can send the boot command received from the electronic device 100 to the electronic device 300 to remotely turn on the electronic device 300, so that the main processor in the electronic device 300 is powered on.
  • the cloud server 200 may also receive the device status information of the electronic device 300 sent by the electronic device 300 based on the communication connection with the electronic device 300 (for example, the status information that the electronic device 300 is powered on, the status information that the electronic device 300 is powered off, etc.) .
  • the cloud server 200 may also receive the power-on command sent by the electronic device 300 every specified period 1 (for example, every 1 minute) based on the communication connection with the electronic device 300.
  • the keep-alive request then sends a keep-alive response to the electronic device 300, so that the communication link with the electronic device 300 is not interrupted.
  • the description of the keep-alive request and the keep-alive response will be described in detail in subsequent embodiments, and will not be repeated here.
  • FIG. 2A exemplarily shows a schematic diagram of a hardware structure of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the I2S interface can be used for audio communication.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal. Both the I2S interface and the PCM interface can be used for audio communication.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • the wireless communication solution provided by the mobile communication module 150 can enable the electronic device to communicate with devices (such as servers) in the network.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the electronic device 100 can detect or scan devices near the electronic device 100 by transmitting signals through the Bluetooth module and the WLAN module in the wireless communication module 160 , and establish wireless communication connections with nearby devices and transmit data.
  • the bluetooth module can provide one or more bluetooth communication solutions including classic bluetooth (bluetooth 2.1 standard) or bluetooth low energy consumption.
  • the WLAN module can provide one or more WLAN communication solutions including Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, etc.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (non-volatile memory, NVM).
  • RAM random access memory
  • NVM non-volatile memory
  • Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (synchronous dynamic random access memory, SDRAM), double data rate synchronous Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as the fifth generation DDR SDRAM is generally called DDR5SDRAM), etc.;
  • SRAM static random-access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous Dynamic random access memory double data rate synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • DDR5SDRAM double data rate synchronous dynamic random access memory
  • Non-volatile memory may include magnetic disk storage devices, flash memory (flash memory).
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • the non-volatile memory can also store executable programs and data of users and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
  • the external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 .
  • the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external non-volatile memory.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C.
  • the electronic device 100 can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals.
  • the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the bone conduction sensor 180M may be used to acquire vibration signals.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • Motor 191 can be used for incoming call vibration prompt, also can be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • FIG. 2B exemplarily shows a schematic diagram of a hardware structure of a cloud server 200 provided by an embodiment of the present application.
  • the cloud server 200 can be applied to the communication system 10 described above in FIG. 1 .
  • the cloud server 200 may include one or more processors 201A, communication interface 202A, and memory 203A.
  • the processor 201A, communication interface 202A, and memory 203A may be connected via a bus or in other ways. In the embodiment of the present application, the connection via the bus 204A is example. in:
  • the communication interface 202A may be a wired interface (for example, an Ethernet interface) or a wireless interface (for example, a cellular network interface), for communicating with other nodes.
  • the communication interface 202A can be specifically used to communicate with the electronic device 100 and the electronic device 300, so that the cloud server 200 can perform data communication with the electronic device 100 and the electronic device 300 based on the communication interface 202A.
  • the cloud server 200 may receive the device status information of the electronic device 300 sent by the electronic device 300 based on the communication interface 202A, receive the power-on command sent by the electronic device 100, send the above-mentioned power-on command to the electronic device 300, and so on.
  • Memory 203A can include volatile memory (volatile memory), such as random access memory (random access memory, RAM); also can include non-volatile memory (non-vlatile memory), such as ROM, flash memory (flash memory) ), a hard disk drive (Hard Disk Drive, HDD) or a solid state disk (Solid State Drives, SSD); the storage 203A may also include a combination of the above types of storage.
  • the memory 203A can be used to store the device information of the electronic device 300 (for example, the device name of the electronic device 300, the version number of the software used by the electronic device 300 for remote booting, the version number of the hardware, etc.).
  • the memory 203A may also store some program codes, so that the processor 201A calls the program codes stored in the memory 203A to implement the implementation method in the cloud server 200 of the embodiment of the present application.
  • the cloud server 200 shown in FIG. 2B is only an implementation of the embodiment of the present application. In practical applications, the cloud server 200 may include more or fewer components, which is not limited here.
  • FIG. 2C exemplarily shows a schematic diagram of a hardware structure of an electronic device 300 provided in an embodiment of the present application.
  • the power management module 301 can be used to receive an external power supply or a current input from a battery built in the electronic device 300 to supply power to the main processor 302 , the secondary processor 303 , the memory 304 and the wireless communication module 305 .
  • the power management module 301 can also be used to detect parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance) in the electronic device 300 .
  • the power management module 301 can also be set in the main processor 302 .
  • the main processor 302 may include one or more processor units, for example, the main processor 302 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal Processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • main processor 302 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or USB interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB interface etc.
  • the secondary processor 303 may be a Microcontroller Unit (MCU), or a microprocessor including a RAM unit.
  • the secondary processor 303 can be used to maintain current input based on the power management module 301 and establish a communication connection with the cloud server 200 when the power management module 301 controls the main processor 302 to disconnect the power supply.
  • the secondary processor 303 can perform data interaction with the cloud server 200 based on the communication connection. For example, when the secondary processor 303 does not receive the boot command sent by the cloud server 200 , the secondary processor 303 may send a keep-alive request to the cloud server 200 , and then receive a keep-alive response from the cloud server 200 .
  • the sub-processor 303 can query the state information of the main processor 302, if the sub-processor 303 obtains that the state of the main processor 302 is a power-off state, then The sub-processor 303 may send the above boot command to the power management module 301, so that the power management module 301 may control the main processor 302 to turn on the power based on the boot command.
  • the sub-processor 303 can also be used to obtain status information of the main processor 302 after the power management module 301 enables the main processor 302 to be powered on, and send the status information to the cloud server 200 .
  • the secondary processor 303 can also be used to control the main processor 302 to cut off the power supply through the power management module 301 based on the shutdown command when the main processor 302 needs to cut off the power supply in response to the user's input.
  • the memory 304 can be coupled to the main processor 302 and/or the secondary processor 303 for storing various software programs and/or sets of instructions.
  • memory 304 can include volatile memory (volatile memory), such as random access memory (random access memory, RAM); A memory (flash memory), a hard disk drive (Hard Disk Drive, HDD) or a solid state disk (Solid State Drives, SSD); the memory 304 may also include a combination of the above types of memory.
  • the memory 304 may store some program codes, so that the main processor 302 and/or the sub-processor 303 can call the program codes stored in the memory 304 to implement the implementation method in the electronic device 300 of the embodiment of the present application.
  • the memory 304 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, and RTLinux.
  • the wireless communication module 305 may include a WLAN communication module 305A.
  • the electronic device 300 may establish a wireless communication connection with the cloud server 200 through one or more wireless communication technologies in WLAN, and perform data transmission and data reception based on the wireless communication connection.
  • the WLAN communication module 305A can provide wireless fidelity direct (wireless fidelity direct, Wi-Fi direct), wireless fidelity local area networks (wireless fidelity local area networks, Wi-Fi LAN) or wireless fidelity software access point (wireless One or more WLAN communication solutions in fidelity software access point, Wi-Fi softAP).
  • the wireless communication module 305 can receive electromagnetic waves via an antenna (not shown in the figure), frequency-modulate and filter the electromagnetic wave signals, and send the processed signals to the main processor 302 and/or the sub-processor 303 .
  • the wireless communication module 305 can also receive the signal to be sent from the main processor 302 and/or the sub-processor 303, perform frequency modulation on it, amplify it, and convert it into electromagnetic wave and radiate it through the antenna.
  • the wireless communication module (also referred to as the first network module) 305 may also include a bluetooth module (not shown in the figure), wherein the bluetooth module may provide classic bluetooth (bluetooth 2.1 standard) or A solution for one or more Bluetooth communications in low power consumption (bluetooth low energy, BLE).
  • the wireless communication module 305 can also provide information on the electronic device 300 including global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared Technology (infrared, IR), cellular network communication and other wireless communication solutions.
  • the display screen 306 may be used to display images, videos, and the like.
  • Display 306 may include a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 300 may include one or N display screens 306 , where N is a positive integer greater than 1.
  • the hardware structure of the electronic device 300 shown in FIG. 2C is only an implementation of the embodiment of the present application. In practical applications, the electronic device 300 may also include more or fewer components, which is not limited here. .
  • FIG. 3A schematically shows a schematic diagram of a device connection structure of an electronic device 300 provided by an embodiment of the present application.
  • the wireless communication module also referred to as the first network module
  • the Wi-Fi module is a Wi-Fi module as an example.
  • the electronic device 300 may include a power management module 401, a main processing unit 402, a secondary processing unit 403, a Wi-Fi module 404 connected to the main processing unit 402, and a Wi-Fi module connected to the secondary processing unit 403.
  • Fi module 405 and memory 406 in:
  • the power management module 401 can be connected with the main processing unit 402 and the auxiliary processing unit 403 .
  • the power management module 401 can be used to control the main processing unit 402 and the secondary processing unit 403 to turn on and turn off the power.
  • the power management module 401 can control the main processing unit 402 to disconnect the power supply and enable the secondary processing unit 403 to switch on the power supply, so that when the main processing unit 402 disconnects the power supply, the electronic device 300 can be based on the secondary processing unit 403 and the cloud.
  • the server 200 performs data interaction.
  • the electronic device 300 when the electronic device 300 is in the power-on state, the electronic device 300 may receive an input from the user on a physical key on the electronic device 300, and in response to the input, the power management module 401 may also The main processing unit 402 and the secondary processing unit 403 are powered off. In this way, the power consumption of the electronic device 300 can be reduced.
  • the main processing unit 402 may be used to read instructions, decode instructions, and execute instructions to run programs and process information.
  • the main processing unit 402 may be configured to store an image file corresponding to a remote boot execution program.
  • the main processing unit 402 receives the shutdown command, it can load the above-mentioned image file to the sub-processing unit 403, so that the sub-processing unit 403 can run a remote boot control program (also called a remote boot program) based on the above-mentioned image file.
  • a remote boot control program also called a remote boot program
  • the secondary processing unit 403 can be used to execute a remote power-on control program, and when the main processing unit 402 is powered off, the secondary processing unit 403 can establish a communication connection with the cloud server 200 and perform data interaction based on the above communication connection. Data interaction between the sub-processing unit 403 and the main processing unit 402 may be performed based on a specified interface. For example, the sub-processing unit 403 may receive the network configuration information (for example, Wi-Fi name and Wi-Fi password) sent by the main processing unit 402, the domain name of the cloud server 200 and/or the Internet protocol of the cloud server 200 based on the designated interface. (internet protocol, IP) address, etc., the secondary processing unit 403 can store the above data information in the memory 406.
  • the network configuration information for example, Wi-Fi name and Wi-Fi password
  • the sub-processing unit 403 can be pre-burned with the execution environment program code of the remote boot system. When the sub-processing unit 403 is powered on through the power management module 401, the sub-processing unit 403 can The environment program runs the remote power-on control program. In some other embodiments, the sub-processing unit 403 may also obtain the image file corresponding to the remote boot execution program from the main processing unit 402, and run the remote boot control program based on the image file.
  • the Wi-Fi module 404 can be connected with the main processing unit 402 for the main processing unit 402 to establish a wireless communication connection with other devices (eg, the cloud server 200 ), and perform data transmission and data reception based on the above wireless communication connection.
  • other devices eg, the cloud server 200
  • the Wi-Fi module 405 can be connected with the secondary processing unit 403 .
  • the Wi-Fi module 405 can enable the secondary processing unit 403 to establish a wireless communication connection with other devices (for example, the cloud server 200), and perform data transmission based on the wireless communication connection and data reception.
  • the secondary processing unit 403 may receive a power-on command sent by the cloud server 200 through the Wi-Fi module 405, and make the main processing unit 402 power on based on the power-on command.
  • the memory 406 can be connected with the secondary processing unit 403, and is used for storing the parameter information required for the secondary processing unit 403 to run the remote power-on control program, for example, the network configuration information required for the Wi-Fi module 405 to connect to Wi-Fi (for example, Wi-Fi name and Wi-Fi password), the domain name of the cloud server 200 and/or the IP address of the cloud server 200, etc.
  • the network configuration information required for the Wi-Fi module 405 to connect to Wi-Fi for example, Wi-Fi name and Wi-Fi password
  • the domain name of the cloud server 200 and/or the IP address of the cloud server 200 etc.
  • the main processing unit 402 and the secondary processing unit 403 in the electronic device 300 may share a Wi-Fi module (for example, the main processing unit 402 and the secondary processing unit 403 may share a Wi-Fi module 405), That is to say, the main processing unit 402 and the secondary processing unit 403 can establish a communication connection with other devices (for example, the cloud server 200 ) based on the shared Wi-Fi module, so as to exchange wireless communication data.
  • a Wi-Fi module for example, the main processing unit 402 and the secondary processing unit 403 may share a Wi-Fi module 405
  • the main processing unit 402 and the secondary processing unit 403 can establish a communication connection with other devices (for example, the cloud server 200 ) based on the shared Wi-Fi module, so as to exchange wireless communication data.
  • the electronic device 300 may also have no memory 406 , that is to say, the sub-processing unit 403 may also have no external storage space. Then in this implementation, the secondary processing unit 403 may also obtain the image file corresponding to the remote boot execution program from the main processing unit 402, and run the remote boot control program based on the image file.
  • the software architecture of the electronic device 300 shown in FIG. 3A and FIG. 3B is only an implementation of the embodiment of the present application, and in practical applications, the electronic device 300 may also include more or fewer software modules
  • the main processing unit 402 may also be connected with a memory for storing some program instructions, which is not limited in the present application.
  • FIG. 4 exemplarily shows a specific flowchart of a remote power-on method provided in an embodiment of the present application.
  • the electronic device 100 being a smart phone and the electronic device 300 being a computer as an example.
  • the electronic device 300 may be called a first electronic device, and the electronic device 100 may be called a second electronic device.
  • the main processor may be called a first processor, and the secondary processor may be called a second processor.
  • the method may include:
  • the electronic device 300 is powered on.
  • the electronic device 300 may receive an external power supply or a current input from a battery built in the electronic device 300 through the power management module 401 in the embodiment shown in FIG. 3A , so that the electronic device 300 is powered on.
  • the electronic device 300 controls the operation of the main processor.
  • the electronic device 300 can use the main processor to read instructions, decode the instructions, and execute the instructions to run programs and process information.
  • the electronic device 300 can respond to the input through the main processor, Execute relevant program instructions to perform operations corresponding to the user input.
  • the electronic device 300 Registration activation can be performed on the cloud server 200 in the step S502.
  • the specific process of registering and activating the electronic device 300 on the cloud server 200 will be described in detail in subsequent embodiments, and will not be repeated here.
  • the electronic device 300 controls the secondary processor to execute a remote boot control program.
  • the remote start-up control program is a program code for implementing the remote start-up method provided by the embodiment of the present application.
  • the electronic device 300 may be integrated with a device pre-programmed with a remote boot system execution environment program code. When the electronic device 300 is powered on, the electronic device 300 can control the sub-processor to run a remote power-on control program based on the above components.
  • step S502 and step S503 are performed.
  • the electronic device 300 acquires parameter information 1 (also referred to as first parameter information).
  • the parameter information 1 may include device registration information of the electronic device 300 registered on the cloud server 200 , network configuration information and device information of the cloud server 200 .
  • the device registration information may be an account device identity (identity document, ID) and a corresponding account password used by the electronic device 300 to log in to the cloud server 200;
  • the network configuration information may be a Wi-Fi name and a Wi-Fi password,
  • the secondary processor in the electronic device 300 is used to connect to Wi-Fi;
  • the device information of the cloud server 200 can be the domain name and/or IP address of the cloud server 200, which is used for the secondary processor in the electronic device 300 to establish a communication connection with the cloud server 200.
  • the network configuration information may be parameter information of the Bluetooth connection (for example, the Bluetooth MAC address of the cloud server 200 ) and/or parameter information of the cellular network.
  • the above network configuration information may be the Wi-Fi name and Wi-Fi password of the specified Wi-Fi acquired after the main processor in the electronic device 300 is connected to the Wi-Fi.
  • the foregoing network configuration information may also be preset. This application is not limited to this.
  • the electronic device 300 receives an input 1 (also referred to as a first input) from the user for turning off the electronic device 300 .
  • the input 1 may be an input received by the electronic device 300 from the user acting on the power-off control on the display screen (for example, clicking the power-off control on the display screen), The input of physical keys on the electronic device 300 .
  • the electronic device 300 may display a user interface 600 .
  • the user interface 600 may display one or more application icons (for example, a clock application icon, a reading application icon, a calculator application icon, a mail application icon, etc.), one or more controls (for example, a power control 601, a setting control , picture control and document control, etc.) and cursor 602.
  • application icons for example, a clock application icon, a reading application icon, a calculator application icon, a mail application icon, etc.
  • controls for example, a power control 601, a setting control , picture control and document control, etc.
  • the electronic device 300 may receive a click input directed at the power control 601 by manipulating the cursor 602 by the user.
  • the electronic device 300 may display one or more options on the user interface 600 (for example, a sleep option, a shutdown option 603 and a restart option, etc.).
  • the electronic device 300 may receive a click input (also referred to as input 1 ) for the shutdown option 603 by manipulating the cursor 602 by the user.
  • the electronic device 300 may perform step S506 described below.
  • the electronic device 300 may establish a communication connection with the cloud server 200 through the secondary processor based on the parameter information 1.
  • the electronic device 300 can control the sub-processor to connect to the specified Wi-Fi network based on the Wi-Fi name and Wi-Fi password in the parameter information 1 . Then, the electronic device 300 can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol based on the device information of the cloud server 200 in parameter information 1 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200).
  • the electronic device 300 may base on The above network configuration information enables the secondary processor to establish a communication connection with the cloud server 200 through Bluetooth connection and/or cellular network connection.
  • the electronic device 300 controls the main processor to disconnect the power supply.
  • the secondary processor in the electronic device 300 when the electronic device 300 controls the main processor to turn off the power supply, the secondary processor in the electronic device 300 remains powered on.
  • the secondary processor in the electronic device 300 can use the device information of the electronic device 300 at this time (for example, the device name of the electronic device 300, the version number of the software used by the electronic device 300 for remote booting, the hardware version number, etc.) to the cloud server 200.
  • the electronic device 100 may acquire and display the device information of the electronic device 300 from the cloud server 200 .
  • the state of the electronic device 300 indicated by the device state information (also referred to as first state information) of the electronic device 300 is a power-off state.
  • the electronic device 300 sends a keep-alive request (also referred to as a first request) to the cloud server 200 based on the communication connection.
  • a keep-alive request also referred to as a first request
  • the electronic device 300 sends a keep-alive request to the cloud server 200, so as to keep the electronic
  • the communication connection between the device 300 and the cloud server 200 is not interrupted.
  • the electronic device 300 may send a keep-alive request to the cloud server 200 every specified period 1 (for example, 1 minute).
  • the value of its sequence number may be the value of the sequence number of the last message sent by the electronic device 300 minus 1
  • the value of the confirmation number may be the confirmation number of the last message sent by the electronic device 300 value.
  • No data may be set in the keep-alive request message, or 1 byte of data may be set, and the value of the data may be "00".
  • the value of the sequence number of the last message sent by the electronic device 300 is 1843, and the value of the confirmation number is 226.
  • the value of the serial number in the keep-alive request message may be 1842, and the value of the confirmation number may be 226.
  • the keep-alive request message may carry 1 byte of data, and the value of the data may be "00".
  • the cloud server 200 may send a keep-alive response (also referred to as a first response) to the electronic device 300 .
  • a keep-alive response also referred to as a first response
  • the cloud server 200 may set a keep-alive timer.
  • the keep-alive timer may count for a specified duration of 1 (for example, 2 hours).
  • the cloud server 200 can send a keep-alive response to the electronic device 300, and reset the keep-alive timer for restarting. timing.
  • the message format of the keep-alive response may be an ACK message format.
  • the value of the sequence number in the keep-alive response message may be the value of the confirmation number in the above-mentioned keep-alive request message, and the value of the confirmation number in the keep-alive response message may be the value of the sequence number in the above-mentioned keep-alive request message plus 1.
  • the sequence number in the keep-alive response message sent by the cloud server 200 to the electronic device 300 is The value of the number can be 226, and the value of the confirmation number can be 1843.
  • the cloud server 200 may determine that the electronic device 300 does not need to maintain a communication connection with the cloud server 200, and then the cloud server 200 may disconnect the communication connection with the electronic device 300.
  • a specified duration 1 for example, 2 hours
  • the electronic device 100 acquires device information of the electronic device 300 from the cloud server 200 .
  • the electronic device 100 may be associated with the electronic device 300, for example, when the electronic device 100 and the electronic device 300 are associated with the same designated account 1, the electronic device 100 may be bound with the electronic device 300. Based on the association relationship between the electronic device 100 and the electronic device 300, the electronic device 100 can obtain the device information of the electronic device 300 from the cloud server 200 (for example, the device name of the electronic device 300, the device status information of the electronic device 300, the device status information of the electronic device 300 device ID, etc.).
  • the cloud server 200 for example, the device name of the electronic device 300, the device status information of the electronic device 300, the device status information of the electronic device 300 device ID, etc.
  • FIG. 5C-FIG. 5F show a method for the electronic device 100 to obtain the device information of the electronic device 300 provided by the embodiment of the present application.
  • the electronic device 100 may display a user interface 510 .
  • User interface 510 displays a page on which application icons are placed.
  • the page may include one or more app icons (for example, a weather app icon, a stock app icon, a calculator app icon, a settings app icon, a mail app icon, a theme app icon, a calendar app icon, a video app icon, and a smart life app icon 511, etc.).
  • a page indicator may also be displayed below the plurality of application icons to indicate the positional relationship between the currently displayed page and other pages. Below the page indicator there are multiple tray icons (eg, a camera application icon, a contacts application icon, a messaging application icon, a dialing application icon, etc.). Tray app icons remain displayed across page switches.
  • the embodiment of the present application does not limit the content displayed on the user interface 510 .
  • the electronic device 100 may start an application program corresponding to the application icon or the tray icon.
  • the electronic device 100 may receive a user's touch operation (for example, click) on the smart life application icon 511 .
  • a user's touch operation for example, click
  • the electronic device 100 starts a smart life application program (application, APP), and displays a smart life APP interface.
  • application application, APP
  • the electronic device 100 may display a user interface 520 .
  • the user interface 520 is the smart life APP interface.
  • the user interface 520 may include a family name 521, a device number 522, an add control 523, one or more device options (e.g., router device options, air conditioner device options, speaker device options, window shade device options, etc.), and one or more pages Options (eg, "Home” page options, "Mall” page options, "Content” page options, "Scenes” page options, and "My” page options, etc.).
  • the family name 521 and device options are associated with the designated account 1 . in:
  • Family name 521 may be used to indicate the name of a family.
  • a family's name can be set by the user.
  • the family name 521 may be "home”.
  • the user interface of the smart life APP may present the control interfaces and data of the smart home devices in the family named "home”.
  • Device count 522 may be used to indicate the number of smart home devices in a household. For example, there are 4 smart home devices in the household named "home".
  • Add control 523 can be used to add smart home devices to a home.
  • the device option can display the device information corresponding to the specified device, such as the networking status of the device, the working status of the device, controls for turning on or off the device, and the like.
  • the device option can be used to receive a touch operation (for example, click) that the user acts on it, so that the electronic device 100 can display more detailed device information of the specified device (for example, the device name of the specified device, device status information of the specified device and the device ID of the specified device, etc.).
  • the electronic device 100 may receive a user's touch operation (for example, click) on the add control 523 , and in response to the touch operation, the electronic device 100 may display a user interface 530 .
  • the user interface 530 may include a page title 531 , a return control 532 , an input box 533 and an OK control 534 . in:
  • Page title 531 may be used to indicate that user interface 530 is a user interface for adding smart home devices to a home.
  • the page title 531 may contain text prompt information, such as "add device”.
  • the return control 532 can be used to trigger the electronic device 100 to return to the upper user interface, that is, the user interface 520 shown in FIG. 5D .
  • the input box 533 may be used to receive text information input by the user based on the input box 533, for example, the text information may be the device ID of the smart home device that the user needs to add.
  • the electronic device 100 When the electronic device 100 receives the device ID of the electronic device 300 input by the user based on the input box 533, and receives the user's touch operation (for example, click) on the determination control 534, the electronic device 100 can send to the cloud server 200 The device ID of the electronic device 300 and the binding request of the electronic device 100 and the electronic device 300 .
  • the cloud server 200 determines that the electronic device 100 and the electronic device 300 are associated with the same designated account 1 , the cloud server 200 enables the electronic device 100 to establish a binding relationship with the electronic device 300 .
  • the electronic device 100 may obtain device information of the electronic device 300 from the cloud server 200 .
  • the electronic device 100 may display device options 524 of the electronic device 300 on the user interface 520 .
  • the device option 524 may include the device name “DESKTOP-8DE7POG” of the electronic device 300 , device status prompt information 524B and controls 524A of the electronic device 300 .
  • the device status prompt information 524B may be used to indicate the device status of the electronic device 300, for example, the device status prompt information 524B may be a text message "power off".
  • the control 524A can be used to receive a user's touch operation (for example, click) on it, so that the electronic device 100 sends a power-on instruction to the cloud server 200 in response to the touch operation when the electronic device 300 is in the power-off state.
  • the cloud server 200 may trigger the main processor of the electronic device 300 to be powered on based on the power-on instruction.
  • the electronic device 100 when the electronic device 100 responds to the user's touch operation (for example, click) on the added control 523, the electronic device 100 can scan nearby Whether there is a device (for example, the electronic device 300 ) to which the scene can be added.
  • the electronic device 100 can scan nearby Whether there is a device (for example, the electronic device 300 ) to which the scene can be added.
  • the electronic device 100 receives an input 2 (also referred to as a second input) from the user for turning on the electronic device 300 .
  • the input 2 for turning on the electronic device 300 in this application refers to the input that triggers the main processor in the electronic device 300 to turn on the power.
  • the electronic device 100 may display a user interface 520 as shown in FIG. 5F .
  • the user interface 520 reference may be made to the foregoing description of the embodiment shown in FIG. 5F , which will not be repeated here.
  • the electronic device 100 may receive the user's touch operation on the control 524A (or is called input 2). In response to the touch operation, the electronic device 100 may perform the following step S512.
  • the electronic device 100 sends a power-on command (also referred to as a first command) to the cloud server 200, wherein the power-on command includes an identification of the electronic device 300.
  • a power-on command also referred to as a first command
  • the identification of the electronic device 300 in the power-on instruction may be a device ID of the electronic device 300 .
  • the identifier of the electronic device 300 in the boot command may be the MAC address of the electronic device 300 . This application is not limited to this.
  • the cloud server 200 sends the boot command to the secondary processor in the electronic device 300 based on the identification of the electronic device 300 in the boot command.
  • the electronic device 300 may control the main processor to be powered on based on the power-on instruction.
  • the electronic device 300 After the main processor is powered on, the electronic device 300 sends the device status information to the cloud server 200.
  • the device state of the electronic device 300 is a power-on state.
  • the cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100.
  • the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300 .
  • the state of the electronic device 300 indicated by the device state information (also referred to as the second state information) of the electronic device 300 is the power-on state.
  • the electronic device 100 may display the status information of the electronic device 300 in the device option 524 of the user interface 520. device status.
  • the device status prompt information 524B of the electronic device 300 may be a text message "started".
  • the electronic device 100 may also receive the user's input 3 for turning off the electronic device 300 .
  • the electronic device 100 may send a remote shutdown instruction to the cloud server 200 .
  • the remote shutdown instruction may include an identification of the electronic device 300 (for example, a device ID of the electronic device 300 ).
  • the cloud server 200 may send the remote shutdown command to the electronic device 300 based on the identification of the electronic device 300 in the remote shutdown command.
  • the electronic device 300 may trigger the main processor to cut off the power supply based on the remote shutdown command.
  • the electronic device 100 may display the user interface 520 shown in FIG. 5H.
  • the device status prompt information 524B of the electronic device 300 is the text message "started", indicating that the device status of the electronic device 300 is the power-on state.
  • the electronic device 100 may receive a user's touch operation on the control 524A.
  • the electronic device 100 may send a remote shutdown instruction to the cloud server 200 .
  • the remote shutdown instruction may include an identification of the electronic device 300 (for example, a device ID of the electronic device 300 ).
  • the cloud server 200 may send the remote shutdown instruction to the electronic device 300 based on the identification of the electronic device 300 in the remote shutdown instruction.
  • the electronic device 300 may trigger the main processor to cut off the power supply based on the remote shutdown command.
  • the power management module in the electronic device 300 Allows the secondary processor to be powered on.
  • the secondary processor can execute a remote power-on control program.
  • the sub-processor can obtain the state information of the main processor through the power management module every specified period 2 (for example, every 10 minutes). If the sub-processor obtains the status information of the main processor as power off, the sub-processor can connect to a designated Wi-Fi network based on the parameter information 1, and establish a communication connection with the cloud server 200 .
  • the electronic device 300 may send a keep-alive request to the cloud server 200 based on the communication connection, and receive a keep-alive response sent by the cloud server 200 .
  • FIG. 6 exemplarily shows a schematic diagram of a module interaction process between devices provided by an embodiment of the present application.
  • the inter-device module interaction process may include a cloud server 200 , an electronic device 100 and an electronic device 300 .
  • the electronic device 300 may include a main processing unit module, a power management module and a secondary processing unit module.
  • the main processing unit module may include the main processing unit 402 and the Wi-Fi module 404 shown in the embodiment of FIG. Fi module 405 and memory 406 .
  • the inter-device module interaction process may specifically include:
  • the power management module is powered on.
  • the power management module may receive an external power supply or a current input from a battery built in the electronic device 300, so that the electronic device 300 is powered on.
  • the main processing unit module can read instructions, decode instructions and execute instructions to run programs and process information.
  • the main processing unit module can respond to the input and run related programs Instructions to perform the operation corresponding to the user input.
  • the sub-processing unit module executes a remote start-up control program.
  • the remote start-up control program is a program code for implementing the remote start-up method provided by the embodiment of the present application.
  • the electronic device 300 may be integrated with a device pre-programmed with a remote boot system execution environment program code. When the electronic device 300 is powered on, the secondary processing unit module can run a remote power-on control program.
  • the main processing unit module sends parameter information 1 to the sub-processing unit module.
  • the main processing unit module may send the parameter information 1 to the sub-processing unit module based on a designated integration interface.
  • the parameter information 1 For the description of the parameter information 1, reference may be made to the description of the parameter information 1 in the aforementioned step S504, which will not be repeated here.
  • the secondary processing unit module may store parameter information 1.
  • the secondary processing unit module may store the above parameter information 1 through the memory 406 .
  • the main processing unit module Based on the user's input 1 for turning off the electronic device 300, the main processing unit module receives a shutdown instruction.
  • the main processing unit module may send a keep-alive instruction to the auxiliary processing unit module.
  • parameter information 1 may also be sent.
  • the sub-processing unit module may store the parameter information 1 in the memory 406 . That is to say, this application does not limit the timing of sending the parameter information 1 from the main processing unit module to the secondary processing unit module.
  • the secondary processing unit module may connect to a designated Wi-Fi network based on parameter information 1.
  • the secondary processing unit module can connect to a designated Wi-Fi network based on the Wi-Fi name and Wi-Fi password in parameter information 1 through the Wi-Fi module 405 .
  • the secondary processing unit module may stop running part of the remote power-on control program, so as to save power consumption of the electronic device 300 .
  • the sub-processing unit module can obtain the status information of the main processing unit module based on the power management module every specified period 2 (for example, every 10 minutes) (for example, the main processing unit module is powered on state, or, the main processing unit module power-off state).
  • the main processing unit module can cut off the power supply through the power management module in response to the shutdown command.
  • the sub-processing unit module obtains the status information of the main processing unit module as power off based on the power management module, the sub-processing unit module connects to the designated Wi-Fi network based on the parameter information 1.
  • the secondary processing unit module may establish a communication connection with the cloud server 200 based on the parameter information 1.
  • the secondary processing unit module can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol based on the device information of the cloud server 200 in the parameter information 1 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200).
  • the device information of the cloud server 200 may also be pre-stored in the memory 406 of the sub-processing unit module, and the sub-processing unit module does not It needs to be obtained from the main processing unit module.
  • the secondary processing unit module obtains the root certificate.
  • the secondary processing unit module negotiates a security key with the cloud server 200 based on the root certificate.
  • the root certificate may be pre-stored in the memory 406 of the secondary processing unit.
  • the security key can be used for data communication between the secondary processing unit module and the cloud server 200.
  • the secondary processing unit module and the cloud server 200 may perform data communication through a symmetric encryption algorithm.
  • the sub-processing unit module and the cloud server 200 may perform data communication through an asymmetric encryption algorithm.
  • the sub-processing unit module may log in to the cloud server 200 based on the device registration information in the parameter information 1.
  • the sub-processing unit module sends the device information of the electronic device 300 to the cloud server 200.
  • the device information of the electronic device 300 may include the device name of the electronic device 300, the version number of the software of the electronic device 300 for remote booting, the version number of the hardware of the electronic device 300 for remote booting, and the device status of the electronic device 300 information and more. It should be noted that, if the secondary processing unit module sends the device state information of the electronic device 300 to the cloud server 200 in this step, the device state indicated by the device state information of the electronic device 300 is the shutdown state.
  • the secondary processing unit module sends a notification instruction to the main processing unit module.
  • the main processing unit module cuts off the power supply through the power management module.
  • the main processing unit module may send a power-off instruction to the power management module.
  • the power management module controls the main processing unit module to be powered off in response to the power off instruction.
  • the secondary processing unit module may send the foregoing notification instruction to the power management module.
  • the power management module may control the main processing unit module to cut off the power supply.
  • the secondary processing unit module generates a keep-alive request based on the security key.
  • the secondary processing unit module sends a keep-alive request to the cloud server 200.
  • step S508 For the description of this step, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
  • the cloud server 200 verifies the keep-alive request based on the security key.
  • the cloud server 200 sends a keep-alive response to the secondary processing unit module.
  • the sub-processing unit module verifies the keep-alive response based on the security key.
  • the secondary processing unit module maintains a communication connection with the cloud server 200.
  • the electronic device 100 acquires the device information of the electronic device 300 from the cloud server 200 .
  • step S510 for the description of this step, reference may be made to the description in the aforementioned step S510, which will not be repeated here.
  • the electronic device 100 receives the user's input 2 for turning on the electronic device 300 .
  • the electronic device 100 sends a boot instruction to the cloud server 200, wherein the boot instruction includes the identification of the electronic device 300.
  • step S512 Specifically, for the description of this step, reference may be made to the description in the aforementioned step S512, which will not be repeated here.
  • the cloud server 200 sends the boot command to the secondary processing unit module based on the identification of the electronic device 300 in the boot command.
  • the secondary processing unit module verifies the power-on instruction based on the security key.
  • the secondary processing unit module obtains the state information of the main processing unit module.
  • the sub-processing unit module can obtain status information of the main processing unit module through the power management module.
  • the sub-processing unit module may send a power-on instruction to the power management module.
  • the power management module controls the main processing unit module to be powered on based on the power-on instruction.
  • the sub-processing unit module acquires status information of the main processing unit module.
  • the sub-processing unit module acquires that the main processing unit module has been powered on, the sub-processing unit module sends the device status information of the electronic device 300 to the cloud server 200 .
  • the state of the electronic device 300 indicated by the device state information of the electronic device 300 is the power-on state.
  • the cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100 .
  • the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300 .
  • step S517 For the description of this step, reference may be made to the description of the aforementioned step S517, which will not be repeated here. It should be noted that the order of the above steps is only used to illustrate the specific flow of the method, and does not constitute a specific limitation to the present application.
  • FIG. 7 exemplarily shows a specific flowchart of another remote power-on method provided in the embodiment of the present application.
  • the method may include:
  • the electronic device 300 is powered on.
  • the electronic device 300 controls the operation of the main processor.
  • the electronic device 300 can use the main processor to read instructions, decode the instructions, and execute the instructions to run programs and process information.
  • the electronic device 300 can respond to the input through the main processor, Execute relevant program instructions to perform operations corresponding to the user input.
  • the main processor in the electronic device 300 can run the Wi-Fi protocol program (for example, the MAC layer protocol of Wi-Fi, etc.) in the sub-processor.
  • the Wi-Fi protocol program for example, the MAC layer protocol of Wi-Fi, etc.
  • the electronic device 300 when there is no device information of the electronic device 300 on the cloud server 200, and it is impossible to control the powered-off main processor on the electronic device 300 to power on based on the power-on command of the electronic device 100, the electronic device 300 can In step S502, registration activation is performed on the cloud server 200 .
  • registration activation is performed on the cloud server 200 . The specific process of registering and activating the electronic device 300 on the cloud server 200 will be described in detail in subsequent embodiments, and will not be repeated here.
  • the electronic device 300 receives an input 1 from the user for turning off the electronic device 300 .
  • step S505 for the description of this step, reference may be made to the description in the aforementioned step S505, which will not be repeated here.
  • the electronic device 300 controls the secondary processor to execute a remote power-on control program.
  • the secondary processor may be a microprocessor including a RAM unit.
  • the RAM unit may be a spare RAM unit, or may be a RAM unit for performing a specified function.
  • the electronic device 300 can execute a remote power-on control program based on the RAM unit.
  • the electronic device 300 may store an image file corresponding to the remote boot execution program on the main processor. In response to input 1, the electronic device 300 can control the main processor to load the image file to the sub-processor, so that the sub-processor can execute a remote boot control program based on the image file.
  • remote start-up control program is a program code for implementing the remote start-up method provided by the embodiment of the present application.
  • the electronic device 300 may establish a communication connection with the cloud server 200 through the secondary processor based on the parameter information 1.
  • the electronic device 300 controls the main processor to disconnect the power supply.
  • step S507 for the description of this step, reference may be made to the description in the aforementioned step S507, which will not be repeated here.
  • the electronic device 300 sends a keep-alive request to the cloud server 200 based on the communication connection.
  • step S508 For the description of this step, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
  • the cloud server 200 may send a keep-alive response to the electronic device 300 .
  • step S509 for the description of this step, reference may be made to the description in the aforementioned step S509, and details are not repeated here.
  • the electronic device 100 acquires the device information of the electronic device 300 from the cloud server 200 .
  • step S510 for the description of this step, reference may be made to the description in the aforementioned step S510, which will not be repeated here.
  • the electronic device 100 receives a user's input 2 for turning on the electronic device 300 .
  • the electronic device 100 sends a boot command to the cloud server 200, wherein the boot command includes an identification of the electronic device 300.
  • the cloud server 200 sends the boot command to the secondary processor in the electronic device 300 based on the identification of the electronic device 300 in the boot command.
  • the electronic device 300 may control the main processor to be powered on based on the power-on instruction.
  • the electronic device 300 After the main processor is powered on, the electronic device 300 sends the device status information to the cloud server 200.
  • the cloud server 200 may send the device state information of the electronic device 300 to the electronic device 100 .
  • the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300.
  • step S517 Specifically, for the description of this step, reference may be made to the description in the aforementioned step S517, which will not be repeated here.
  • FIG. 8 exemplarily shows a schematic diagram of a module interaction process between devices provided by an embodiment of the present application.
  • the inter-device module interaction process may include a cloud server 200 , an electronic device 100 and an electronic device 300 .
  • the electronic device 300 may include a main processing unit module, a power management module and a secondary processing unit module.
  • the main processing unit module may include the main processing unit 402 and the Wi-Fi module 404 shown in the aforementioned embodiment of FIG. 3A
  • the secondary processing unit module may include the secondary processing unit 403 and the Wi-Fi Fi module 405 .
  • the inter-device module interaction process may specifically include:
  • the power management module is powered on.
  • the main processing unit module runs.
  • the main processing unit module may store an image file corresponding to the remote boot execution program.
  • the main processing unit module may store an image file corresponding to the remote boot execution program.
  • the main processing unit module Based on the user's input 1 for turning off the electronic device 300, the main processing unit module receives a shutdown instruction.
  • the main processing unit module sends the above image file to the sub-processing unit module.
  • the main processing unit module may send the image file to the sub-processing unit module based on a specified integration interface.
  • the sub-processing unit module executes a remote boot control program based on the image file.
  • the secondary processing unit module sends an initialization completion instruction to the main processing unit module.
  • the main processing unit module may send parameter information 1 and the root certificate to the secondary processing unit module.
  • the secondary processing unit module can connect to a designated Wi-Fi network based on the Wi-Fi name and Wi-Fi password in parameter information 1 through the Wi-Fi module 405 .
  • the secondary processing unit module may establish a communication connection with the cloud server 200 based on the parameter information 1.
  • the secondary processing unit module can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol based on the device information of the cloud server 200 in parameter information 1 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200).
  • the secondary processing unit module negotiates a security key with the cloud server 200 based on the root certificate.
  • the secondary processing unit module may log in to the cloud server 200 based on the device registration information in the parameter information 1.
  • the sub-processing unit module sends the device information of the electronic device 300 to the cloud server 200.
  • the secondary processing unit module sends a notification instruction to the main processing unit module.
  • the main processing unit module disconnects the power supply through the power management module.
  • the secondary processing unit module generates a keep-alive request based on the security key.
  • the secondary processing unit module sends a keep-alive request to the cloud server 200.
  • step S508 For the description of this step, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
  • the cloud server 200 verifies the keep-alive request based on the security key.
  • the cloud server 200 sends a keep-alive response to the secondary processing unit module.
  • the sub-processing unit module verifies the keep-alive response based on the security key.
  • the secondary processing unit module maintains a communication connection with the cloud server 200 .
  • the electronic device 100 acquires device information of the electronic device 300 from the cloud server 200 .
  • step S510 for the description of this step, reference may be made to the description in the aforementioned step S510, which will not be repeated here.
  • the electronic device 100 receives the user's input 2 for turning on the electronic device 300 .
  • the electronic device 100 sends a boot instruction to the cloud server 200, wherein the boot instruction includes the identification of the electronic device 300.
  • step S512 Specifically, for the description of this step, reference may be made to the description in the aforementioned step S512, which will not be repeated here.
  • the cloud server 200 sends the boot command to the secondary processing unit module based on the identification of the electronic device 300 in the boot command.
  • the secondary processing unit module verifies the power-on instruction based on the security key.
  • the sub-processing unit module obtains the state information of the main processing unit module.
  • the sub-processing unit module can obtain status information of the main processing unit module through the power management module.
  • the sub-processing unit module may send a power-on instruction to the power management module.
  • the power management module controls the main processing unit module to be powered on based on the power-on instruction.
  • the secondary processing unit module obtains the status information of the main processing unit module.
  • the sub-processing unit module acquires that the main processing unit module has been powered on, the sub-processing unit module sends the device status information of the electronic device 300 to the cloud server 200 .
  • the state of the electronic device 300 indicated by the device state information of the electronic device 300 is the power-on state.
  • the cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100 .
  • the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300 .
  • step S517 For the description of this step, reference may be made to the description of the aforementioned step S517, which will not be repeated here. It should be noted that the order of the above steps is only used to illustrate the specific flow of the method, and does not constitute a specific limitation to the present application.
  • FIG. 9 exemplarily shows a flow chart of an electronic device 300 registering and activating on the cloud server 200 provided in the embodiment of the present application.
  • the method may specifically include:
  • the electronic device 300 establishes a communication connection with the cloud server 200.
  • the user may log in to the specified account 1 on the electronic device 300 .
  • the electronic device 300 can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol.
  • the electronic device 300 sends a registration request to the cloud server 200.
  • the registration request may include the identification of the electronic device 300 (for example, the serial number (serial number) of the electronic device 300) and the information of the designated account 1 (for example, the account ID of the designated account 1).
  • the cloud server 200 sends a device registration code to the electronic device 300 .
  • the cloud server 200 may send the device registration code to the electronic device 300 based on the above registration request.
  • the device registration code may correspond to the specified account 1 and the identification of the electronic device 300 .
  • the device registration code may be characters of a specified type (for example, string type).
  • the electronic device 300 may negotiate a key with the cloud server 200 .
  • the cloud server 200 sends the device registration information of the electronic device 300 to the electronic device 300 based on the key.
  • the electronic device 300 may send the device registration code obtained in step S903 to the cloud server 200 .
  • the cloud server 200 can obtain the information of the designated account 1 and the identification of the electronic device 300 , and associate the designated account 1 with the electronic device 300 .
  • the cloud server 200 can generate the device registration information of the electronic device 300, and send the device registration information to the electronic device 300.
  • the cloud server 200 can manage the electronic device 300 .
  • the device registration information of the electronic device 300 may include an account device identity (identity document, ID) and a corresponding account password used by the electronic device 300 to log in to the cloud server 200.
  • the electronic device 300 logs in to the cloud server 200.
  • the electronic device 300 may send the account ID and corresponding account password for logging in to the cloud server 200 to the cloud server 200 .
  • the cloud server 200 can verify whether the corresponding account password matches the account ID of the electronic device 300 .
  • the cloud server 200 may send instruction information indicating successful verification to the electronic device 300 .
  • the electronic device 300 may execute the following steps.
  • the electronic device 300 may send the device information of the electronic device 300 to the cloud server 200 based on the key.
  • the device information of the electronic device 300 may include the device name of the electronic device 300, the version number of the software of the electronic device 300 for remote booting, the version number of the hardware of the electronic device 300 for remote booting, and the device status of the electronic device 300 information and more.
  • the electronic device 300 saves the device registration information of the electronic device 300 .
  • the term “when” may be interpreted to mean “if” or “after” or “in response to determining" or “in response to detecting".
  • the phrases “in determining” or “if detected (a stated condition or event)” may be interpreted to mean “if determining" or “in response to determining" or “on detecting (a stated condition or event)” or “in response to detecting (a stated condition or event)”.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state hard disk), etc.
  • the processes can be completed by computer programs to instruct related hardware.
  • the programs can be stored in computer-readable storage media.
  • When the programs are executed may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Abstract

The present application relates to the technical field of computers. Disclosed are a remote startup method, an electronic device and a system. The method comprises: a controlled device being integrated with a main processor, and a secondary processor that is used for executing a remote startup program; when the controlled device receives an input of a user for shutting down the controlled device, the controlled device being capable of triggering the secondary processor to establish a communication connection with a cloud server and establish a keep-alive link, and then triggering the main processor to disconnect from a power supply; when the controlled device does not receive a startup instruction, the secondary processor being capable of keeping the communication connection with the cloud server uninterrupted on the basis of the keep-alive link; when a main control device receives an input of the user for starting the controlled device, the main control device being capable of sending the startup instruction to the controlled device by means of the cloud server; and after having received the startup instruction by means of the secondary processor, the controlled device being capable of triggering the main processor to connect to the power supply.

Description

远程开机方法、电子设备及系统Remote boot method, electronic device and system
本申请要求于2021年11月04日提交中国专利局、申请号为202111302163.1、申请名称为“远程开机方法、电子设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111302163.1 and the application name "Remote boot method, electronic equipment and system" submitted to the China Patent Office on November 04, 2021, the entire contents of which are incorporated by reference in this application middle.
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种远程开机方法、电子设备及系统。The present application relates to the field of computer technology, in particular to a remote boot method, electronic equipment and system.
背景技术Background technique
随着计算机技术的快速发展,电子设备(例如,台式电脑、智能手机、笔记本电脑等等)在日常生活中的使用已经越来越频繁,用户可以通过上述电子设备处理各类型的任务事项。With the rapid development of computer technology, electronic devices (eg, desktop computers, smart phones, notebook computers, etc.) have been used more and more frequently in daily life, and users can handle various tasks through the above electronic devices.
然而,在一些应用场景中,当用户需要远程访问或操作电子设备之前,常需要在不接触电子设备的情况下远程开启电子设备。在该应用场景中,电子设备可以基于指定服务器和/或指定路由设备完成该远程开机操作。例如,指定路由设备可以接收到由指定服务器发送的开机指令,其中,该开机指令中可以包括指定电子设备的媒体访问控制(media access control,MAC)地址,该指定路由设备与该指定电子设备处于同一指定局域网中。该指定路由设备接收到上述开机指令后,可以在该局域网内广播该开机指令。当指定电子设备接收到该开机指令,确定出开机指令中电子设备的MAC地址与自身的MAC地址相匹配时,该指定电子设备可以执行远程开机操作。However, in some application scenarios, before the user needs to remotely access or operate the electronic device, it is often necessary to remotely turn on the electronic device without touching the electronic device. In this application scenario, the electronic device can complete the remote power-on operation based on a designated server and/or a designated routing device. For example, the designated routing device may receive a power-on command sent by the designated server, wherein the power-on command may include a media access control (media access control, MAC) address of the designated electronic device, and the designated routing device and the designated electronic device are in in the same specified LAN. After the designated routing device receives the boot command, it can broadcast the boot command in the local area network. When the designated electronic device receives the power-on command and determines that the MAC address of the electronic device in the power-on command matches its own MAC address, the designated electronic device can perform a remote power-on operation.
由上述流程可以看出,应用于该上述远程开机流程的指定路由设备是具有指定功能的专用路由设备,并且,该指定路由设备与可以控制进行远程开机的电子设备位于同一局域网中,同时,电子设备和该指定路由设备也需预先进行指定参数的配置,步骤极为繁琐,操作也十分不方便。It can be seen from the above process that the designated routing device applied to the above remote boot process is a dedicated routing device with designated functions, and the designated routing device is located in the same local area network as the electronic device that can control remote booting. At the same time, the electronic The device and the designated routing device also need to configure the designated parameters in advance, the steps are extremely cumbersome, and the operation is also very inconvenient.
发明内容Contents of the invention
本申请提供了一种远程开机方法、电子设备及系统。实施本申请所提供的技术方案,无需使用额外的远程开机设备,也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。The present application provides a remote boot method, electronic equipment and system. To implement the technical solution provided by the present application, there is no need to use an additional remote start-up device, and it is not necessary to configure parameters for the additional remote start-up device. The steps are simple and the operation is convenient.
第一方面,本申请提供了一种远程开机方法,应用于包括第一电子设备、第二电子设备和云服务器的通信系统,该方法包括:该第一电子设备控制第一处理器和第二处理器通电。该第一电子设备接收第一输入。该第一电子设备获取到第一参数信息。其中,该第一参数信息包括该第一电子设备的账号ID和对应的账号密码、网络配置信息及该云服务器的域名和/或IP地址。响应于该第一输入,该第一电子设备基于该第一参数信息通过该第二处理器与该云服务器建立通信连接。该第一电子设备通过该第二处理器与该云服务器建立通信连接之后,控制该第一处理器断开电源。该第二电子设备接收第二输入。响应于该第二输入,该第二电子设备发送第一指令至该云服务器。该云服务器发送该第一指令至该第一电子设备。该第一电子设备通过该第二处理器从该云服务器获取到该第一指令。该第一电子设备基于该第一指令,控制该第一处理器接通电源。这样,实施本方法,可以无需使用额外的远程开机设备, 也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。In a first aspect, the present application provides a remote boot method applied to a communication system including a first electronic device, a second electronic device and a cloud server. The method includes: the first electronic device controls the first processor and the second The processor is powered on. The first electronic device receives a first input. The first electronic device obtains the first parameter information. Wherein, the first parameter information includes the account ID and corresponding account password of the first electronic device, network configuration information, and the domain name and/or IP address of the cloud server. In response to the first input, the first electronic device establishes a communication connection with the cloud server through the second processor based on the first parameter information. After the first electronic device establishes a communication connection with the cloud server through the second processor, it controls the first processor to cut off the power supply. The second electronic device receives a second input. In response to the second input, the second electronic device sends a first instruction to the cloud server. The cloud server sends the first instruction to the first electronic device. The first electronic device obtains the first instruction from the cloud server through the second processor. The first electronic device controls the first processor to be powered on based on the first instruction. In this way, the implementation of the method does not require the use of an additional remote boot device, nor does it need to configure parameters for the extra remote boot device, and the steps are simple and easy to operate.
在一种可能的实现方式中,在该云服务器发送该第一指令至该第一电子设备之前,该方法还包括:该第一电子设备向该云服务器发送第一请求。该云服务器接收到该第一请求之后,向该第一电子设备发送第一应答。响应于该第一应答,该第一电子设备保持与该云服务器的通信连接。这样,可以使得当第一电子设备没有接收到第一指令时,与云服务器保持连接,可以提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, before the cloud server sends the first instruction to the first electronic device, the method further includes: the first electronic device sends a first request to the cloud server. After receiving the first request, the cloud server sends a first response to the first electronic device. In response to the first response, the first electronic device maintains a communication connection with the cloud server. In this way, when the first electronic device does not receive the first instruction, the connection with the cloud server can be maintained, and the efficiency of the first electronic device receiving the first instruction and controlling the first processor to power on based on the first instruction can be improved.
在一种可能的实现方式中,该第一电子设备基于该第一指令,控制该第一处理器接通电源,具体包括:该第一电子设备基于该第二处理器查询该第一处理器的状态信息。当该第一处理器为断电状态时,该第一电子设备基于该第一指令,控制该第一处理器接通电源。这样,可以提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, the first electronic device controls the first processor to be powered on based on the first instruction, which specifically includes: the first electronic device queries the first processor based on the second processor status information. When the first processor is in a power-off state, the first electronic device controls the first processor to be powered on based on the first instruction. In this way, the efficiency of the first electronic device receiving the first instruction and controlling the first processor to be powered on based on the first instruction can be improved.
在一种可能的实现方式中,在该第二电子设备接收第二输入之前,该方法还包括:该第一电子设备发送第一状态信息至该云服务器。该云服务器发送该第一状态信息至该第二电子设备。该第二电子设备基于该第一状态信息显示该第一处理器的状态。这样,可以使得第二电子设备显示出第一电子设备的状态,提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, before the second electronic device receives the second input, the method further includes: the first electronic device sends the first state information to the cloud server. The cloud server sends the first state information to the second electronic device. The second electronic device displays the status of the first processor based on the first status information. In this way, the second electronic device can display the state of the first electronic device, and the efficiency of the first electronic device receiving the first instruction and controlling the first processor to turn on the power based on the first instruction can be improved.
在一种可能的实现方式中,该方法还包括:该第一电子设备基于该第二处理器查询该第一处理器的状态信息。当该第一处理器为通电状态时,该第一电子设备将第二状态信息发送至该云服务器。该云服务器将该第二状态信息发送至该第二电子设备。该第二电子设备基于该第二状态信息显示该第一处理器的状态。这样,可以向用户显示第一电子设备中的第一处理器是否接通电源,步骤简洁,操作方便。In a possible implementation manner, the method further includes: the first electronic device queries state information of the first processor based on the second processor. When the first processor is in a power-on state, the first electronic device sends second state information to the cloud server. The cloud server sends the second state information to the second electronic device. The second electronic device displays the status of the first processor based on the second status information. In this way, whether the first processor in the first electronic device is powered on can be displayed to the user, and the steps are simple and the operation is convenient.
第二方面,本申请提供了一种电子设备,为第一电子设备,包括第一网络模块、第一处理器、电源管理模块和第二处理器,其中:该电源管理模块,可以用于控制该第一处理器和该第二处理器通电。该第一处理器,用于接收第一输入。该第二处理器,用于从该第一处理器获取到该第一参数信息。该第一网络模块,用于响应于该第一输入,基于该第一参数信息与云服务器建立通信连接。其中,该第一参数信息包括该第一电子设备的账号ID和对应的账号密码、网络配置信息及该云服务器的域名和/或IP地址。该电源管理模块,还用于当该第一网络模块与云服务器建立通信连接之后,控制该第一处理器断电。该第二处理器,还用于通过第一网络模块从该云服务器获取到第一指令。该第二处理器,还用于响应于该第一指令,发送通电指令至该电源管理模块。该电源管理模块,还用于响应于该通电指令,控制该第一处理器通电。这样,可以无需使用额外的远程开机设备,也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。In a second aspect, the present application provides an electronic device, which is a first electronic device, including a first network module, a first processor, a power management module, and a second processor, wherein: the power management module can be used to control The first processor and the second processor are powered on. The first processor is configured to receive a first input. The second processor is configured to acquire the first parameter information from the first processor. The first network module is configured to establish a communication connection with the cloud server based on the first parameter information in response to the first input. Wherein, the first parameter information includes the account ID and corresponding account password of the first electronic device, network configuration information, and the domain name and/or IP address of the cloud server. The power management module is further configured to control the first processor to be powered off after the first network module establishes a communication connection with the cloud server. The second processor is further configured to obtain the first instruction from the cloud server through the first network module. The second processor is further configured to send a power-on command to the power management module in response to the first command. The power management module is further configured to control the first processor to be powered on in response to the power-on instruction. In this way, there is no need to use an additional remote start-up device, and it is not necessary to perform parameter configuration on the additional remote start-up device, and the steps are simple and the operation is convenient.
在一种可能的实现方式中,该第二处理器,具体用于:在该第一处理器接收第一输入之前,从该第一处理器获取到该第一参数信息。In a possible implementation manner, the second processor is specifically configured to: acquire the first parameter information from the first processor before the first processor receives the first input.
在一种可能的实现方式中,该第二处理器,具体用于:响应于该第一输入,从该第一处理器获取到该第一参数信息。In a possible implementation manner, the second processor is specifically configured to: acquire the first parameter information from the first processor in response to the first input.
在一种可能的实现方式中,该第二处理器,还用于在通过第一网络模块从该云服务器获取到开机请求之前,向该云服务器发送第一请求。其中,该第一请求用于触发该云服务器发送第一应答。该第二处理器,还用于接收到从该云服务器发送的该第一应答。该第二处理器,还用于响应于该第一应答,保持与该云服务器的通信连接。这样,可以使得当第一电子设备没有接收到第一指令时,与云服务器保持连接,可以提高第一电子设备接收第一指令并基于 第一指令控制第一处理器接通电源的效率。In a possible implementation manner, the second processor is further configured to send a first request to the cloud server before obtaining the startup request from the cloud server through the first network module. Wherein, the first request is used to trigger the cloud server to send a first response. The second processor is further configured to receive the first response sent from the cloud server. The second processor is further configured to maintain a communication connection with the cloud server in response to the first response. In this way, when the first electronic device does not receive the first instruction, the connection with the cloud server can be maintained, and the efficiency of the first electronic device receiving the first instruction and controlling the first processor to power on based on the first instruction can be improved.
在一种可能的实现方式中,该第二处理器,具体用于:通过该电源管理模块获取该第一处理器的状态。当该第一处理器为断电状态时,发送该通电指令至该电源管理模块。In a possible implementation manner, the second processor is specifically configured to: obtain the status of the first processor through the power management module. When the first processor is in a power-off state, the power-on command is sent to the power management module.
在一种可能的实现方式中,该第二处理器,还用于从该云服务器获取到第一指令之前,发送第一状态信息至该云服务器。其中,该第一状态信息用于指示该第一主处理器的状态。这样,可以使得第二电子设备显示出第一电子设备的状态,提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, the second processor is further configured to send the first state information to the cloud server before obtaining the first instruction from the cloud server. Wherein, the first state information is used to indicate the state of the first main processor. In this way, the second electronic device can display the state of the first electronic device, and the efficiency of the first electronic device receiving the first instruction and controlling the first processor to turn on the power based on the first instruction can be improved.
在一种可能的实现方式中,该第二处理器还用于,通过该电源管理模块查询该第一处理器的状态信息。该第二处理器还用于,当该第一处理器通电时,将第二状态信息发送给该云服务器。其中,该第二状态信息用于指示第一处理器的状态。这样,可以向用户显示第一电子设备中的第一处理器是否接通电源,步骤简洁,操作方便。In a possible implementation manner, the second processor is further configured to query the status information of the first processor through the power management module. The second processor is further configured to, when the first processor is powered on, send second state information to the cloud server. Wherein, the second state information is used to indicate the state of the first processor. In this way, whether the first processor in the first electronic device is powered on can be displayed to the user, and the steps are simple and the operation is convenient.
在一种可能的实现方式中,该第二处理器,还用于当该第一网络模块与云服务器建立通信连接之后,发送通知指令至该电源管理模块。该电源管理模块,具体用于:响应于该通知指令,控制该第一处理器断电。In a possible implementation manner, the second processor is further configured to send a notification instruction to the power management module after the first network module establishes a communication connection with the cloud server. The power management module is specifically configured to: control the first processor to be powered off in response to the notification instruction.
在一种可能的实现方式中,该第二处理器,还用于当该第一网络模块与云服务器建立通信连接之后,发送通知指令发送至该第一处理器。该第一处理器,还用于响应于该通知指令,发送断电指令至该电源管理模块。该电源管理模块,具体用于:响应于该断电指令,控制该第一处理器断电。In a possible implementation manner, the second processor is further configured to send a notification instruction to the first processor after the first network module establishes a communication connection with the cloud server. The first processor is further configured to send a power-off command to the power management module in response to the notification command. The power management module is specifically configured to: control the first processor to be powered off in response to the power off instruction.
第三方面,本申请提供了一种远程开机方法,该方法应用于第一电子设备,该方法包括:该第一电子设备控制第一处理器和第二处理器通电。该第一电子设备接收第一输入。该第一电子设备获取到第一参数信息。响应于该第一输入,该第一电子设备基于该第一参数信息,通过该第二处理器与云服务器建立通信连接。其中,该第一参数信息包括该第一电子设备的账号ID和对应的账号密码、网络配置信息及该云服务器的域名和/或IP地址。该第一电子设备通过该第二处理器与该云服务器建立通信连接之后,控制该第一处理器断开电源。该第一电子设备通过该第二处理器,从该云服务器获取到第一指令。该第一电子设备基于该第一指令,控制该第一处理器接通电源。这样,可以无需使用额外的远程开机设备,也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。In a third aspect, the present application provides a remote power-on method, the method is applied to a first electronic device, and the method includes: the first electronic device controls the first processor and the second processor to be powered on. The first electronic device receives a first input. The first electronic device obtains the first parameter information. In response to the first input, the first electronic device establishes a communication connection with the cloud server through the second processor based on the first parameter information. Wherein, the first parameter information includes the account ID and corresponding account password of the first electronic device, network configuration information, and the domain name and/or IP address of the cloud server. After the first electronic device establishes a communication connection with the cloud server through the second processor, it controls the first processor to cut off the power supply. The first electronic device obtains the first instruction from the cloud server through the second processor. The first electronic device controls the first processor to be powered on based on the first instruction. In this way, there is no need to use an additional remote start-up device, and it is not necessary to perform parameter configuration on the additional remote start-up device, and the steps are simple and the operation is convenient.
在一种可能的实现方式中,在该第一电子设备基于该第二处理器,从该云服务器获取到第一指令之前,该方法还包括:该第一电子设备向该云服务器发送第一请求。其中,该第一请求用于触发该云服务器发送第一应答。该第一电子设备接收到从该云服务器发送的该第一应答。响应于该第一应答,该第一电子设备保持与该云服务器的通信连接。这样,可以使得当第一电子设备没有接收到第一指令时,与云服务器保持连接,可以提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, before the first electronic device obtains the first instruction from the cloud server based on the second processor, the method further includes: the first electronic device sends the first instruction to the cloud server ask. Wherein, the first request is used to trigger the cloud server to send a first response. The first electronic device receives the first response sent from the cloud server. In response to the first response, the first electronic device maintains a communication connection with the cloud server. In this way, when the first electronic device does not receive the first instruction, the connection with the cloud server can be maintained, and the efficiency of the first electronic device receiving the first instruction and controlling the first processor to power on based on the first instruction can be improved.
在一种可能的实现方式中,该第一电子设备基于该第一指令,控制该第一处理器接通电源,具体包括:该第一电子设备基于该第二处理器查询该第一处理器的状态。当该第一处理器为断电状态时,该第一电子设备基于该第一指令,控制该第一处理器接通电源。这样,可以提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, the first electronic device controls the first processor to be powered on based on the first instruction, which specifically includes: the first electronic device queries the first processor based on the second processor status. When the first processor is in a power-off state, the first electronic device controls the first processor to be powered on based on the first instruction. In this way, the efficiency of the first electronic device receiving the first instruction and controlling the first processor to be powered on based on the first instruction can be improved.
在一种可能的实现方式中,在该第一电子设备基于该第二处理器,从该云服务器获取到第一指令之前,该方法还包括:该第一电子设备发送第一状态信息至该云服务器。其中,该第一状态信息用于指示该第一主处理器的状态。这样,可以使得第二电子设备显示出第一电 子设备的状态,提高第一电子设备接收第一指令并基于第一指令控制第一处理器接通电源的效率。In a possible implementation manner, before the first electronic device obtains the first instruction from the cloud server based on the second processor, the method further includes: the first electronic device sends the first status information to the Cloud Server. Wherein, the first state information is used to indicate the state of the first main processor. In this way, the second electronic device can display the state of the first electronic device, and the efficiency of the first electronic device receiving the first instruction and controlling the first processor to turn on the power based on the first instruction can be improved.
在一种可能的实现方式中,该方法还包括:该第一电子设备基于该第二处理器查询该第一处理器的状态信息。当该第一处理器为通电状态时,该第一电子设备将第二状态信息通过该云服务器发送至该第二电子设备。其中,该第二状态信息用于指示第一处理器的状态。这样,可以向用户显示第一电子设备中的第一处理器是否接通电源,步骤简洁,操作方便。In a possible implementation manner, the method further includes: the first electronic device queries state information of the first processor based on the second processor. When the first processor is in a power-on state, the first electronic device sends second state information to the second electronic device through the cloud server. Wherein, the second state information is used to indicate the state of the first processor. In this way, whether the first processor in the first electronic device is powered on can be displayed to the user, and the steps are simple and the operation is convenient.
在一种可能的实现方式中,该第一电子设备获取到第一参数信息,具体包括:在该第一电子设备接收到该第一输入之前,该第一电子设备通过该第一处理器获取到第一参数信息。In a possible implementation manner, the obtaining of the first parameter information by the first electronic device specifically includes: before the first electronic device receives the first input, the first electronic device obtains the first parameter information through the first processor. to the first parameter information.
在一种可能的实现方式中,该第一电子设备获取到第一参数信息,具体包括:响应于第一输入,该第一电子设备通过该第一处理器获取到第一参数信息。In a possible implementation manner, the acquiring the first parameter information by the first electronic device specifically includes: in response to the first input, the first electronic device acquires the first parameter information through the first processor.
第四方面,本申请提供了一种计算机存储介质,该存储介质中存储有计算机程序,该计算机程序包括可执行指令,该可执行指令当被处理器执行时使该处理器执行上述第三方面中任一项可能的实现方式中的方法。这样,可以无需使用额外的远程开机设备,也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。In a fourth aspect, the present application provides a computer storage medium, in which a computer program is stored, the computer program includes executable instructions, and when the executable instructions are executed by a processor, the processor executes the above third aspect A method in any of the possible implementations. In this way, there is no need to use an additional remote start-up device, and it is not necessary to perform parameter configuration on the additional remote start-up device, and the steps are simple and the operation is convenient.
第五方面,本申请提供了一种计算机程序产品,当该计算机程序产品在第一电子设备上运行时,使得该第一电子设备执行上述第三方面中任一项可能的实现方式中的方法。这样,可以无需使用额外的远程开机设备,也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。In a fifth aspect, the present application provides a computer program product, which, when the computer program product is run on a first electronic device, causes the first electronic device to execute the method in any possible implementation manner of the third aspect above . In this way, there is no need to use an additional remote start-up device, and it is not necessary to perform parameter configuration on the additional remote start-up device, and the steps are simple and the operation is convenient.
附图说明Description of drawings
图1是本申请实施例提供的一种通信系统10的架构示意图;FIG. 1 is a schematic structural diagram of a communication system 10 provided by an embodiment of the present application;
图2A是本申请实施例提供的一种电子设备100的硬件结构示意图;FIG. 2A is a schematic diagram of a hardware structure of an electronic device 100 provided in an embodiment of the present application;
图2B是本申请实施例提供的一种云服务器200的硬件结构示意图;FIG. 2B is a schematic diagram of a hardware structure of a cloud server 200 provided by an embodiment of the present application;
图2C是本申请实施例提供的一种电子设备300的硬件结构示意图;FIG. 2C is a schematic diagram of a hardware structure of an electronic device 300 provided in an embodiment of the present application;
图3A是本申请实施例提供的一种电子设备300的器件连结架构示意图;FIG. 3A is a schematic diagram of a device connection structure of an electronic device 300 provided by an embodiment of the present application;
图3B是本申请实施例提供的另一种电子设备300的器件连结架构示意图;FIG. 3B is a schematic diagram of a device connection structure of another electronic device 300 provided by an embodiment of the present application;
图4是本申请实施例提供的一种远程开机方法的具体流程示意图;FIG. 4 is a schematic flowchart of a remote boot method provided in an embodiment of the present application;
图5A-图5H是本申请实施例提供的一组用户界面示意图;5A-5H are schematic diagrams of a set of user interfaces provided by the embodiment of the present application;
图6是本申请实施例提供的一种设备间模块交互流程的示意图;FIG. 6 is a schematic diagram of a module interaction process between devices provided by an embodiment of the present application;
图7是本申请实施例提供的另一种远程开机方法的具体流程示意图;FIG. 7 is a schematic flowchart of another remote boot method provided in the embodiment of the present application;
图8是本申请实施例提供的另一种设备间模块交互流程的示意图;FIG. 8 is a schematic diagram of another module interaction process between devices provided by the embodiment of the present application;
图9是本申请实施例提供的一种电子设备300在云服务器200上注册激活的流程示意图。FIG. 9 is a schematic flowchart of an electronic device 300 registering and activating on the cloud server 200 provided by the embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的 描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in the text is only a description of associated objects The association relationship indicates that there may be three kinds of relationships, for example, A and/or B, which may indicate: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiment of the present application , "plurality" means two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as implying or implying relative importance or implicitly specifying the quantity of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, the "multiple" The meaning is two or more.
首先,介绍本申请实施例提供的一种远程开机流程。First, a remote boot process provided by the embodiment of the present application is introduced.
该远程开机流程可以应用于远程开机系统上,该远程开机系统可以包括主控设备、云服务器、远程开机单元和被控设备。其中,远程开机单元独立于主控设备、被控设备和云服务器,该远程开机单元可以和被控设备处于同一局域网中,该远程开机单元可以包括被控设备的MAC地址。主控设备可以登录安装了相应远程开机软件的云服务器上。当被控设备处于关机状态时,主控设备可以通过云服务器将开机指令发送至远程开机单元。当该远程开机单元验证该开机指令安全通过后,远程开机单元可以基于被控设备的MAC地址,采用局域网唤醒方式触发被控设备开机。The remote boot process can be applied to a remote boot system, and the remote boot system can include a master control device, a cloud server, a remote boot unit, and a controlled device. Wherein, the remote boot unit is independent of the main control device, the controlled device and the cloud server, the remote boot unit and the controlled device may be in the same local area network, and the remote boot unit may include the MAC address of the controlled device. The main control device can log in to the cloud server where the corresponding remote boot software is installed. When the controlled device is in the power-off state, the master control device can send a power-on instruction to the remote power-on unit through the cloud server. After the remote boot unit verifies that the boot command is passed safely, the remote boot unit can trigger the boot of the controlled device by means of Wake-on-LAN based on the MAC address of the controlled device.
由上述流程中可以看出,在实施该远程开机流程之前,需要对远程开机单元进行单独的参数配置,并且远程开机单元独立于被控设备,不便于云服务器进行统一管理。步骤极为繁琐,操作也十分不方便。It can be seen from the above process that before implementing the remote boot process, separate parameter configurations must be performed on the remote boot unit, and the remote boot unit is independent of the controlled device, which is not convenient for the cloud server to perform unified management. The steps are extremely cumbersome and the operation is very inconvenient.
因此,本申请提供了一种远程开机方法。Therefore, the present application provides a remote boot method.
在该远程开机方法中,被控设备集成有主处理器和用于执行远程开机程序的副处理器。当被控设备接收到用户针对于关闭被控设备的输入时,被控设备可以触发副处理器与云服务器建立通信连接并建立保活链路,然后触发主处理器断开电源。当被控设备没有接收到开机指令时,副处理器可以和云服务器基于上述保活链路保持通信连接不中断。当主控设备接收到用户针对于开启被控设备的输入时,主控设备可以通过云服务器向被控设备发送开机指令。被控设备通过副处理器接收到该开机指令后,可以触发主处理器接通电源。其中,关于保活链路的说明,后续实施例中将详细描述,在此不再赘述。In the remote boot method, the controlled device is integrated with a main processor and a secondary processor for executing a remote boot program. When the controlled device receives the user's input for shutting down the controlled device, the controlled device may trigger the secondary processor to establish a communication connection with the cloud server and establish a keep-alive link, and then trigger the main processor to disconnect the power supply. When the controlled device does not receive the power-on instruction, the sub-processor and the cloud server can keep the communication connection uninterrupted based on the above-mentioned keep-alive link. When the master control device receives the user's input for turning on the controlled device, the master control device may send a start-up instruction to the controlled device through the cloud server. After the controlled device receives the power-on instruction through the sub-processor, it can trigger the main processor to turn on the power supply. Wherein, the description about the keep-alive link will be described in detail in subsequent embodiments, and will not be repeated here.
因此,可以看出,实施本申请提供的远程开机方法,无需使用额外的远程开机设备(例如,前述中独立于被控设备的远程开机单元),也无需对该额外的远程开机设备进行参数配置,步骤简洁,操作方便。并且,远程开机模块集成在被控设备中,也便于云服务器进行统一管理。Therefore, it can be seen that implementing the remote boot method provided by the present application does not require the use of additional remote boot devices (for example, the aforementioned remote boot unit independent of the controlled device), nor does it need to perform parameter configuration on the additional remote boot devices , the steps are simple and easy to operate. Moreover, the remote start-up module is integrated in the controlled device, which also facilitates unified management of the cloud server.
接下来,介绍本申请实施例中提供的一种通信系统10。Next, a communication system 10 provided in the embodiment of the present application is introduced.
请参考图1,图1示例性示出了本申请实施例提供的一种通信系统10的架构示意图。Please refer to FIG. 1 . FIG. 1 exemplarily shows a schematic structural diagram of a communication system 10 provided by an embodiment of the present application.
如图1所示,该通信系统10可以实现本申请提供的一种远程开机方法。通信系统10可以包括电子设备100、云服务器200和电子设备300等,其中,本申请实施例以电子设备100是主控设备,电子设备300是被控设备为例。As shown in FIG. 1 , the communication system 10 can implement a remote boot method provided in this application. The communication system 10 may include an electronic device 100, a cloud server 200, and an electronic device 300, etc., where the embodiment of the present application takes the electronic device 100 as a master device and the electronic device 300 as a controlled device as an example.
电子设备100可以是智能手机、车载设备、平板电脑或者其他类型的电子设备等。电子设备100可以和云服务器200建立通信连接。基于上述通信连接,电子设备100可以和云服务器200进行数据通信。例如,电子设备100可以接收到由云服务器200发送的电子设备300的设备状态信息(例如,电子设备300已开机的状态信息、电子设备300已关机的状态信息等)。电子设备100也可以接收到用户针对于开启电子设备300的输入,响应于该输入,电子 设备100可以基于上述通信连接向云服务器200发送开机指令,以用于远程开启电子设备300,使得电子设备300中的主处理器接通电源。其中,该开机指令可以包括电子设备300的标识(例如,电子设备300的序列号(serial number)、电子设备300的设备身份证标识号(identity document,ID)、电子设备300的MAC地址等)。需要说明的是,上述电子设备300已开机的状态,指的是电子设备300中主处理器(例如,中央处理器(central processing unit,CPU))接通电源的状态;上述电子设备300已关机的状态,指的是电子设备300中主处理器断开电源的状态。The electronic device 100 may be a smart phone, a vehicle-mounted device, a tablet computer, or other types of electronic devices. The electronic device 100 can establish a communication connection with the cloud server 200 . Based on the above communication connection, the electronic device 100 can perform data communication with the cloud server 200 . For example, the electronic device 100 may receive device status information of the electronic device 300 sent by the cloud server 200 (for example, status information that the electronic device 300 is powered on, status information that the electronic device 300 is powered off, etc.). The electronic device 100 may also receive an input from the user for turning on the electronic device 300, and in response to the input, the electronic device 100 may send a start-up instruction to the cloud server 200 based on the above-mentioned communication connection, so as to remotely turn on the electronic device 300, so that the electronic device The main processor in 300 is powered on. Wherein, the boot instruction may include an identification of the electronic device 300 (for example, a serial number (serial number) of the electronic device 300, a device identification number (identity document, ID) of the electronic device 300, a MAC address of the electronic device 300, etc.) . It should be noted that the above-mentioned state of the electronic device 300 being turned on refers to a state in which the main processor (for example, a central processing unit (CPU)) in the electronic device 300 is powered on; the above-mentioned electronic device 300 has been powered off. The state of refers to the state where the main processor in the electronic device 300 is powered off.
云服务器200可以分别和电子设备100、电子设备300建立通信连接,并基于上述通信连接和电子设备100、电子设备300进行数据通信。例如,云服务器200可以基于和电子设备100的通信连接,向电子设备100发送电子设备300的设备状态信息(例如,电子设备300已开机的状态信息、电子设备300已关机的状态信息等),也可以接收到电子设备100发送的开启电子设备300的开机指令,其中,关于开机指令的说明,可以参考前述中的描述,在此不再赘述。云服务器200可以基于和电子设备300的通信连接,向电子设备300发送从电子设备100接收到的开机指令以远程开启电子设备300,使得电子设备300中的主处理器接通电源。云服务器200也可以基于和电子设备300的通信连接,接收到电子设备300发送的电子设备300的设备状态信息(例如,电子设备300已开机的状态信息、电子设备300已关机的状态信息等)。当云服务器200接收到由电子设备100发送的开机指令之前,云服务器200也可以基于和电子设备300的通信连接,每隔指定周期1(例如,每隔1分钟)接收到电子设备300发送的保活请求,然后,向电子设备300发送保活应答,以使得和电子设备300的通信连接链路不中断。关于该保活请求和保活应答的说明,后续实施例中会详细描述,在此不再赘述。The cloud server 200 can establish a communication connection with the electronic device 100 and the electronic device 300 respectively, and perform data communication with the electronic device 100 and the electronic device 300 based on the communication connection. For example, the cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100 based on the communication connection with the electronic device 100 (for example, the status information that the electronic device 300 is powered on, the status information that the electronic device 300 is powered off, etc.), It is also possible to receive a power-on command to turn on the electronic device 300 sent by the electronic device 100 , wherein, for a description of the power-on command, reference may be made to the foregoing description, which will not be repeated here. Based on the communication connection with the electronic device 300, the cloud server 200 can send the boot command received from the electronic device 100 to the electronic device 300 to remotely turn on the electronic device 300, so that the main processor in the electronic device 300 is powered on. The cloud server 200 may also receive the device status information of the electronic device 300 sent by the electronic device 300 based on the communication connection with the electronic device 300 (for example, the status information that the electronic device 300 is powered on, the status information that the electronic device 300 is powered off, etc.) . Before the cloud server 200 receives the power-on command sent by the electronic device 100, the cloud server 200 may also receive the power-on command sent by the electronic device 300 every specified period 1 (for example, every 1 minute) based on the communication connection with the electronic device 300. The keep-alive request then sends a keep-alive response to the electronic device 300, so that the communication link with the electronic device 300 is not interrupted. The description of the keep-alive request and the keep-alive response will be described in detail in subsequent embodiments, and will not be repeated here.
电子设备300可以是台式电脑、大屏设备、笔记本电脑、超级个人计算机(ultra-mobile personal computer,UMPC)、上网本、智能电视或者其他类型的电子设备等。电子设备300可以和云服务器200建立通信连接,并基于该通信连接,和云服务器200进行数据通信。例如,电子设备300可以基于上述通信连接,向云服务器200发送电子设备300的设备状态信息(例如,电子设备300已开机的状态信息、电子设备300已关机的状态信息等),也可以接收到由云服务器200发送的开机指令,并基于该开机指令使得电子设备300中的主处理器接通电源。其中,关于该开机指令的说明,可以参考前述中的描述,在此不再赘述。同时,当电子设备300接收到由云服务器200发送的开机指令之前,电子设备300可以基于和云服务器200的通信连接,每隔指定周期1(例如,每隔1分钟)向云服务器200发送保活请求,然后,接收到云服务器200发送的保活应答,以使得电子设备300和云服务器200的通信连接链路不中断。关于该保活请求和保活应答的说明,后续实施例中会详细描述,在此不再赘述。The electronic device 300 may be a desktop computer, a large-screen device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a smart TV, or other types of electronic devices. The electronic device 300 may establish a communication connection with the cloud server 200, and perform data communication with the cloud server 200 based on the communication connection. For example, the electronic device 300 may send the device status information of the electronic device 300 to the cloud server 200 based on the above-mentioned communication connection (for example, the status information that the electronic device 300 is powered on, the status information that the electronic device 300 is powered off, etc.), or receive A power-on command sent by the cloud server 200, and based on the power-on command, the main processor in the electronic device 300 is powered on. Wherein, for the description of the power-on command, reference may be made to the foregoing description, which will not be repeated here. At the same time, before the electronic device 300 receives the power-on command sent by the cloud server 200, the electronic device 300 may send a save message to the cloud server 200 every specified period 1 (for example, every 1 minute) based on the communication connection with the cloud server 200. Then, the keep-alive response sent by the cloud server 200 is received, so that the communication link between the electronic device 300 and the cloud server 200 is not interrupted. The description of the keep-alive request and the keep-alive response will be described in detail in subsequent embodiments, and will not be repeated here.
下面,介绍本申请实施例中提供的示例性电子设备100。Next, an exemplary electronic device 100 provided in the embodiment of the present application is introduced.
请参考图2A,图2A示例性示出了本申请实施例提供的一种电子设备100的硬件结构示意图。Please refer to FIG. 2A . FIG. 2A exemplarily shows a schematic diagram of a hardware structure of an electronic device 100 provided by an embodiment of the present application.
电子设备100可以包括处理器110,外部存储器接口120、内存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头 193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合来实现。It can be understood that, the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可以从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
I2S接口可以用于音频通信。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。The I2S interface can be used for audio communication. The processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。它将要传输的数据在串行通信与并行通信之间转换。The UART interface is a universal serial data bus used for asynchronous communication. It converts the data to be transmitted between serial communication and parallel communication.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用 于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于检测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module is used to connect the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to detect parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可以用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。在一些实施例中,移动通信模块150提供的无线通信的解决方案可使得电子设备可以与网络中的设备(如服务器)通信。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device. In some embodiments, the wireless communication solution provided by the mobile communication module 150 can enable the electronic device to communicate with devices (such as servers) in the network.
调制解调处理器可以包括调制器和解调器。其中,其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决 方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。在一些实施例中,电子设备100可以通过无线通信模块160中的蓝牙模块、WLAN模块发射信号来探测或扫描在电子设备100附近的设备,并与附近的设备建立无线通信连接并传输数据。其中,蓝牙模块可以提供包括经典蓝牙(蓝牙2.1标准)或蓝牙低功耗中一项或多项蓝牙通信的解决方案。WLAN模块可以提供包括Wi-Fi direct、Wi-Fi LAN或Wi-Fi softAP中一项或多项WLAN通信的解决方案。The wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation. In some embodiments, the electronic device 100 can detect or scan devices near the electronic device 100 by transmitting signals through the Bluetooth module and the WLAN module in the wireless communication module 160 , and establish wireless communication connections with nearby devices and transmit data. Wherein, the bluetooth module can provide one or more bluetooth communication solutions including classic bluetooth (bluetooth 2.1 standard) or bluetooth low energy consumption. The WLAN module can provide one or more WLAN communication solutions including Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度等进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, etc. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字 信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。The internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (non-volatile memory, NVM).
随机存取存储器可以包括静态随机存储器(static random-access memory,SRAM)、动态随机存储器(dynamic random access memory,DRAM)、同步动态随机存储器(synchronous dynamic random access memory,SDRAM)、双倍资料率同步动态随机存取存储器(double data rate synchronous dynamic random access memory,DDR SDRAM,例如第五代DDR SDRAM一般称为DDR5SDRAM)等;Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (synchronous dynamic random access memory, SDRAM), double data rate synchronous Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as the fifth generation DDR SDRAM is generally called DDR5SDRAM), etc.;
非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。Non-volatile memory may include magnetic disk storage devices, flash memory (flash memory).
快闪存储器按照运作原理划分可以包括NOR FLASH、NAND FLASH、3D NAND FLASH等,按照存储单元电位阶数划分可以包括单阶存储单元(single-level cell,SLC)、多阶存储单元(multi-level cell,MLC)、三阶储存单元(triple-level cell,TLC)、四阶储存单元(quad-level cell,QLC)等,按照存储规范划分可以包括通用闪存存储(英文:universal flash storage,UFS)、嵌入式多媒体存储卡(embedded multi media Card,eMMC)等。According to the operating principle, flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. According to the potential order of storage cells, it can include single-level storage cells (single-level cell, SLC), multi-level storage cells (multi-level cell, MLC), triple-level cell (TLC), quad-level cell (QLC), etc., can include universal flash storage (English: universal flash storage, UFS) according to storage specifications , embedded multimedia memory card (embedded multi media Card, eMMC), etc.
随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。The non-volatile memory can also store executable programs and data of users and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。The external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 . The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external non-volatile memory.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。 Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the receiver 170B can be placed close to the human ear to receive the voice.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两 个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used for connecting wired earphones. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B can be used to determine the motion posture of the electronic device 100 . The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。The distance sensor 180F is used to measure the distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 100 emits infrared light through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 . The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used for sensing ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。The touch sensor 180K is also called "touch device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it.
骨传导传感器180M可以用于获取振动信号。The bone conduction sensor 180M may be used to acquire vibration signals.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反 馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate a vibrating reminder. Motor 191 can be used for incoming call vibration prompt, also can be used for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
接下来,介绍本申请实施例中提供的示例性云服务器200。Next, the exemplary cloud server 200 provided in the embodiment of the present application is introduced.
请参考图2B,图2B示例性示出了本申请实施例提供的一种云服务器200的硬件结构示意图。Please refer to FIG. 2B . FIG. 2B exemplarily shows a schematic diagram of a hardware structure of a cloud server 200 provided by an embodiment of the present application.
如图2B所示。该云服务器200可以应用于上述图1中所描述的通信系统10。该云服务器200可以包括一个或多个处理器201A、通信接口202A、存储器203A,处理器201A、通信接口202A和存储器203A可以通过总线或者其他方式进行连接,本申请实施例以通过总线204A连接为例。其中:As shown in Figure 2B. The cloud server 200 can be applied to the communication system 10 described above in FIG. 1 . The cloud server 200 may include one or more processors 201A, communication interface 202A, and memory 203A. The processor 201A, communication interface 202A, and memory 203A may be connected via a bus or in other ways. In the embodiment of the present application, the connection via the bus 204A is example. in:
处理器201A可以由一个或者多个通用处理器构成,例如CPU。处理器201A可以用于运行设备控制方法的相关的程序代码。The processor 201A may be composed of one or more general-purpose processors, such as CPUs. The processor 201A can be used to run related program codes of the device control method.
通信接口202A可以为有线接口(例如,以太网接口)或无线接口(例如,蜂窝网接口),用于与其他节点进行通信。本申请实施例中,通信接口202A具体可以用于与电子设备100和电子设备300进行通信,使得云服务器200可以基于该通信接口202A与电子设备100和电子设备300进行数据通信。例如,云服务器200可以基于该通信接口202A接收到电子设备300发送的电子设备300的设备状态信息、接收到由电子设备100发送的开机指令、向电子设备300发送上述开机指令等等。The communication interface 202A may be a wired interface (for example, an Ethernet interface) or a wireless interface (for example, a cellular network interface), for communicating with other nodes. In the embodiment of the present application, the communication interface 202A can be specifically used to communicate with the electronic device 100 and the electronic device 300, so that the cloud server 200 can perform data communication with the electronic device 100 and the electronic device 300 based on the communication interface 202A. For example, the cloud server 200 may receive the device status information of the electronic device 300 sent by the electronic device 300 based on the communication interface 202A, receive the power-on command sent by the electronic device 100, send the above-mentioned power-on command to the electronic device 300, and so on.
存储器203A可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);也可以包括非易失性存储器(non-vlatile memory),例如ROM、快闪存储器(flash memory)、硬盘驱动器(Hard Disk Drive,HDD)或固态硬盘(Solid State Drives,SSD);存储器203A还可以包括上述种类的存储器的组合。在本申请实施例中,存储器203A可以用于存储电子设备300的设备信息(例如,电子设备300的设备名称、电子设备300用于远程开机的软件的版本号、电子设备300用于远程开机的硬件的版本号等等)。存储器203A还可以存储一些程序代码,以便于处理器201A调用存储器203A中存储的程序代码,以实现本申请实施例在云服务器200中的实现方法。 Memory 203A can include volatile memory (volatile memory), such as random access memory (random access memory, RAM); also can include non-volatile memory (non-vlatile memory), such as ROM, flash memory (flash memory) ), a hard disk drive (Hard Disk Drive, HDD) or a solid state disk (Solid State Drives, SSD); the storage 203A may also include a combination of the above types of storage. In the embodiment of the present application, the memory 203A can be used to store the device information of the electronic device 300 (for example, the device name of the electronic device 300, the version number of the software used by the electronic device 300 for remote booting, the version number of the hardware, etc.). The memory 203A may also store some program codes, so that the processor 201A calls the program codes stored in the memory 203A to implement the implementation method in the cloud server 200 of the embodiment of the present application.
需要说明的是,图2B所示的云服务器200仅仅是本申请实施例的一种实现方式,在实际应用中,云服务器200还可以包括更多或更少的部件,这里不作限制。It should be noted that the cloud server 200 shown in FIG. 2B is only an implementation of the embodiment of the present application. In practical applications, the cloud server 200 may include more or fewer components, which is not limited here.
接下来,介绍本申请实施例中提供的示例性电子设备300。Next, an exemplary electronic device 300 provided in the embodiment of the present application is introduced.
请参考图2C,图2C示例性示出了本申请实施例提供的一种电子设备300的硬件结构示意图。Please refer to FIG. 2C . FIG. 2C exemplarily shows a schematic diagram of a hardware structure of an electronic device 300 provided in an embodiment of the present application.
如图2C所示,电子设备300可以包括电源管理模块301、主处理器302、副处理器303、存储器304、无线通信模块(也可以称为第一网络模块)305和显示屏306,上述各器件可以通过总线或者其他方式进行连接,本申请实施例以通过总线连接为例。其中:As shown in FIG. 2C, the electronic device 300 may include a power management module 301, a main processor 302, a secondary processor 303, a memory 304, a wireless communication module (also referred to as a first network module) 305, and a display screen 306. Devices may be connected through a bus or in other ways, and the embodiment of the present application uses the connection through a bus as an example. in:
电源管理模块301可以用于接收外接电源或内置在电子设备300中电池的电流输入,为主处理器302、副处理器303、存储器304和无线通信模块305等供电。电源管理模块301还可以用于检测电子设备300中的电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块301也可以设置于主处理器302中。The power management module 301 can be used to receive an external power supply or a current input from a battery built in the electronic device 300 to supply power to the main processor 302 , the secondary processor 303 , the memory 304 and the wireless communication module 305 . The power management module 301 can also be used to detect parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance) in the electronic device 300 . In some other embodiments, the power management module 301 can also be set in the main processor 302 .
主处理器302可以包括一个或多个处理器单元,例如主处理器302可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在一些实施例中,主处理器302可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或USB接口等。The main processor 302 may include one or more processor units, for example, the main processor 302 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal Processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction. In some embodiments, main processor 302 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or USB interface, etc.
副处理器303可以是微控制单元(Microcontroller Unit,MCU),或者包括有RAM单元的微处理器。副处理器303可以用于当电源管理模块301控制主处理器302断开电源时,基于电源管理模块301保持电流输入,并与云服务器200建立通信连接。副处理器303可以基于该通信连接,与云服务器200进行数据交互。例如,当副处理器303没有接收到云服务器200发送的开机指令时,副处理器303可以向云服务器200发送保活请求,然后接收到云服务器200发送的保活应答。当副处理器303接收到云服务器200发送的开机指令时,副处理器303可以查询主处理器302的状态信息,若副处理器303获取到主处理器302的状态为断开电源状态,则副处理器303可以将上述开机指令发送至电源管理模块301,使得电源管理模块301可以基于该开机指令控制主处理器302接通电源。副处理器303还可以用于当电源管理模块301使得主处理器302接通电源后,获取到主处理器302的状态信息,并将该状态信息发送给云服务器200。副处理器303还可以用于当主处理器302响应于用户的输入需要断开电源时,基于关机指令通过电源管理模块301控制主处理器302断开电源。The secondary processor 303 may be a Microcontroller Unit (MCU), or a microprocessor including a RAM unit. The secondary processor 303 can be used to maintain current input based on the power management module 301 and establish a communication connection with the cloud server 200 when the power management module 301 controls the main processor 302 to disconnect the power supply. The secondary processor 303 can perform data interaction with the cloud server 200 based on the communication connection. For example, when the secondary processor 303 does not receive the boot command sent by the cloud server 200 , the secondary processor 303 may send a keep-alive request to the cloud server 200 , and then receive a keep-alive response from the cloud server 200 . When the sub-processor 303 receives the power-on command sent by the cloud server 200, the sub-processor 303 can query the state information of the main processor 302, if the sub-processor 303 obtains that the state of the main processor 302 is a power-off state, then The sub-processor 303 may send the above boot command to the power management module 301, so that the power management module 301 may control the main processor 302 to turn on the power based on the boot command. The sub-processor 303 can also be used to obtain status information of the main processor 302 after the power management module 301 enables the main processor 302 to be powered on, and send the status information to the cloud server 200 . The secondary processor 303 can also be used to control the main processor 302 to cut off the power supply through the power management module 301 based on the shutdown command when the main processor 302 needs to cut off the power supply in response to the user's input.
存储器304可以主处理器302和/或副处理器303耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器304可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);也可以包括非易失性存储器(non-vlatile memory),例如ROM、快闪存储器(flash memory)、硬盘驱动器(Hard Disk Drive,HDD)或固态硬盘(Solid State Drives,SSD);存储器304还可以包括上述种类的存储器的组合。存储器304可以存储一些程序代码,以便于主处理器302和/或副处理器303调用存储器304中存储的程序代码,以实现本申请实施例在电子设备300中的实现方法。存储器304可以存储操作系统,例如 uCOS、VxWorks、RTLinux等嵌入式操作系统。The memory 304 can be coupled to the main processor 302 and/or the secondary processor 303 for storing various software programs and/or sets of instructions. In specific implementation, memory 304 can include volatile memory (volatile memory), such as random access memory (random access memory, RAM); A memory (flash memory), a hard disk drive (Hard Disk Drive, HDD) or a solid state disk (Solid State Drives, SSD); the memory 304 may also include a combination of the above types of memory. The memory 304 may store some program codes, so that the main processor 302 and/or the sub-processor 303 can call the program codes stored in the memory 304 to implement the implementation method in the electronic device 300 of the embodiment of the present application. The memory 304 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, and RTLinux.
无线通信模块305可以包括有WLAN通信模块305A。电子设备300可以通过WLAN中的一种或多种无线通信技术与云服务器200建立无线通信连接,并基于上述无线通信连接进行数据传输与数据接收。其中,WLAN通信模块305A可以提供包括无线保真直连(wireless fidelity direct,Wi-Fi direct)、无线保真局域网(wireless fidelity local area networks,Wi-Fi LAN)或无线保真软件接入点(wireless fidelity software access point,Wi-Fi softAP)中一项或多项WLAN通信的解决方案。无线通信模块305可以经由天线(图中未示出)接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到主处理器302和/或副处理器303。无线通信模块305还可以从主处理器302和/或副处理器303接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。The wireless communication module 305 may include a WLAN communication module 305A. The electronic device 300 may establish a wireless communication connection with the cloud server 200 through one or more wireless communication technologies in WLAN, and perform data transmission and data reception based on the wireless communication connection. Among them, the WLAN communication module 305A can provide wireless fidelity direct (wireless fidelity direct, Wi-Fi direct), wireless fidelity local area networks (wireless fidelity local area networks, Wi-Fi LAN) or wireless fidelity software access point (wireless One or more WLAN communication solutions in fidelity software access point, Wi-Fi softAP). The wireless communication module 305 can receive electromagnetic waves via an antenna (not shown in the figure), frequency-modulate and filter the electromagnetic wave signals, and send the processed signals to the main processor 302 and/or the sub-processor 303 . The wireless communication module 305 can also receive the signal to be sent from the main processor 302 and/or the sub-processor 303, perform frequency modulation on it, amplify it, and convert it into electromagnetic wave and radiate it through the antenna.
在一些实施例中,无线通信模块(也可以被称为第一网络模块)305也可以包括蓝牙模块(图中未示出),其中,蓝牙模块可以提供包括经典蓝牙(蓝牙2.1标准)或蓝牙低功耗(bluetooth low energy,BLE)中一项或多项蓝牙通信的解决方案。无线通信模块305还可以提供应用在电子设备300上的包括全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)、蜂窝网络通信等无线通信的解决方案。In some embodiments, the wireless communication module (also referred to as the first network module) 305 may also include a bluetooth module (not shown in the figure), wherein the bluetooth module may provide classic bluetooth (bluetooth 2.1 standard) or A solution for one or more Bluetooth communications in low power consumption (bluetooth low energy, BLE). The wireless communication module 305 can also provide information on the electronic device 300 including global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared Technology (infrared, IR), cellular network communication and other wireless communication solutions.
显示屏306可以用于显示图像、视频等。显示屏306可以包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备300可以包括一个或N个显示屏306,N为大于1的正整数。The display screen 306 may be used to display images, videos, and the like. Display 306 may include a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 300 may include one or N display screens 306 , where N is a positive integer greater than 1.
需要说明的是,图2C所示的电子设备300的硬件结构仅仅是本申请实施例的一种实现方式,在实际应用中,电子设备300还可以包括更多或更少的部件,这里不作限制。It should be noted that the hardware structure of the electronic device 300 shown in FIG. 2C is only an implementation of the embodiment of the present application. In practical applications, the electronic device 300 may also include more or fewer components, which is not limited here. .
接下来,介绍本申请实施例中提供的一种电子设备300的器件连结架构。Next, a device connection architecture of the electronic device 300 provided in the embodiment of the present application is introduced.
请参考图3A,图3A示例性示出了本申请实施例提供的一种电子设备300的器件连结架构示意图。其中,本申请实施例以无线通信模块(也可以被称为第一网络模块)是Wi-Fi模块为例进行说明。Please refer to FIG. 3A . FIG. 3A schematically shows a schematic diagram of a device connection structure of an electronic device 300 provided by an embodiment of the present application. Wherein, the embodiment of the present application is described by taking the wireless communication module (also referred to as the first network module) being a Wi-Fi module as an example.
如图3A所示,电子设备300可以包括电源管理模块401、主处理单元402、副处理单元403、与主处理单元402相连接的Wi-Fi模块404、和副处理单元403相连接的Wi-Fi模块405和存储器406。其中:As shown in FIG. 3A, the electronic device 300 may include a power management module 401, a main processing unit 402, a secondary processing unit 403, a Wi-Fi module 404 connected to the main processing unit 402, and a Wi-Fi module connected to the secondary processing unit 403. Fi module 405 and memory 406 . in:
电源管理模块401可以和主处理单元402及副处理单元403相连接。电源管理模块401可以用于控制主处理单元402和副处理单元403接通电源以及断开电源。例如,当电子设备300接收到用户作用于显示屏上关机控件的输入(例如,点击显示屏上的关机控件)或针对于电子设备300上物理按键的输入,并且副处理单元403已和云服务器200建立通信连接时,电源管理模块401可以控制主处理单元402断开电源且使得副处理单元403接通电源,以便主处理单元402断开电源时电子设备300可以基于该副处理单元403和云服务器200进行数据交互。The power management module 401 can be connected with the main processing unit 402 and the auxiliary processing unit 403 . The power management module 401 can be used to control the main processing unit 402 and the secondary processing unit 403 to turn on and turn off the power. For example, when the electronic device 300 receives an input from the user acting on the power-off control on the display screen (for example, clicking the power-off control on the display screen) or an input directed at a physical button on the electronic device 300, and the sub-processing unit 403 has communicated with the cloud server 200 establishes a communication connection, the power management module 401 can control the main processing unit 402 to disconnect the power supply and enable the secondary processing unit 403 to switch on the power supply, so that when the main processing unit 402 disconnects the power supply, the electronic device 300 can be based on the secondary processing unit 403 and the cloud. The server 200 performs data interaction.
在一种可能的实现方式中,当电子设备300处于接通电源的状态时,电子设备300可以接收到用户针对于电子设备300上物理按键的输入,响应于该输入,电源管理模块401也可 以使得主处理单元402和副处理单元403断开电源。这样,可以降低电子设备300的功耗。In a possible implementation manner, when the electronic device 300 is in the power-on state, the electronic device 300 may receive an input from the user on a physical key on the electronic device 300, and in response to the input, the power management module 401 may also The main processing unit 402 and the secondary processing unit 403 are powered off. In this way, the power consumption of the electronic device 300 can be reduced.
主处理单元402可以用于读取指令、对指令译码并执行指令,以便运行程序和处理信息。在本申请实施例中,在一种可能的实现方式中,主处理单元402可以用于存储远程开机执行程序对应的镜像文件。当主处理单元402接收到关机指令时,可以将上述镜像文件加载到副处理单元403,以使得副处理单元403可以基于上述镜像文件运行远程开机控制程序(也可以被称为远程开机程序)。The main processing unit 402 may be used to read instructions, decode instructions, and execute instructions to run programs and process information. In this embodiment of the present application, in a possible implementation manner, the main processing unit 402 may be configured to store an image file corresponding to a remote boot execution program. When the main processing unit 402 receives the shutdown command, it can load the above-mentioned image file to the sub-processing unit 403, so that the sub-processing unit 403 can run a remote boot control program (also called a remote boot program) based on the above-mentioned image file.
副处理单元403可以用于执行远程开机控制程序,以及当主处理单元402断开电源时,副处理单元403可以和云服务器200建立通信连接并基于上述通信连接进行数据交互。副处理单元403和主处理单元402之间可以基于指定接口进行数据交互。例如,副处理单元403可以基于该指定接口接收到主处理单元402发送的网络配置信息(例如,Wi-Fi名称和Wi-Fi密码)、云服务器200的域名和/或云服务器200的互联网协议(internet protocol,IP)地址等,副处理单元403可以将上述数据信息存储至存储器406中。The secondary processing unit 403 can be used to execute a remote power-on control program, and when the main processing unit 402 is powered off, the secondary processing unit 403 can establish a communication connection with the cloud server 200 and perform data interaction based on the above communication connection. Data interaction between the sub-processing unit 403 and the main processing unit 402 may be performed based on a specified interface. For example, the sub-processing unit 403 may receive the network configuration information (for example, Wi-Fi name and Wi-Fi password) sent by the main processing unit 402, the domain name of the cloud server 200 and/or the Internet protocol of the cloud server 200 based on the designated interface. (internet protocol, IP) address, etc., the secondary processing unit 403 can store the above data information in the memory 406.
在一些实施例中,副处理单元403可以预先烧录有远程开机系统的执行环境程序码,当副处理单元403通过电源管理模块401接通电源时,副处理单元403可以基于该预先烧录的环境程序运行远程开机控制程序。在另一些实施例中,副处理单元403也可以从主处理单元402中获取到远程开机执行程序对应的镜像文件,并基于该镜像文件运行远程开机控制程序。In some embodiments, the sub-processing unit 403 can be pre-burned with the execution environment program code of the remote boot system. When the sub-processing unit 403 is powered on through the power management module 401, the sub-processing unit 403 can The environment program runs the remote power-on control program. In some other embodiments, the sub-processing unit 403 may also obtain the image file corresponding to the remote boot execution program from the main processing unit 402, and run the remote boot control program based on the image file.
Wi-Fi模块404可以和主处理单元402相连接,以用于主处理单元402和其他设备(例如,云服务器200)建立无线通信连接,并基于上述无线通信连接进行数据传输与数据接收。The Wi-Fi module 404 can be connected with the main processing unit 402 for the main processing unit 402 to establish a wireless communication connection with other devices (eg, the cloud server 200 ), and perform data transmission and data reception based on the above wireless communication connection.
Wi-Fi模块405可以和副处理单元403相连接。当主处理单元402和Wi-Fi模块404断开电源时,Wi-Fi模块405可以使得副处理单元403与其他设备(例如,云服务器200)建立无线通信连接,并基于上述无线通信连接进行数据传输与数据接收。例如,当主处理单元402已断开电源时,副处理单元403可以通过该Wi-Fi模块405接收到由云服务器200发送的开机指令,并基于该开机指令使得主处理单元402接通电源。The Wi-Fi module 405 can be connected with the secondary processing unit 403 . When the main processing unit 402 and the Wi-Fi module 404 are powered off, the Wi-Fi module 405 can enable the secondary processing unit 403 to establish a wireless communication connection with other devices (for example, the cloud server 200), and perform data transmission based on the wireless communication connection and data reception. For example, when the main processing unit 402 has been powered off, the secondary processing unit 403 may receive a power-on command sent by the cloud server 200 through the Wi-Fi module 405, and make the main processing unit 402 power on based on the power-on command.
存储器406可以和副处理单元403相连接,用于存储副处理单元403运行远程开机控制程序时所需的参数信息,例如,Wi-Fi模块405连接Wi-Fi所需的网络配置信息(例如,Wi-Fi名称和Wi-Fi密码)、云服务器200的域名和/或云服务器200的IP地址等等。The memory 406 can be connected with the secondary processing unit 403, and is used for storing the parameter information required for the secondary processing unit 403 to run the remote power-on control program, for example, the network configuration information required for the Wi-Fi module 405 to connect to Wi-Fi (for example, Wi-Fi name and Wi-Fi password), the domain name of the cloud server 200 and/or the IP address of the cloud server 200, etc.
在一种可能的实现方式中,电子设备300中的主处理单元402和副处理单元403可以共用Wi-Fi模块(例如,主处理单元402和副处理单元403可以共用Wi-Fi模块405),也即是说,主处理单元402和副处理单元403可以基于该共用Wi-Fi模块和其他设备(例如,云服务器200)建立通信连接,以进行无线通信数据的交互。In a possible implementation manner, the main processing unit 402 and the secondary processing unit 403 in the electronic device 300 may share a Wi-Fi module (for example, the main processing unit 402 and the secondary processing unit 403 may share a Wi-Fi module 405), That is to say, the main processing unit 402 and the secondary processing unit 403 can establish a communication connection with other devices (for example, the cloud server 200 ) based on the shared Wi-Fi module, so as to exchange wireless communication data.
在一种可能的实现方式中,如图3B所示,电子设备300中也可以没有存储器406,也即是说,副处理单元403也可以没有外接的存储空间。则在该实现方式中,副处理单元403也可以从主处理单元402中获取到远程开机执行程序对应的镜像文件,并基于该镜像文件运行远程开机控制程序。In a possible implementation manner, as shown in FIG. 3B , the electronic device 300 may also have no memory 406 , that is to say, the sub-processing unit 403 may also have no external storage space. Then in this implementation, the secondary processing unit 403 may also obtain the image file corresponding to the remote boot execution program from the main processing unit 402, and run the remote boot control program based on the image file.
需要说明的是,图3A和图3B所示的电子设备300的软件架构仅仅是本申请实施例的一种实现方式,在实际应用中,电子设备300还可以包括更多或更少的软件模块,例如,主处理单元402也可以连接有存储器,以用于存储一些程序指令,本申请对此不作限制。It should be noted that the software architecture of the electronic device 300 shown in FIG. 3A and FIG. 3B is only an implementation of the embodiment of the present application, and in practical applications, the electronic device 300 may also include more or fewer software modules For example, the main processing unit 402 may also be connected with a memory for storing some program instructions, which is not limited in the present application.
下面,介绍本申请实施例提供的一种远程开机方法的具体流程。In the following, a specific flow of a remote boot method provided in the embodiment of the present application is introduced.
请参考图4,图4示例性示出了本申请实施例中提供的一种远程开机方法的具体流程示意图。Please refer to FIG. 4 . FIG. 4 exemplarily shows a specific flowchart of a remote power-on method provided in an embodiment of the present application.
以电子设备100是智能手机,电子设备300是计算机为例。其中,电子设备300可以被称为第一电子设备,电子设备100可以被称为第二电子设备。主处理器可以被称为第一处理器,副处理器可以被称为第二处理器。Take the electronic device 100 being a smart phone and the electronic device 300 being a computer as an example. Wherein, the electronic device 300 may be called a first electronic device, and the electronic device 100 may be called a second electronic device. The main processor may be called a first processor, and the secondary processor may be called a second processor.
如图4所示,该方法可以包括:As shown in Figure 4, the method may include:
S501、电子设备300接通电源。S501. The electronic device 300 is powered on.
具体的,电子设备300可以通过前述图3A所示实施例中的电源管理模块401接收外接电源或内置在电子设备300中电池的电流输入,使得电子设备300接通电源。Specifically, the electronic device 300 may receive an external power supply or a current input from a battery built in the electronic device 300 through the power management module 401 in the embodiment shown in FIG. 3A , so that the electronic device 300 is powered on.
S502、电子设备300控制主处理器运行。S502. The electronic device 300 controls the operation of the main processor.
具体的,电子设备300可以通过主处理器读取指令、对指令译码并执行指令以运行程序和处理信息。示例性的,以电子设备300是计算机为例,当电子设备300接收到用户的输入(例如,用户作用于键盘或鼠标上的输入)时,电子设备300可以通过主处理器响应于该输入,运行相关程序指令以执行该用户输入对应的操作。Specifically, the electronic device 300 can use the main processor to read instructions, decode the instructions, and execute the instructions to run programs and process information. Exemplarily, taking the electronic device 300 as a computer as an example, when the electronic device 300 receives user input (for example, the user acts on the input on the keyboard or mouse), the electronic device 300 can respond to the input through the main processor, Execute relevant program instructions to perform operations corresponding to the user input.
在一些实施例中,当云服务器200上没有电子设备300的设备信息,云服务器200无法基于电子设备100的开机指令控制电子设备300上已断电的主处理器接通电源时,电子设备300可以在该S502步骤中在云服务器200上进行注册激活。关于电子设备300在云服务器200上注册激活的具体流程,后续实施例中将详细描述,在此不再赘述。In some embodiments, when there is no device information of the electronic device 300 on the cloud server 200, and the cloud server 200 cannot control the powered-off main processor on the electronic device 300 to power on based on the power-on command of the electronic device 100, the electronic device 300 Registration activation can be performed on the cloud server 200 in the step S502. The specific process of registering and activating the electronic device 300 on the cloud server 200 will be described in detail in subsequent embodiments, and will not be repeated here.
S503、电子设备300控制副处理器执行远程开机控制程序。S503. The electronic device 300 controls the secondary processor to execute a remote boot control program.
具体的,该远程开机控制程序是用于实施本申请实施例提供的远程开机方法的程序代码。电子设备300可以集成预先烧录有远程开机系统执行环境程序码的器件。当电子设备300接通电源后,电子设备300可以基于上述器件,控制副处理器运行远程开机控制程序。Specifically, the remote start-up control program is a program code for implementing the remote start-up method provided by the embodiment of the present application. The electronic device 300 may be integrated with a device pre-programmed with a remote boot system execution environment program code. When the electronic device 300 is powered on, the electronic device 300 can control the sub-processor to run a remote power-on control program based on the above components.
需要说明的是,本申请并不对步骤S502和步骤S503执行的先后顺序作限定。It should be noted that, the present application does not limit the order in which step S502 and step S503 are performed.
S504、电子设备300获取到参数信息1(也可以被称为第一参数信息)。其中,该参数信息1可以包括电子设备300注册在云服务器200上的设备注册信息、网络配置信息和云服务器200的设备信息。S504. The electronic device 300 acquires parameter information 1 (also referred to as first parameter information). Wherein, the parameter information 1 may include device registration information of the electronic device 300 registered on the cloud server 200 , network configuration information and device information of the cloud server 200 .
具体的,该设备注册信息可以是电子设备300用于登录到云服务器200的账号设备身份标识(identity document,ID)和对应账号密码;网络配置信息可以是Wi-Fi名称和Wi-Fi密码,用于电子设备300中副处理器连接Wi-Fi;云服务器200的设备信息可以是云服务器200的域名和/或IP地址,用于电子设备300中副处理器与云服务器200建立通信连接。Specifically, the device registration information may be an account device identity (identity document, ID) and a corresponding account password used by the electronic device 300 to log in to the cloud server 200; the network configuration information may be a Wi-Fi name and a Wi-Fi password, The secondary processor in the electronic device 300 is used to connect to Wi-Fi; the device information of the cloud server 200 can be the domain name and/or IP address of the cloud server 200, which is used for the secondary processor in the electronic device 300 to establish a communication connection with the cloud server 200.
在一种可能的实现方式中,网络配置信息可以是蓝牙连接的参数信息(例如,云服务器200的蓝牙MAC地址)和/或蜂窝网络的参数信息。In a possible implementation manner, the network configuration information may be parameter information of the Bluetooth connection (for example, the Bluetooth MAC address of the cloud server 200 ) and/or parameter information of the cellular network.
在一种可能的实现方式中,上述网络配置信息可以是电子设备300中主处理器连接Wi-Fi后,所获取到的该指定Wi-Fi的Wi-Fi名称和Wi-Fi密码。在另一种可能的实现方式中,上述网络配置信息也可以是预先设置的。本申请对此不作限制。In a possible implementation manner, the above network configuration information may be the Wi-Fi name and Wi-Fi password of the specified Wi-Fi acquired after the main processor in the electronic device 300 is connected to the Wi-Fi. In another possible implementation manner, the foregoing network configuration information may also be preset. This application is not limited to this.
S505、电子设备300接收到用户针对于关闭电子设备300的输入1(也可以被称为第一输入)。S505. The electronic device 300 receives an input 1 (also referred to as a first input) from the user for turning off the electronic device 300 .
具体的,以电子设备300是计算机为例,该输入1可以是电子设备300接收到的用户作 用于显示屏上关机控件的输入(例如,点击显示屏上的关机控件),也可以是用户针对于电子设备300上物理按键的输入。Specifically, taking the electronic device 300 as a computer as an example, the input 1 may be an input received by the electronic device 300 from the user acting on the power-off control on the display screen (for example, clicking the power-off control on the display screen), The input of physical keys on the electronic device 300 .
示例性的,以该输入1是用户作用于显示屏上关机控件的输入为例,如图5A所示,电子设备300可以示出用户界面600。该用户界面600可以显示有一个或多个应用图标(例如,时钟应用图标、阅读应用图标、计算器应用图标和邮件应用图标等等)、一个或多个控件(例如,电源控件601、设置控件、图片控件和文档控件等等)以及光标602。Exemplarily, taking the input 1 as an input that the user acts on the power-off control on the display screen as an example, as shown in FIG. 5A , the electronic device 300 may display a user interface 600 . The user interface 600 may display one or more application icons (for example, a clock application icon, a reading application icon, a calculator application icon, a mail application icon, etc.), one or more controls (for example, a power control 601, a setting control , picture control and document control, etc.) and cursor 602.
电子设备300可以接收到用户操控光标602针对于电源控件601的点击输入。响应于该点击输入,如图5B所示,电子设备300可以在用户界面600上显示出一个或多个选项(例如,睡眠选项、关机选项603和重启选项等等)。电子设备300可以接收到用户操控光标602针对于关机选项603的点击输入(也可以被称为输入1)。响应于该输入,电子设备300可以执行步骤下述步骤S506。The electronic device 300 may receive a click input directed at the power control 601 by manipulating the cursor 602 by the user. In response to the click input, as shown in FIG. 5B , the electronic device 300 may display one or more options on the user interface 600 (for example, a sleep option, a shutdown option 603 and a restart option, etc.). The electronic device 300 may receive a click input (also referred to as input 1 ) for the shutdown option 603 by manipulating the cursor 602 by the user. In response to the input, the electronic device 300 may perform step S506 described below.
S506、响应于上述输入1,电子设备300可以基于参数信息1通过副处理器与云服务器200建立通信连接。S506. In response to the above input 1, the electronic device 300 may establish a communication connection with the cloud server 200 through the secondary processor based on the parameter information 1.
具体的,电子设备300可以基于参数信息1中的Wi-Fi名称和Wi-Fi密码,控制副处理器连接到指定Wi-Fi网络上。然后,电子设备300可以基于参数信息1中云服务器200的设备信息(例如,云服务器200的域名或云服务器200的IP地址),通过TCP协议或UDP协议与云服务器200建立通信连接。Specifically, the electronic device 300 can control the sub-processor to connect to the specified Wi-Fi network based on the Wi-Fi name and Wi-Fi password in the parameter information 1 . Then, the electronic device 300 can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol based on the device information of the cloud server 200 in parameter information 1 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200).
在一种可能的实现方式中,当参数信息1中的网络配置信息中包括蓝牙连接的参数信息(例如,云服务器200的蓝牙MAC地址)和/或蜂窝网络的参数信息,电子设备300可以基于上述网络配置信息通过蓝牙连接和/或蜂窝网络连接的方式,使得副处理器与云服务器200建立通信连接。In a possible implementation, when the network configuration information in the parameter information 1 includes parameter information of the Bluetooth connection (for example, the Bluetooth MAC address of the cloud server 200) and/or parameter information of the cellular network, the electronic device 300 may base on The above network configuration information enables the secondary processor to establish a communication connection with the cloud server 200 through Bluetooth connection and/or cellular network connection.
S507、当电子设备300和云服务器200建立通信连接后,电子设备300控制主处理器断开电源。S507. After the electronic device 300 establishes a communication connection with the cloud server 200, the electronic device 300 controls the main processor to disconnect the power supply.
具体的,当电子设备300控制主处理器断开电源时,电子设备300中的副处理器仍然保持接通电源。电子设备300中的副处理器可以将此时电子设备300的设备信息(例如,电子设备300的设备名称、电子设备300用于远程开机的软件的版本号、电子设备300用于远程开机的硬件的版本号等等)发送给云服务器200。电子设备100可以从云服务器200获取到电子设备300的设备信息并显示。需要说明的是,当电子设备300中主处理器断开电源时,电子设备300的设备状态信息(也可以被称为第一状态信息)所指示的电子设备300的状态为关机状态。Specifically, when the electronic device 300 controls the main processor to turn off the power supply, the secondary processor in the electronic device 300 remains powered on. The secondary processor in the electronic device 300 can use the device information of the electronic device 300 at this time (for example, the device name of the electronic device 300, the version number of the software used by the electronic device 300 for remote booting, the hardware version number, etc.) to the cloud server 200. The electronic device 100 may acquire and display the device information of the electronic device 300 from the cloud server 200 . It should be noted that, when the main processor in the electronic device 300 is powered off, the state of the electronic device 300 indicated by the device state information (also referred to as first state information) of the electronic device 300 is a power-off state.
S508、电子设备300基于上述通信连接,向云服务器200发送保活请求(也可以被称为第一请求)。S508. The electronic device 300 sends a keep-alive request (also referred to as a first request) to the cloud server 200 based on the communication connection.
具体的,电子设备300向云服务器200发送保活请求,以用于当云服务器200和电子设备300没有应用数据交互(例如,电子设备300没有从云服务器200接收到开机指令)时,保持电子设备300和云服务器200的通信连接不被中断。Specifically, the electronic device 300 sends a keep-alive request to the cloud server 200, so as to keep the electronic The communication connection between the device 300 and the cloud server 200 is not interrupted.
示例性的,当电子设备300与云服务器200没有进行应用数据交互时,电子设备300可 以每隔指定周期1(例如,1分钟)向云服务器200发送保活请求。在该保活请求的报文中,其序列号的值可以为电子设备300发送的上一个报文序列号的值减1,确认号的值可以为电子设备300发送的上一个报文确认号的值。该保活请求报文中可以不设置任何数据,或者,可以设置1个字节的数据,其数据的值可以为“00”。Exemplarily, when the electronic device 300 does not interact with the cloud server 200 on application data, the electronic device 300 may send a keep-alive request to the cloud server 200 every specified period 1 (for example, 1 minute). In the message of the keep-alive request, the value of its sequence number may be the value of the sequence number of the last message sent by the electronic device 300 minus 1, and the value of the confirmation number may be the confirmation number of the last message sent by the electronic device 300 value. No data may be set in the keep-alive request message, or 1 byte of data may be set, and the value of the data may be "00".
例如,电子设备300发送的上一个报文序列号的值为1843,确认号的值为226。则该保活请求报文中序列号的值可以为1842,确认号的值可以为226。该保活请求报文中可以携带1个字节的数据,其数据的值可以为“00”。For example, the value of the sequence number of the last message sent by the electronic device 300 is 1843, and the value of the confirmation number is 226. Then the value of the serial number in the keep-alive request message may be 1842, and the value of the confirmation number may be 226. The keep-alive request message may carry 1 byte of data, and the value of the data may be "00".
S509、云服务器200接收到保活请求后,可以向电子设备300发送保活应答(也可以被称为第一应答)。S509. After receiving the keep-alive request, the cloud server 200 may send a keep-alive response (also referred to as a first response) to the electronic device 300 .
具体的,云服务器200可以设置保活计时器。该保活计时器可以计数指定时长1(例如,2小时)。当云服务器200在该指定时长1(例如,2小时)内,接收到电子设备300发送保活请求时,云服务器200可以向电子设备300发送保活应答,并重置保活计时器进行重新计时。该保活应答的报文格式可以是ACK报文格式。该保活应答报文中序列号的值可以是上述保活请求报文中确认号的值,该保活应答报文中确认号的值可以是上述保活请求报文中序列号的值加1。Specifically, the cloud server 200 may set a keep-alive timer. The keep-alive timer may count for a specified duration of 1 (for example, 2 hours). When the cloud server 200 receives a keep-alive request from the electronic device 300 within the specified time period 1 (for example, 2 hours), the cloud server 200 can send a keep-alive response to the electronic device 300, and reset the keep-alive timer for restarting. timing. The message format of the keep-alive response may be an ACK message format. The value of the sequence number in the keep-alive response message may be the value of the confirmation number in the above-mentioned keep-alive request message, and the value of the confirmation number in the keep-alive response message may be the value of the sequence number in the above-mentioned keep-alive request message plus 1.
例如,当如前述步骤S508中示例所示,保活请求报文中序列号的值为1842,确认号的值为226时,该云服务器200向电子设备300发送的保活应答报文中序列号的值可以为226,确认号的值可以为1843。For example, when the value of the sequence number in the keep-alive request message is 1842 and the value of the confirmation number is 226 as shown in the example in the aforementioned step S508, the sequence number in the keep-alive response message sent by the cloud server 200 to the electronic device 300 is The value of the number can be 226, and the value of the confirmation number can be 1843.
在一种可能的实现方式中,当云服务器200中保活计时器已计时到指定时长1(例如,2小时),并且云服务器200在该指定时长1期间没有接收到电子设备300发送的保活请求时,云服务器200可以确定出电子设备300不需要与云服务器200保持通信连接,则云服务器200可以断开与电子设备300的通信连接。In a possible implementation, when the keep-alive timer in the cloud server 200 has timed to a specified duration 1 (for example, 2 hours), and the cloud server 200 has not received the keep-alive timer sent by the electronic device 300 during the specified duration 1 When a live request is made, the cloud server 200 may determine that the electronic device 300 does not need to maintain a communication connection with the cloud server 200, and then the cloud server 200 may disconnect the communication connection with the electronic device 300.
S510、电子设备100从云服务器200获取到电子设备300的设备信息。S510 , the electronic device 100 acquires device information of the electronic device 300 from the cloud server 200 .
具体的,电子设备100可以和电子设备300相关联,例如,当电子设备100和电子设备300关联于相同的指定账户1时,电子设备100可以和电子设备300进行绑定。基于上述电子设备100和电子设备300的关联关系,电子设备100可以从云服务器200获取到电子设备300的设备信息(例如,电子设备300的设备名称、电子设备300的设备状态信息、电子设备300的设备ID等等)。Specifically, the electronic device 100 may be associated with the electronic device 300, for example, when the electronic device 100 and the electronic device 300 are associated with the same designated account 1, the electronic device 100 may be bound with the electronic device 300. Based on the association relationship between the electronic device 100 and the electronic device 300, the electronic device 100 can obtain the device information of the electronic device 300 from the cloud server 200 (for example, the device name of the electronic device 300, the device status information of the electronic device 300, the device status information of the electronic device 300 device ID, etc.).
示例性的,图5C-图5F示出了一种本申请实施例提供的电子设备100获取到电子设备300设备信息的方法。Exemplarily, FIG. 5C-FIG. 5F show a method for the electronic device 100 to obtain the device information of the electronic device 300 provided by the embodiment of the present application.
如图5C所示,电子设备100可以显示出用户界面510。用户界面510显示了一个放置有应用图标的页面。该页面可以包括一个或多个应用图标(例如,天气应用图标、股票应用图标、计算器应用图标、设置应用图标、邮件应用图标、主题应用图标、日历应用图标、视频应用图标和智慧生活应用图标511等等)。上述多个应用图标下方还可以显示有页面指示符,以表明当前显示的页面与其他页面的位置关系。页面指示符的下方有多个托盘图标(例如,相机应用图标、联系人应用图标、信息应用图标和拨号应用图标等)。托盘应用图标在页面切换时保持显示。本申请实施例对用户界面510上显示的内容不作限定。响应于作用在上述应 用图标或托盘图标上的用户操作,例如触摸操作,电子设备100可以开启与该应用图标或该托盘图标对应的应用程序。As shown in FIG. 5C , the electronic device 100 may display a user interface 510 . User interface 510 displays a page on which application icons are placed. The page may include one or more app icons (for example, a weather app icon, a stock app icon, a calculator app icon, a settings app icon, a mail app icon, a theme app icon, a calendar app icon, a video app icon, and a smart life app icon 511, etc.). A page indicator may also be displayed below the plurality of application icons to indicate the positional relationship between the currently displayed page and other pages. Below the page indicator there are multiple tray icons (eg, a camera application icon, a contacts application icon, a messaging application icon, a dialing application icon, etc.). Tray app icons remain displayed across page switches. The embodiment of the present application does not limit the content displayed on the user interface 510 . In response to a user operation, such as a touch operation, on the above-mentioned application icon or tray icon, the electronic device 100 may start an application program corresponding to the application icon or the tray icon.
电子设备100可以接收到用户作用于智慧生活应用图标511上的触摸操作(例如,点击)。响应于该触摸操作,电子设备100开启智慧生活应用程序(application,APP),显示出智慧生活APP界面。The electronic device 100 may receive a user's touch operation (for example, click) on the smart life application icon 511 . In response to the touch operation, the electronic device 100 starts a smart life application program (application, APP), and displays a smart life APP interface.
如图5D所示,电子设备100可以显示出用户界面520。该用户界面520即为智慧生活APP界面。用户界面520可以包括家庭名称521、设备数量522、添加控件523、一个或多个设备选项(例如,路由器设备选项、空调设备选项、音箱设备选项和窗帘设备选项等等)和一个或多个页面选项(例如,“家居”页面选项、“商城”页面选项、“内容”页面选项、“场景”页面选项和“我的”页面选项等等)。该家庭名称521及设备选项,关联于指定账户1。其中:As shown in FIG. 5D , the electronic device 100 may display a user interface 520 . The user interface 520 is the smart life APP interface. The user interface 520 may include a family name 521, a device number 522, an add control 523, one or more device options (e.g., router device options, air conditioner device options, speaker device options, window shade device options, etc.), and one or more pages Options (eg, "Home" page options, "Mall" page options, "Content" page options, "Scenes" page options, and "My" page options, etc.). The family name 521 and device options are associated with the designated account 1 . in:
家庭名称521可以用于指示一个家庭的名称。一个家庭的名称可以由用户设定。例如,家庭名称521可以为“家”。一个家庭中可以有一个或多个智能家居设备。在家庭名称521为图5D所示“家”的情况下,智慧生活APP的用户界面中可以呈现名称为“家”这一个家庭中的智能家居设备的控制接口和家居设备数据。 Family name 521 may be used to indicate the name of a family. A family's name can be set by the user. For example, the family name 521 may be "home". There can be one or more smart home devices in a household. In the case that the family name 521 is "home" as shown in FIG. 5D , the user interface of the smart life APP may present the control interfaces and data of the smart home devices in the family named "home".
设备数量522可以用于指示一个家庭中智能家居设备的数量。例如,名称为“家”这一家庭中有4个智能家居设备。 Device count 522 may be used to indicate the number of smart home devices in a household. For example, there are 4 smart home devices in the household named "home".
添加控件523可以用于向一个家庭中添加智能家居设备。Add control 523 can be used to add smart home devices to a home.
设备选项可以显示出指定设备对应的设备信息,例如设备的联网状态、设备的工作状态、用于开启或关闭设备的控件等。该设备选项可以用于接收用户作用于其上的触摸操作(例如,点击),使得电子设备100响应于该触摸操作,可以显示出指定设备更详细的设备信息(例如,指定设备的设备名称、指定设备的设备状态信息和指定设备的设备ID等等)。The device option can display the device information corresponding to the specified device, such as the networking status of the device, the working status of the device, controls for turning on or off the device, and the like. The device option can be used to receive a touch operation (for example, click) that the user acts on it, so that the electronic device 100 can display more detailed device information of the specified device (for example, the device name of the specified device, device status information of the specified device and the device ID of the specified device, etc.).
如图5E所示,电子设备100可以接收到用户作用于添加控件523上的触摸操作(例如,点击),响应于该触摸操作,电子设备100可以显示出用户界面530。用户界面530可以包括页面标题531、返回控件532、输入框533和确定控件534。其中:As shown in FIG. 5E , the electronic device 100 may receive a user's touch operation (for example, click) on the add control 523 , and in response to the touch operation, the electronic device 100 may display a user interface 530 . The user interface 530 may include a page title 531 , a return control 532 , an input box 533 and an OK control 534 . in:
页面标题531可以用于指示用户界面530位在家庭中添加智能家居设备的用户界面。页面标题531可以包含文本提示信息,例如“添加设备”。Page title 531 may be used to indicate that user interface 530 is a user interface for adding smart home devices to a home. The page title 531 may contain text prompt information, such as "add device".
返回控件532可以用于触发电子设备100返回上一级用户界面,即是图5D所示的用户界面520。The return control 532 can be used to trigger the electronic device 100 to return to the upper user interface, that is, the user interface 520 shown in FIG. 5D .
输入框533可以用于接收到用户基于该输入框533所输入的文本信息,例如,该文本信息可以是用户需要添加的智能家居设备的设备ID。The input box 533 may be used to receive text information input by the user based on the input box 533, for example, the text information may be the device ID of the smart home device that the user needs to add.
当电子设备100接收到用户基于输入框533中输入的电子设备300的设备ID,并接收到用户作用于确定控件534上的触摸操作(例如,点击)时,电子设备100可以向云服务器200发送电子设备300的设备ID和电子设备100与电子设备300的绑定请求。当云服务器200确定电子设备100和电子设备300关联相同的指定账户1时,云服务器200使得电子设备100与电子设备300建立绑定关系。电子设备100可以从云服务器200获取到电子设备300的设备信息。When the electronic device 100 receives the device ID of the electronic device 300 input by the user based on the input box 533, and receives the user's touch operation (for example, click) on the determination control 534, the electronic device 100 can send to the cloud server 200 The device ID of the electronic device 300 and the binding request of the electronic device 100 and the electronic device 300 . When the cloud server 200 determines that the electronic device 100 and the electronic device 300 are associated with the same designated account 1 , the cloud server 200 enables the electronic device 100 to establish a binding relationship with the electronic device 300 . The electronic device 100 may obtain device information of the electronic device 300 from the cloud server 200 .
如图5F所示,电子设备100可以在用户界面520中显示出电子设备300的设备选项524。关于用户界面520的描述,可以参考前述如图5D所示实施例的说明,在此不再赘述。设备选项524可以包括电子设备300的设备名称“DESKTOP-8DE7POG”、电子设备300的设备状态提示信息524B和控件524A。其中,该设备状态提示信息524B可以用于指示电子设备300 的设备状态,例如,该设备状态提示信息524B可以是文本信息“已关机”。该控件524A可以用于接收到用户作用于其上的触摸操作(例如,点击),使得电子设备100在电子设备300处于已关机状态时,响应于该触摸操作向云服务器200发送开机指令。云服务器200可以基于该开机指令触发电子设备300的主处理器接通电源。As shown in FIG. 5F , the electronic device 100 may display device options 524 of the electronic device 300 on the user interface 520 . For the description of the user interface 520, reference may be made to the foregoing description of the embodiment shown in FIG. 5D , and details are not repeated here. The device option 524 may include the device name “DESKTOP-8DE7POG” of the electronic device 300 , device status prompt information 524B and controls 524A of the electronic device 300 . Wherein, the device status prompt information 524B may be used to indicate the device status of the electronic device 300, for example, the device status prompt information 524B may be a text message "power off". The control 524A can be used to receive a user's touch operation (for example, click) on it, so that the electronic device 100 sends a power-on instruction to the cloud server 200 in response to the touch operation when the electronic device 300 is in the power-off state. The cloud server 200 may trigger the main processor of the electronic device 300 to be powered on based on the power-on instruction.
在一种可能的实现方式中,电子设备300、电子设备100都与指定账户1相关联。当电子设备100登录到指定账户1上时,电子设备100可以和电子设备300自动进行绑定。电子设备100可以如图5F所示显示出电子设备300的设备信息。In a possible implementation manner, both the electronic device 300 and the electronic device 100 are associated with a designated account 1 . When the electronic device 100 logs in to the designated account 1, the electronic device 100 and the electronic device 300 can be automatically bound. The electronic device 100 may display the device information of the electronic device 300 as shown in FIG. 5F .
在一种可能的实施例中,当电子设备100响应于用户作用在添加控件523上的触摸操作(例如,点击)时,电子设备100可以通过蓝牙或Wi-Fi等短距离通信的方式扫描附近是否存在可被添加场景的设备(例如,电子设备300)。In a possible embodiment, when the electronic device 100 responds to the user's touch operation (for example, click) on the added control 523, the electronic device 100 can scan nearby Whether there is a device (for example, the electronic device 300 ) to which the scene can be added.
S511、电子设备100接收到用户针对于开启电子设备300的输入2(也可以被称为第二输入)。S511. The electronic device 100 receives an input 2 (also referred to as a second input) from the user for turning on the electronic device 300 .
具体的,本申请中所述开启电子设备300的输入2,指的是触发电子设备300中主处理器接通电源的输入。Specifically, the input 2 for turning on the electronic device 300 in this application refers to the input that triggers the main processor in the electronic device 300 to turn on the power.
示例性的,如图5G所示,电子设备100可以显示出如图5F所示的用户界面520。关于该用户界面520的描述,可以参考前述如图5F所示实施例的说明,在此不再赘述。Exemplarily, as shown in FIG. 5G , the electronic device 100 may display a user interface 520 as shown in FIG. 5F . For the description of the user interface 520 , reference may be made to the foregoing description of the embodiment shown in FIG. 5F , which will not be repeated here.
当电子设备300的主处理器断开电源,电子设备100显示出电子设备300的设备状态信息为“已关机”状态时,电子设备100可以接收到用户作用于控件524A上的触摸操作(也可以被称为输入2)。响应于该触摸操作,电子设备100可以执行如下步骤S512。When the main processor of the electronic device 300 is powered off and the electronic device 100 displays that the device status information of the electronic device 300 is "off", the electronic device 100 may receive the user's touch operation on the control 524A (or is called input 2). In response to the touch operation, the electronic device 100 may perform the following step S512.
S512、电子设备100向云服务器200发送开机指令(也可以被称为第一指令),其中,该开机指令包括电子设备300的标识。S512. The electronic device 100 sends a power-on command (also referred to as a first command) to the cloud server 200, wherein the power-on command includes an identification of the electronic device 300.
具体的,在一种可能的实现方式中,该开机指令中电子设备300的标识可以是电子设备300的设备ID。在另一种可能的实现方式中,该开机指令中电子设备300的标识可以是电子设备300的MAC地址。本申请对此不作限制。Specifically, in a possible implementation manner, the identification of the electronic device 300 in the power-on instruction may be a device ID of the electronic device 300 . In another possible implementation manner, the identifier of the electronic device 300 in the boot command may be the MAC address of the electronic device 300 . This application is not limited to this.
S513、云服务器200基于上述开机指令中电子设备300的标识,将该开机指令发送给电子设备300中的副处理器。S513. The cloud server 200 sends the boot command to the secondary processor in the electronic device 300 based on the identification of the electronic device 300 in the boot command.
S514、当电子设备300确定出主处理器为断开电源状态时,电子设备300可以基于该开机指令控制主处理器接通电源。S514. When the electronic device 300 determines that the main processor is in a power-off state, the electronic device 300 may control the main processor to be powered on based on the power-on instruction.
S515、当主处理器接通电源后,电子设备300将设备状态信息发送给云服务器200。S515. After the main processor is powered on, the electronic device 300 sends the device status information to the cloud server 200.
具体的,当电子设备300中主处理器接通电源后,电子设备300的设备状态为开机状态。Specifically, when the main processor in the electronic device 300 is powered on, the device state of the electronic device 300 is a power-on state.
S516、云服务器200可以将上述电子设备300的设备状态信息发送至电子设备100。S516. The cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100.
S517、电子设备100可以基于上述电子设备300的设备状态信息,显示出电子设备300的设备状态。S517 , the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300 .
具体的,此时电子设备300的设备状态信息(也可以被称为第二状态信息)所指示的电子设备300的状态为开机状态。Specifically, at this time, the state of the electronic device 300 indicated by the device state information (also referred to as the second state information) of the electronic device 300 is the power-on state.
示例性的,如图5H所示,当电子设备100接收到由云服务器200发送的电子设备300的设备状态信息时,电子设备100可以在用户界面520的设备选项524中显示出电子设备300的设备状态。此时,该电子设备300的设备状态提示信息524B可以是文本信息“已开机”。Exemplarily, as shown in FIG. 5H, when the electronic device 100 receives the device status information of the electronic device 300 sent by the cloud server 200, the electronic device 100 may display the status information of the electronic device 300 in the device option 524 of the user interface 520. device status. At this time, the device status prompt information 524B of the electronic device 300 may be a text message "started".
在一种可能的实现方式中,当电子设备300的设备状态为开机状态时,电子设备100还可以接收到用户针对于关闭电子设备300的输入3。响应于该输入3,电子设备100可以向云服务器200发送远程关闭指令。其中,该远程关闭指令可以包括电子设备300的标识(例如,电子设备300的设备ID)。云服务器200可以基于该远程关闭指令中电子设备300的标识,将该远程关闭指令发送至电子设备300。电子设备300可以基于该远程关闭指令触发主处理器断开电源。In a possible implementation manner, when the device state of the electronic device 300 is the power-on state, the electronic device 100 may also receive the user's input 3 for turning off the electronic device 300 . In response to the input 3 , the electronic device 100 may send a remote shutdown instruction to the cloud server 200 . Wherein, the remote shutdown instruction may include an identification of the electronic device 300 (for example, a device ID of the electronic device 300 ). The cloud server 200 may send the remote shutdown command to the electronic device 300 based on the identification of the electronic device 300 in the remote shutdown command. The electronic device 300 may trigger the main processor to cut off the power supply based on the remote shutdown command.
示例性的,电子设备100可以显示出图5H所示的用户界面520。如图5H所示,电子设备300的设备状态提示信息524B为文本信息“已开机”,指示电子设备300的设备状态为开机状态。电子设备100可以接收到用户作用于控件524A上的触摸操作。响应于该触摸操作,电子设备100可以向云服务器200发送远程关闭指令。其中,该远程关闭指令可以包括电子设备300的标识(例如,电子设备300的设备ID)。云服务器200可以基于该远程关闭指令中电子设备300的标识,将该远程关闭指令发送电子设备300。电子设备300可以基于该远程关闭指令触发主处理器断开电源。Exemplarily, the electronic device 100 may display the user interface 520 shown in FIG. 5H. As shown in FIG. 5H , the device status prompt information 524B of the electronic device 300 is the text message "started", indicating that the device status of the electronic device 300 is the power-on state. The electronic device 100 may receive a user's touch operation on the control 524A. In response to the touch operation, the electronic device 100 may send a remote shutdown instruction to the cloud server 200 . Wherein, the remote shutdown instruction may include an identification of the electronic device 300 (for example, a device ID of the electronic device 300 ). The cloud server 200 may send the remote shutdown instruction to the electronic device 300 based on the identification of the electronic device 300 in the remote shutdown instruction. The electronic device 300 may trigger the main processor to cut off the power supply based on the remote shutdown command.
需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该方法的具体流程,并不对本申请构成具体限制。上述用户界面示例也仅仅用于解释本申请,不应对本申请构成限定。It should be noted that the order of the above steps is only used to illustrate the specific flow of the method, and does not constitute a specific limitation to the present application. The above user interface examples are only used to explain the present application, and shall not limit the present application.
在一些实施例中,当电源管理模块与外接电源断开又重新接通电源后,例如,停电后重新来电的场景,或者,计算机电源插头后重新插入的场景,电子设备300中的电源管理模块可以使得副处理器接通电源。该副处理器可以执行远程开机控制程序。副处理器可以每隔指定周期2(例如,每隔10分钟)通过电源管理模块获取到主处理器的状态信息。如果副处理器获取到主处理器的状态信息为断开电源时,副处理器可以基于参数信息1连接到指定Wi-Fi网络上,并和云服务器200建立通信连接。电子设备300可以基于该通信连接向云服务器200发送保活请求,并接收到云服务器200发送的保活应答。In some embodiments, when the power management module is disconnected from the external power supply and then reconnected to the power supply, for example, when the power is turned on again after a power outage, or when the computer power plug is reinserted, the power management module in the electronic device 300 Allows the secondary processor to be powered on. The secondary processor can execute a remote power-on control program. The sub-processor can obtain the state information of the main processor through the power management module every specified period 2 (for example, every 10 minutes). If the sub-processor obtains the status information of the main processor as power off, the sub-processor can connect to a designated Wi-Fi network based on the parameter information 1, and establish a communication connection with the cloud server 200 . The electronic device 300 may send a keep-alive request to the cloud server 200 based on the communication connection, and receive a keep-alive response sent by the cloud server 200 .
下面,介绍本申请实施例中提供的一种设备间模块交互流程。In the following, a flow of interaction between modules between devices provided in the embodiment of the present application is introduced.
请参考图6,图6示例性示出了本申请实施例提供的一种设备间模块交互流程的示意图。Please refer to FIG. 6 . FIG. 6 exemplarily shows a schematic diagram of a module interaction process between devices provided by an embodiment of the present application.
如图6所示,该设备间模块交互流程可以包括云服务器200、电子设备100和电子设备300。其中,电子设备300可以包括主处理单元模块、电源管理模块和副处理单元模块。其中,主处理单元模块可以包括前述图3A实施例中所示的主处理单元402和Wi-Fi模块404,副处理单元模块可以包括前述图3A实施例中所示的副处理单元403、Wi-Fi模块405和存储器406。As shown in FIG. 6 , the inter-device module interaction process may include a cloud server 200 , an electronic device 100 and an electronic device 300 . Wherein, the electronic device 300 may include a main processing unit module, a power management module and a secondary processing unit module. Wherein, the main processing unit module may include the main processing unit 402 and the Wi-Fi module 404 shown in the embodiment of FIG. Fi module 405 and memory 406 .
该设备间模块交互流程具体可以包括:The inter-device module interaction process may specifically include:
S601、电源管理模块接通电源。S601. The power management module is powered on.
具体的,电源管理模块可以接收外接电源或内置在电子设备300中电池的电流输入,使得电子设备300接通电源。Specifically, the power management module may receive an external power supply or a current input from a battery built in the electronic device 300, so that the electronic device 300 is powered on.
S602、主处理单元模块运行。S602, the main processing unit module runs.
具体的,主处理单元模块可以读取指令、对指令译码并执行指令以运行程序和处理信息。示例性的,以电子设备300是计算机为例,当电子设备300接收到用户的输入(例如,用户作用于键盘或鼠标上的输入)时,主处理单元模块可以响应于该输入,运行相关程序指令以执行该用户输入对应的操作。Specifically, the main processing unit module can read instructions, decode instructions and execute instructions to run programs and process information. Exemplarily, taking the electronic device 300 as a computer as an example, when the electronic device 300 receives user input (for example, the user acts on the keyboard or mouse input), the main processing unit module can respond to the input and run related programs Instructions to perform the operation corresponding to the user input.
S603、副处理单元模块执行远程开机控制程序。S603. The sub-processing unit module executes a remote start-up control program.
具体的,该远程开机控制程序是用于实施本申请实施例提供的远程开机方法的程序代码。电子设备300可以集成预先烧录有远程开机系统执行环境程序码的器件。当电子设备300接通电源后,副处理单元模块可以运行远程开机控制程序。Specifically, the remote start-up control program is a program code for implementing the remote start-up method provided by the embodiment of the present application. The electronic device 300 may be integrated with a device pre-programmed with a remote boot system execution environment program code. When the electronic device 300 is powered on, the secondary processing unit module can run a remote power-on control program.
S604、主处理单元模块发送参数信息1至副处理单元模块。S604. The main processing unit module sends parameter information 1 to the sub-processing unit module.
具体的,主处理单元模块可以基于指定的集成接口将参数信息1发送给副处理单元模块。其中,关于参数信息1的说明,可以参考前述步骤S504中关于参数信息1的描述,在此不再赘述。Specifically, the main processing unit module may send the parameter information 1 to the sub-processing unit module based on a designated integration interface. For the description of the parameter information 1, reference may be made to the description of the parameter information 1 in the aforementioned step S504, which will not be repeated here.
S605、副处理单元模块可以存储参数信息1。S605, the secondary processing unit module may store parameter information 1.
具体的,副处理单元模块可以通过存储器406存储上述参数信息1。Specifically, the secondary processing unit module may store the above parameter information 1 through the memory 406 .
S606、基于用户针对于关闭电子设备300的输入1,主处理单元模块接收到关机指令。S606. Based on the user's input 1 for turning off the electronic device 300, the main processing unit module receives a shutdown instruction.
具体的,关于输入1的说明以及示例,可以参考前述步骤S505中的说明,在此不再赘述。Specifically, for the description and examples of the input 1, reference may be made to the description in the aforementioned step S505, which will not be repeated here.
S607、响应于该关机指令,主处理单元模块可以向副处理单元模块发送保活指令。S607. In response to the shutdown instruction, the main processing unit module may send a keep-alive instruction to the auxiliary processing unit module.
在一种可能的实现方式中,主处理单元模块向服处理单元模块发送保活指令时,也可以发送参数信息1。副处理单元模块接收到该参数信息1后,可以将该参数信息1存储到存储器406中。也即是说,对于主处理单元模块向副处理单元模块发送参数信息1的时机,本申请不作限制。In a possible implementation manner, when the main processing unit module sends the keep-alive instruction to the server processing unit module, parameter information 1 may also be sent. After receiving the parameter information 1 , the sub-processing unit module may store the parameter information 1 in the memory 406 . That is to say, this application does not limit the timing of sending the parameter information 1 from the main processing unit module to the secondary processing unit module.
S608、响应于该保活指令,副处理单元模块可以基于参数信息1连接到指定Wi-Fi网络。S608. In response to the keep-alive instruction, the secondary processing unit module may connect to a designated Wi-Fi network based on parameter information 1.
具体的,副处理单元模块可以通过Wi-Fi模块405可以基于参数信息1中的Wi-Fi名称和Wi-Fi密码连接到指定Wi-Fi网络上。Specifically, the secondary processing unit module can connect to a designated Wi-Fi network based on the Wi-Fi name and Wi-Fi password in parameter information 1 through the Wi-Fi module 405 .
在一种可能的实现方式中,响应于该保活指令,副处理单元模块可以停止运行部分远程开机控制程序,以节省电子设备300的功耗。In a possible implementation manner, in response to the keep-alive instruction, the secondary processing unit module may stop running part of the remote power-on control program, so as to save power consumption of the electronic device 300 .
在一种可能的实现方式中,副处理单元模块可以每隔指定周期2(例如,每隔10分钟)基于电源管理模块获取到主处理单元模块的状态信息(例如,主处理单元模块接通电源的状态,或,主处理单元模块断开电源的状态)。主处理单元模块可以响应于关机指令,通过电源管理模块断开电源。当副处理单元模块基于电源管理模块获取到主处理单元模块的状态信息为断开电源时,副处理单元模块基于参数信息1连接到指定Wi-Fi网络。In a possible implementation manner, the sub-processing unit module can obtain the status information of the main processing unit module based on the power management module every specified period 2 (for example, every 10 minutes) (for example, the main processing unit module is powered on state, or, the main processing unit module power-off state). The main processing unit module can cut off the power supply through the power management module in response to the shutdown command. When the sub-processing unit module obtains the status information of the main processing unit module as power off based on the power management module, the sub-processing unit module connects to the designated Wi-Fi network based on the parameter information 1.
S609、副处理单元模块可以基于参数信息1和云服务器200建立通信连接。S609, the secondary processing unit module may establish a communication connection with the cloud server 200 based on the parameter information 1.
具体的,副处理单元模块可以基于参数信息1中云服务器200的设备信息(例如,云服 务器200的域名或云服务器200的IP地址),通过TCP协议或UDP协议与云服务器200建立通信连接。Specifically, the secondary processing unit module can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol based on the device information of the cloud server 200 in the parameter information 1 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200).
在一种可能的实现方式中,云服务器200的设备信息例如,云服务器200的域名或云服务器200的IP地址)也可以是预先存储在副处理单元模块的存储器406中,副处理单元模块不需要从主处理单元模块中获取。In a possible implementation, the device information of the cloud server 200 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200) may also be pre-stored in the memory 406 of the sub-processing unit module, and the sub-processing unit module does not It needs to be obtained from the main processing unit module.
S610、副处理单元模块获取到根证书。S610. The secondary processing unit module obtains the root certificate.
S611、副处理单元模块基于该根证书与云服务器200协商安全密钥。S611. The secondary processing unit module negotiates a security key with the cloud server 200 based on the root certificate.
具体的,该根证书可以预先存储在副处理单元中的存储器406。该安全密钥可以用于副处理单元模块与云服务器200件的数据通信。在一种可能的实现方式中,副处理单元模块与云服务器200可以通过对称加密算法进行数据通信。在另一种可能的实现方式中,副处理单元模块与云服务器200可以通过非对称加密算法进行数据通信。Specifically, the root certificate may be pre-stored in the memory 406 of the secondary processing unit. The security key can be used for data communication between the secondary processing unit module and the cloud server 200. In a possible implementation manner, the secondary processing unit module and the cloud server 200 may perform data communication through a symmetric encryption algorithm. In another possible implementation manner, the sub-processing unit module and the cloud server 200 may perform data communication through an asymmetric encryption algorithm.
S612、副处理单元模块可以基于参数信息1中的设备注册信息登录到云服务器200。S612, the sub-processing unit module may log in to the cloud server 200 based on the device registration information in the parameter information 1.
S613、副处理单元模块向云服务器200发送电子设备300的设备信息。S613, the sub-processing unit module sends the device information of the electronic device 300 to the cloud server 200.
具体的,电子设备300的设备信息可以包括电子设备300的设备名称、电子设备300用于远程开机的软件的版本号、电子设备300用于远程开机的硬件的版本号和电子设备300的设备状态信息等等。需要说明的是,若在该步骤中副处理单元模块向云服务器200发送电子设备300的设备状态信息,则该电子设备300的设备状态信息所指示的设备状态为关机状态。Specifically, the device information of the electronic device 300 may include the device name of the electronic device 300, the version number of the software of the electronic device 300 for remote booting, the version number of the hardware of the electronic device 300 for remote booting, and the device status of the electronic device 300 information and more. It should be noted that, if the secondary processing unit module sends the device state information of the electronic device 300 to the cloud server 200 in this step, the device state indicated by the device state information of the electronic device 300 is the shutdown state.
S614、副处理单元模块向主处理单元模块发送通知指令。S614. The secondary processing unit module sends a notification instruction to the main processing unit module.
S615、响应于上述通知指令,主处理单元模块通过电源管理模块断开电源。S615. In response to the above notification instruction, the main processing unit module cuts off the power supply through the power management module.
具体的,响应于上述通知指令,主处理单元模块可以向电源管理模块发送断电指令。该电源管理模块响应于该断电指令,控制该主处理单元模块断电。Specifically, in response to the above notification instruction, the main processing unit module may send a power-off instruction to the power management module. The power management module controls the main processing unit module to be powered off in response to the power off instruction.
在一种可能的实现方式中,副处理单元模块可以将上述通知指令发送给电源管理模块。响应于该通知指令,电源管理模块可以控制主处理单元模块断开电源。In a possible implementation manner, the secondary processing unit module may send the foregoing notification instruction to the power management module. In response to the notification instruction, the power management module may control the main processing unit module to cut off the power supply.
S616、副处理单元模块基于安全密钥生成保活请求。S616. The secondary processing unit module generates a keep-alive request based on the security key.
具体的,关于保活请求的报文格式,可以参考前述步骤S508中的描述,在此不再赘述。Specifically, regarding the packet format of the keep-alive request, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
S617、副处理单元模块向云服务器200发送保活请求。S617. The secondary processing unit module sends a keep-alive request to the cloud server 200.
具体的,关于该步骤的描述,可以参考前述步骤S508中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
S618、云服务器200基于安全密钥验证保活请求。S618. The cloud server 200 verifies the keep-alive request based on the security key.
S619、当保活请求验证通过时,云服务器200向副处理单元模块发送保活应答。S619. When the keep-alive request passes the verification, the cloud server 200 sends a keep-alive response to the secondary processing unit module.
具体的,关于该步骤的描述,可以参考前述步骤S509中的说明,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S509, which will not be repeated here.
S620、副处理单元模块基于安全密钥验证保活应答。S620. The sub-processing unit module verifies the keep-alive response based on the security key.
S621、当保活应答验证通过时,副处理单元模块与云服务器200保持通信连接。S621. When the keep-alive response verification passes, the secondary processing unit module maintains a communication connection with the cloud server 200.
S622、电子设备100从云服务器200获取到电子设备300的设备信息。S622 , the electronic device 100 acquires the device information of the electronic device 300 from the cloud server 200 .
具体的,关于该步骤的说明,可以参考前述步骤S510中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S510, which will not be repeated here.
S623、电子设备100接收到用户针对于开启电子设备300的输入2。S623. The electronic device 100 receives the user's input 2 for turning on the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S511中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the foregoing step S511 , which will not be repeated here.
S624、电子设备100向云服务器200发送开机指令,其中,该开机指令包括电子设备300的标识。S624. The electronic device 100 sends a boot instruction to the cloud server 200, wherein the boot instruction includes the identification of the electronic device 300.
具体的,关于该步骤的说明,可以参考前述步骤S512中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S512, which will not be repeated here.
S625、云服务器200基于上述开机指令中电子设备300的标识,将该开机指令发送给副处理单元模块。S625. The cloud server 200 sends the boot command to the secondary processing unit module based on the identification of the electronic device 300 in the boot command.
S626、副处理单元模块基于安全密钥验证该开机指令。S626. The secondary processing unit module verifies the power-on instruction based on the security key.
S627、当开机指令验证通过时,副处理单元模块获取到主处理单元模块的状态信息。S627. When the power-on command is verified and passed, the secondary processing unit module obtains the state information of the main processing unit module.
具体的,副处理单元模块可以通过电源管理模块,获取到主处理单元模块的状态信息。Specifically, the sub-processing unit module can obtain status information of the main processing unit module through the power management module.
S628、当副处理单元模块确定出主处理单元模块断开电源时,副处理单元模块可以向电源管理模块发送通电指令。S628. When the sub-processing unit module determines that the main processing unit module is powered off, the sub-processing unit module may send a power-on instruction to the power management module.
S629、电源管理模块基于通电指令控制主处理单元模块接通电源。S629. The power management module controls the main processing unit module to be powered on based on the power-on instruction.
S630、副处理单元模块获取到主处理单元模块的状态信息。S630. The sub-processing unit module acquires status information of the main processing unit module.
S631、当副处理单元模块获取到主处理单元模块已接通电源时,副处理单元模块向云服务器200发送电子设备300的设备状态信息。S631. When the sub-processing unit module acquires that the main processing unit module has been powered on, the sub-processing unit module sends the device status information of the electronic device 300 to the cloud server 200 .
具体的,此时电子设备300的设备状态信息所指示的电子设备300的状态为开机状态。Specifically, at this time, the state of the electronic device 300 indicated by the device state information of the electronic device 300 is the power-on state.
S632、云服务器200可以将上述电子设备300的设备状态信息发送至电子设备100。S632. The cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100 .
S633、电子设备100可以基于电子设备300的设备状态信息,显示出电子设备300的设备状态。S633, the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S517的描述,在此不再赘述。需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该方法的具体流程,并不对本申请构成具体限制。Specifically, for the description of this step, reference may be made to the description of the aforementioned step S517, which will not be repeated here. It should be noted that the order of the above steps is only used to illustrate the specific flow of the method, and does not constitute a specific limitation to the present application.
下面,介绍本申请实施例提供的另一种远程开机方法的具体流程。Next, the specific flow of another remote boot method provided by the embodiment of the present application will be introduced.
请参考图7,图7示例性示出了本申请实施例中提供的另一种远程开机方法的具体流程示意图。Please refer to FIG. 7 . FIG. 7 exemplarily shows a specific flowchart of another remote power-on method provided in the embodiment of the present application.
以电子设备100是智能手机,电子设备300是计算机为例,如图7所示,该方法可以包括:Taking the electronic device 100 as a smart phone and the electronic device 300 as a computer as an example, as shown in FIG. 7, the method may include:
S701、电子设备300接通电源。S701. The electronic device 300 is powered on.
具体的,关于该步骤的说明,可以参考前述步骤S501中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S501, and details are not repeated here.
S702、电子设备300控制主处理器运行。S702. The electronic device 300 controls the operation of the main processor.
具体的,电子设备300可以通过主处理器读取指令、对指令译码并执行指令以运行程序和处理信息。示例性的,以电子设备300是计算机为例,当电子设备300接收到用户的输入(例如,用户作用于键盘或鼠标上的输入)时,电子设备300可以通过主处理器响应于该输入,运行相关程序指令以执行该用户输入对应的操作。Specifically, the electronic device 300 can use the main processor to read instructions, decode the instructions, and execute the instructions to run programs and process information. Exemplarily, taking the electronic device 300 as a computer as an example, when the electronic device 300 receives user input (for example, the user acts on the input on the keyboard or mouse), the electronic device 300 can respond to the input through the main processor, Execute relevant program instructions to perform operations corresponding to the user input.
在图7所示实施例中,电子设备300中的主处理器可以运行副处理器中的Wi-Fi协议程 序(例如,Wi-Fi的MAC层协议等)。In the embodiment shown in FIG. 7 , the main processor in the electronic device 300 can run the Wi-Fi protocol program (for example, the MAC layer protocol of Wi-Fi, etc.) in the sub-processor.
在一些实施例中,当云服务器200上没有电子设备300的设备信息,而无法基于电子设备100的开机指令控制电子设备300上已断电的主处理器接通电源时,电子设备300可以在该S502步骤中在云服务器200上进行注册激活。关于电子设备300在云服务器200上注册激活的具体流程,后续实施例中将详细描述,在此不再赘述。In some embodiments, when there is no device information of the electronic device 300 on the cloud server 200, and it is impossible to control the powered-off main processor on the electronic device 300 to power on based on the power-on command of the electronic device 100, the electronic device 300 can In step S502, registration activation is performed on the cloud server 200 . The specific process of registering and activating the electronic device 300 on the cloud server 200 will be described in detail in subsequent embodiments, and will not be repeated here.
S703、电子设备300接收到用户针对于关闭电子设备300的输入1。S703. The electronic device 300 receives an input 1 from the user for turning off the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S505中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S505, which will not be repeated here.
S704、响应于该输入1,电子设备300控制副处理器执行远程开机控制程序。S704. In response to the input 1, the electronic device 300 controls the secondary processor to execute a remote power-on control program.
具体的,在该实施例中,副处理器可以是包括RAM单元的微处理器。其中,RAM单元可以是空余的RAM单元,也可以是用于执行指定功能的RAM单元。电子设备300可以基于该RAM单元执行远程开机控制程序。Specifically, in this embodiment, the secondary processor may be a microprocessor including a RAM unit. Wherein, the RAM unit may be a spare RAM unit, or may be a RAM unit for performing a specified function. The electronic device 300 can execute a remote power-on control program based on the RAM unit.
电子设备300可以在主处理器上存储有远程开机执行程序对应的镜像文件。响应于输入1,电子设备300可以控制主处理器将该镜像文件加载至副处理器上,使得副处理器可以基于该镜像文件,执行远程开机控制程序。The electronic device 300 may store an image file corresponding to the remote boot execution program on the main processor. In response to input 1, the electronic device 300 can control the main processor to load the image file to the sub-processor, so that the sub-processor can execute a remote boot control program based on the image file.
需要说明的是,该远程开机控制程序是用于实施本申请实施例提供的远程开机方法的程序代码。It should be noted that the remote start-up control program is a program code for implementing the remote start-up method provided by the embodiment of the present application.
S705、电子设备300获取到参数信息1。其中,该参数信息1可以包括电子设备300注册在云服务器200上的设备注册信息、网络配置信息和云服务器200的设备信息。S705. The electronic device 300 obtains the parameter information 1. Wherein, the parameter information 1 may include device registration information of the electronic device 300 registered on the cloud server 200 , network configuration information and device information of the cloud server 200 .
具体的,关于该步骤的说明,可以参考前述步骤S504中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S504, which will not be repeated here.
S706、响应于上述输入1,电子设备300可以基于参数信息1通过副处理器与云服务器200建立通信连接。S706. In response to the above input 1, the electronic device 300 may establish a communication connection with the cloud server 200 through the secondary processor based on the parameter information 1.
具体的,关于该步骤的说明,可以参考前述步骤S506中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S506, which will not be repeated here.
S707、当电子设备300和云服务器200建立通信连接后,电子设备300控制主处理器断开电源。S707. After the electronic device 300 establishes a communication connection with the cloud server 200, the electronic device 300 controls the main processor to disconnect the power supply.
具体的,关于该步骤的说明,可以参考前述步骤S507中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S507, which will not be repeated here.
S708、电子设备300基于上述通信连接,向云服务器200发送保活请求。S708. The electronic device 300 sends a keep-alive request to the cloud server 200 based on the communication connection.
具体的,关于该步骤的说明,可以参考前述步骤S508中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
S709、云服务器200接收到保活请求后,可以向电子设备300发送保活应答。S709. After receiving the keep-alive request, the cloud server 200 may send a keep-alive response to the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S509中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S509, and details are not repeated here.
S710、电子设备100从云服务器200获取到电子设备300的设备信息。S710, the electronic device 100 acquires the device information of the electronic device 300 from the cloud server 200 .
具体的,关于该步骤的说明,可以参考前述步骤S510中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S510, which will not be repeated here.
S711、电子设备100接收到用户针对于开启电子设备300的输入2。S711. The electronic device 100 receives a user's input 2 for turning on the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S511中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the foregoing step S511 , which will not be repeated here.
S712、电子设备100向云服务器200发送开机指令,其中,该开机指令包括电子设备300的标识。S712. The electronic device 100 sends a boot command to the cloud server 200, wherein the boot command includes an identification of the electronic device 300.
具体的,关于该步骤的说明,可以参考前述步骤S512中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S512, which will not be repeated here.
S713、云服务器200基于上述开机指令中电子设备300的标识,将该开机指令发送给电子设备300中的副处理器。S713. The cloud server 200 sends the boot command to the secondary processor in the electronic device 300 based on the identification of the electronic device 300 in the boot command.
S714、当电子设备300确定出主处理器为断开电源状态时,电子设备300可以基于该开机指令控制主处理器接通电源。S714. When the electronic device 300 determines that the main processor is in a power-off state, the electronic device 300 may control the main processor to be powered on based on the power-on instruction.
S715、当主处理器接通电源后,电子设备300将设备状态信息发送给云服务器200。S715. After the main processor is powered on, the electronic device 300 sends the device status information to the cloud server 200.
具体的,关于该步骤的说明,可以参考前述步骤S515中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the foregoing step S515, and details are not repeated here.
S716、云服务器200可以将上述电子设备300的设备状态信息发送至电子设备100。S716. The cloud server 200 may send the device state information of the electronic device 300 to the electronic device 100 .
S717、电子设备100可以基于上述电子设备300的设备状态信息,显示出电子设备300的设备状态。S717. The electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300.
具体的,关于该步骤的说明,可以参考前述步骤S517中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S517, which will not be repeated here.
接下来,介绍本申请实施例提供的另一种设备间模块交互流程。Next, another module interaction process between devices provided by the embodiment of the present application is introduced.
请参考图8,图8示例性示出了本申请实施例提供的一种设备间模块交互流程的示意图。Please refer to FIG. 8 . FIG. 8 exemplarily shows a schematic diagram of a module interaction process between devices provided by an embodiment of the present application.
如图8所示,该设备间模块交互流程可以包括云服务器200、电子设备100和电子设备300。其中,电子设备300可以包括主处理单元模块、电源管理模块和副处理单元模块。其中,主处理单元模块可以包括前述图3A实施例中所示的主处理单元402和Wi-Fi模块404,副处理单元模块可以包括前述图3A实施例中所示的副处理单元403和Wi-Fi模块405。As shown in FIG. 8 , the inter-device module interaction process may include a cloud server 200 , an electronic device 100 and an electronic device 300 . Wherein, the electronic device 300 may include a main processing unit module, a power management module and a secondary processing unit module. Wherein, the main processing unit module may include the main processing unit 402 and the Wi-Fi module 404 shown in the aforementioned embodiment of FIG. 3A, and the secondary processing unit module may include the secondary processing unit 403 and the Wi-Fi Fi module 405 .
该设备间模块交互流程具体可以包括:The inter-device module interaction process may specifically include:
S801、电源管理模块接通电源。S801. The power management module is powered on.
具体的,关于该步骤的说明,可以参考前述步骤S601中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the foregoing step S601, and details are not repeated here.
S802、主处理单元模块运行。S802. The main processing unit module runs.
具体的,主处理单元模块可以存储有远程开机执行程序对应的镜像文件。关于该步骤的说明,可以参考前述步骤S602中的描述,在此不再赘述。Specifically, the main processing unit module may store an image file corresponding to the remote boot execution program. For the description of this step, reference may be made to the description in the aforementioned step S602, which will not be repeated here.
S803、基于用户针对于关闭电子设备300的输入1,主处理单元模块接收到关机指令。S803. Based on the user's input 1 for turning off the electronic device 300, the main processing unit module receives a shutdown instruction.
具体的,关于该步骤的说明,可以参考前述步骤S606中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S606, which will not be repeated here.
S804、响应于该关机指令,主处理单元模块将上述镜像文件发送至副处理单元模块。S804. In response to the shutdown instruction, the main processing unit module sends the above image file to the sub-processing unit module.
具体的,主处理单元模块可以基于指定的集成接口将镜像文件发送至副处理单元模块。Specifically, the main processing unit module may send the image file to the sub-processing unit module based on a specified integration interface.
S805、副处理单元模块基于镜像文件执行远程开机控制程序。S805. The sub-processing unit module executes a remote boot control program based on the image file.
S806、副处理单元模块向主处理单元模块发送初始化完成指令。S806. The secondary processing unit module sends an initialization completion instruction to the main processing unit module.
S807、响应于该初始化完成指令,主处理单元模块可以向副处理单元模块发送参数信息1和根证书。S807. In response to the initialization completion instruction, the main processing unit module may send parameter information 1 and the root certificate to the secondary processing unit module.
其中,关于参数信息1的说明,可以参考前述步骤S504中的说明,在此不再赘述。For the description of the parameter information 1, reference may be made to the description in the aforementioned step S504, which will not be repeated here.
S808、副处理单元模块可以基于参数信息1连接到指定Wi-Fi网络。S808, the sub-processing unit module may connect to a designated Wi-Fi network based on parameter information 1.
具体的,副处理单元模块可以通过Wi-Fi模块405可以基于参数信息1中的Wi-Fi名称和Wi-Fi密码连接到指定Wi-Fi网络上。Specifically, the secondary processing unit module can connect to a designated Wi-Fi network based on the Wi-Fi name and Wi-Fi password in parameter information 1 through the Wi-Fi module 405 .
S809、副处理单元模块可以基于参数信息1和云服务器200建立通信连接。S809, the secondary processing unit module may establish a communication connection with the cloud server 200 based on the parameter information 1.
具体的,副处理单元模块可以基于参数信息1中云服务器200的设备信息(例如,云服务器200的域名或云服务器200的IP地址),通过TCP协议或UDP协议与云服务器200建立通信连接。Specifically, the secondary processing unit module can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol based on the device information of the cloud server 200 in parameter information 1 (for example, the domain name of the cloud server 200 or the IP address of the cloud server 200).
S810、副处理单元模块基于根证书与云服务器200协商安全密钥。S810, the secondary processing unit module negotiates a security key with the cloud server 200 based on the root certificate.
具体的,关于该步骤的说明,可以参考前述步骤S611中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S611, and details are not repeated here.
S811、副处理单元模块可以基于参数信息1中的设备注册信息登录到云服务器200。S811, the secondary processing unit module may log in to the cloud server 200 based on the device registration information in the parameter information 1.
S812、副处理单元模块向云服务器200发送电子设备300的设备信息。S812, the sub-processing unit module sends the device information of the electronic device 300 to the cloud server 200.
具体的,关于该步骤的说明,可以参考前述步骤S613中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the foregoing step S613, and details are not repeated here.
S813、副处理单元模块向主处理单元模块发送通知指令。S813. The secondary processing unit module sends a notification instruction to the main processing unit module.
S814、响应于上述通知指令,主处理单元模块通过电源管理模块断开电源。S814. In response to the above notification instruction, the main processing unit module disconnects the power supply through the power management module.
具体的,关于该步骤的说明,可以参考前述步骤S615中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S615, which will not be repeated here.
S815、副处理单元模块基于安全密钥生成保活请求。S815. The secondary processing unit module generates a keep-alive request based on the security key.
具体的,关于保活请求的报文格式,可以参考前述步骤S508中的描述,在此不再赘述。Specifically, regarding the packet format of the keep-alive request, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
S816、副处理单元模块向云服务器200发送保活请求。S816. The secondary processing unit module sends a keep-alive request to the cloud server 200.
具体的,关于该步骤的描述,可以参考前述步骤S508中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S508, which will not be repeated here.
S817、云服务器200基于安全密钥验证保活请求。S817. The cloud server 200 verifies the keep-alive request based on the security key.
S818、当保活请求验证通过时,云服务器200向副处理单元模块发送保活应答。S818. When the keep-alive request passes the verification, the cloud server 200 sends a keep-alive response to the secondary processing unit module.
具体的,关于该步骤的描述,可以参考前述步骤S509中的说明,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S509, which will not be repeated here.
S819、副处理单元模块基于安全密钥验证保活应答。S819. The sub-processing unit module verifies the keep-alive response based on the security key.
S820、当保活应答验证通过时,副处理单元模块与云服务器200保持通信连接。S820. When the keep-alive response verification passes, the secondary processing unit module maintains a communication connection with the cloud server 200 .
S821、电子设备100从云服务器200获取到电子设备300的设备信息。S821. The electronic device 100 acquires device information of the electronic device 300 from the cloud server 200 .
具体的,关于该步骤的说明,可以参考前述步骤S510中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S510, which will not be repeated here.
S822、电子设备100接收到用户针对于开启电子设备300的输入2。S822. The electronic device 100 receives the user's input 2 for turning on the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S511中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the foregoing step S511 , which will not be repeated here.
S823、电子设备100向云服务器200发送开机指令,其中,该开机指令包括电子设备300的标识。S823. The electronic device 100 sends a boot instruction to the cloud server 200, wherein the boot instruction includes the identification of the electronic device 300.
具体的,关于该步骤的说明,可以参考前述步骤S512中的描述,在此不再赘述。Specifically, for the description of this step, reference may be made to the description in the aforementioned step S512, which will not be repeated here.
S824、云服务器200基于上述开机指令中电子设备300的标识,将该开机指令发送给副处理单元模块。S824. The cloud server 200 sends the boot command to the secondary processing unit module based on the identification of the electronic device 300 in the boot command.
S825、副处理单元模块基于安全密钥验证该开机指令。S825. The secondary processing unit module verifies the power-on instruction based on the security key.
S826、当开机指令验证通过时,副处理单元模块获取到主处理单元模块的状态信息。S826. When the power-on command is verified and passed, the sub-processing unit module obtains the state information of the main processing unit module.
具体的,副处理单元模块可以通过电源管理模块,获取到主处理单元模块的状态信息。Specifically, the sub-processing unit module can obtain status information of the main processing unit module through the power management module.
S827、当副处理单元模块确定出主处理单元模块断开电源时,副处理单元模块可以向电源管理模块发送通电指令。S827. When the sub-processing unit module determines that the main processing unit module is powered off, the sub-processing unit module may send a power-on instruction to the power management module.
S828、电源管理模块基于通电指令控制主处理单元模块接通电源。S828. The power management module controls the main processing unit module to be powered on based on the power-on instruction.
S829、副处理单元模块获取到主处理单元模块的状态信息。S829. The secondary processing unit module obtains the status information of the main processing unit module.
S830、当副处理单元模块获取到主处理单元模块已接通电源时,副处理单元模块向云服务器200发送电子设备300的设备状态信息。S830. When the sub-processing unit module acquires that the main processing unit module has been powered on, the sub-processing unit module sends the device status information of the electronic device 300 to the cloud server 200 .
具体的,此时电子设备300的设备状态信息所指示的电子设备300的状态为开机状态。Specifically, at this time, the state of the electronic device 300 indicated by the device state information of the electronic device 300 is the power-on state.
S831、云服务器200可以将上述电子设备300的设备状态信息发送至电子设备100。S831. The cloud server 200 may send the device status information of the electronic device 300 to the electronic device 100 .
S832、电子设备100可以基于电子设备300的设备状态信息,显示出电子设备300的设备状态。S832, the electronic device 100 may display the device status of the electronic device 300 based on the device status information of the electronic device 300 .
具体的,关于该步骤的说明,可以参考前述步骤S517的描述,在此不再赘述。需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该方法的具体流程,并不对本申请构成具体限制。Specifically, for the description of this step, reference may be made to the description of the aforementioned step S517, which will not be repeated here. It should be noted that the order of the above steps is only used to illustrate the specific flow of the method, and does not constitute a specific limitation to the present application.
接下来,介绍本申请实施例中提供的一种电子设备300在云服务器200上注册激活的方法。Next, a method for registering and activating the electronic device 300 on the cloud server 200 provided in the embodiment of the present application is introduced.
请参考图9,图9示例性示出了本申请实施例中提供的一种电子设备300在云服务器200上注册激活的流程示意图。Please refer to FIG. 9 . FIG. 9 exemplarily shows a flow chart of an electronic device 300 registering and activating on the cloud server 200 provided in the embodiment of the present application.
该方法具体可以包括:The method may specifically include:
S901、电子设备300与云服务器200建立通信连接。S901. The electronic device 300 establishes a communication connection with the cloud server 200.
具体的,用户可以在电子设备300上登录指定账户1。然后,电子设备300可以通过TCP协议或UDP协议与云服务器200建立通信连接。Specifically, the user may log in to the specified account 1 on the electronic device 300 . Then, the electronic device 300 can establish a communication connection with the cloud server 200 through the TCP protocol or the UDP protocol.
S902、电子设备300发送注册请求至云服务器200。S902. The electronic device 300 sends a registration request to the cloud server 200.
具体的,该注册请求中可以包括电子设备300的标识(例如,电子设备300的序列号(serial number))和指定账户1的信息(例如,指定账户1的账户ID)。Specifically, the registration request may include the identification of the electronic device 300 (for example, the serial number (serial number) of the electronic device 300) and the information of the designated account 1 (for example, the account ID of the designated account 1).
S903、响应于该注册请求,云服务器200向电子设备300发送设备注册码。S903. In response to the registration request, the cloud server 200 sends a device registration code to the electronic device 300 .
具体的,当云服务器200可以基于上述注册请求,向电子设备300发送设备注册码。该设备注册码可以对应指定账户1和电子设备300的标识。该设备注册码可以是指定类型(例如,string类型)的字符。Specifically, the cloud server 200 may send the device registration code to the electronic device 300 based on the above registration request. The device registration code may correspond to the specified account 1 and the identification of the electronic device 300 . The device registration code may be characters of a specified type (for example, string type).
S904、电子设备300可以与云服务器200协商密钥。S904, the electronic device 300 may negotiate a key with the cloud server 200 .
S905、云服务器200基于密钥向电子设备300发送电子设备300的设备注册信息。S905, the cloud server 200 sends the device registration information of the electronic device 300 to the electronic device 300 based on the key.
具体的,电子设备300可以向云服务器200发送在步骤S903中获取到的设备注册码。云服务器200接收到该设备注册码后,可以获取到指定账户1的信息和电子设备300的标识,并将该指定账户1与电子设备300进行关联。然后,云服务器200可以生成电子设备300的 设备注册信息,并将该设备注册信息发送给电子设备300。同时,云服务器200可以对电子设备300进行管理。其中,该电子设备300的设备注册信息可以包括电子设备300用于登录到云服务器200的账号设备身份标识(identity document,ID)和对应账号密码。Specifically, the electronic device 300 may send the device registration code obtained in step S903 to the cloud server 200 . After receiving the device registration code, the cloud server 200 can obtain the information of the designated account 1 and the identification of the electronic device 300 , and associate the designated account 1 with the electronic device 300 . Then, the cloud server 200 can generate the device registration information of the electronic device 300, and send the device registration information to the electronic device 300. Meanwhile, the cloud server 200 can manage the electronic device 300 . Wherein, the device registration information of the electronic device 300 may include an account device identity (identity document, ID) and a corresponding account password used by the electronic device 300 to log in to the cloud server 200.
S906、电子设备300登录至云服务器200。S906. The electronic device 300 logs in to the cloud server 200.
具体的,电子设备300可以将用于登录到云服务器200的账号ID和对应账号密码发送至云服务器200上。云服务器200可以验证该对应账号密码是否和该电子设备300的账号ID相匹配。当电子设备300的账号ID与对应账号密码相匹配时,云服务器200可以发送验证成功的指令信息给电子设备300。电子设备300接收到该验证成功的指令后,可以执行如下所示的步骤。Specifically, the electronic device 300 may send the account ID and corresponding account password for logging in to the cloud server 200 to the cloud server 200 . The cloud server 200 can verify whether the corresponding account password matches the account ID of the electronic device 300 . When the account ID of the electronic device 300 matches the corresponding account password, the cloud server 200 may send instruction information indicating successful verification to the electronic device 300 . After receiving the instruction that the verification is successful, the electronic device 300 may execute the following steps.
S907、电子设备300可以基于密钥向云服务器200发送电子设备300的设备信息。S907, the electronic device 300 may send the device information of the electronic device 300 to the cloud server 200 based on the key.
具体的,电子设备300的设备信息可以包括电子设备300的设备名称、电子设备300用于远程开机的软件的版本号、电子设备300用于远程开机的硬件的版本号和电子设备300的设备状态信息等等。Specifically, the device information of the electronic device 300 may include the device name of the electronic device 300, the version number of the software of the electronic device 300 for remote booting, the version number of the hardware of the electronic device 300 for remote booting, and the device status of the electronic device 300 information and more.
S908、电子设备300保存电子设备300的设备注册信息。S908. The electronic device 300 saves the device registration information of the electronic device 300 .
需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该方法的具体流程,并不对本申请构成具体限制。It should be noted that the order of the above steps is only used to illustrate the specific flow of the method, and does not constitute a specific limitation to the present application.
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。As used in the above embodiments, depending on the context, the term "when" may be interpreted to mean "if" or "after" or "in response to determining..." or "in response to detecting...". Similarly, depending on the context, the phrases "in determining" or "if detected (a stated condition or event)" may be interpreted to mean "if determining..." or "in response to determining..." or "on detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)".
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state hard disk), etc.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments are realized. The processes can be completed by computer programs to instruct related hardware. The programs can be stored in computer-readable storage media. When the programs are executed , may include the processes of the foregoing method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Claims (23)

  1. 一种远程开机方法,所述方法应用于包括第一电子设备、第二电子设备和云服务器的通信系统,其特征在于,所述方法包括:A remote start-up method, the method is applied to a communication system including a first electronic device, a second electronic device and a cloud server, wherein the method includes:
    所述第一电子设备控制第一处理器和第二处理器通电;The first electronic device controls the first processor and the second processor to be powered on;
    所述第一电子设备接收第一输入;the first electronic device receives a first input;
    所述第一电子设备获取到第一参数信息;其中,所述第一参数信息包括所述第一电子设备的账号ID和对应的账号密码、网络配置信息及所述云服务器的域名和/或IP地址;The first electronic device obtains first parameter information; wherein, the first parameter information includes the account ID and corresponding account password of the first electronic device, network configuration information, and the domain name of the cloud server and/or IP address;
    响应于所述第一输入,所述第一电子设备基于所述第一参数信息通过所述第二处理器与所述云服务器建立通信连接;In response to the first input, the first electronic device establishes a communication connection with the cloud server through the second processor based on the first parameter information;
    所述第一电子设备通过所述第二处理器与所述云服务器建立通信连接之后,控制所述第一处理器断开电源;After the first electronic device establishes a communication connection with the cloud server through the second processor, control the first processor to disconnect the power supply;
    所述第二电子设备接收第二输入;the second electronic device receives a second input;
    响应于所述第二输入,所述第二电子设备发送第一指令至所述云服务器;In response to the second input, the second electronic device sends a first instruction to the cloud server;
    所述云服务器发送所述第一指令至所述第一电子设备;The cloud server sends the first instruction to the first electronic device;
    所述第一电子设备通过所述第二处理器从所述云服务器获取到所述第一指令;The first electronic device obtains the first instruction from the cloud server through the second processor;
    所述第一电子设备基于所述第一指令,控制所述第一处理器接通电源。The first electronic device controls the first processor to be powered on based on the first instruction.
  2. 根据权利要求1所述的方法,其特征在于,在所述云服务器发送所述第一指令至所述第一电子设备之前,所述方法还包括:The method according to claim 1, wherein before the cloud server sends the first instruction to the first electronic device, the method further comprises:
    所述第一电子设备向所述云服务器发送第一请求;The first electronic device sends a first request to the cloud server;
    所述云服务器接收到所述第一请求之后,向所述第一电子设备发送第一应答;After receiving the first request, the cloud server sends a first response to the first electronic device;
    响应于所述第一应答,所述第一电子设备保持与所述云服务器的通信连接。In response to the first response, the first electronic device maintains a communication connection with the cloud server.
  3. 根据权利要求1所述的方法,其特征在于,所述第一电子设备基于所述第一指令,控制所述第一处理器接通电源,具体包括:The method according to claim 1, wherein the first electronic device controls the first processor to be powered on based on the first instruction, specifically comprising:
    所述第一电子设备基于所述第二处理器查询所述第一处理器的状态信息;The first electronic device queries the state information of the first processor based on the second processor;
    当所述第一处理器为断电状态时,所述第一电子设备基于所述第一指令,控制所述第一处理器接通电源。When the first processor is in a power-off state, the first electronic device controls the first processor to be powered on based on the first instruction.
  4. 根据权利要求1所述的方法,其特征在于,在所述第二电子设备接收第二输入之前,所述方法还包括:The method according to claim 1, wherein before the second electronic device receives the second input, the method further comprises:
    所述第一电子设备发送第一状态信息至所述云服务器;The first electronic device sends first status information to the cloud server;
    所述云服务器发送所述第一状态信息至所述第二电子设备;The cloud server sends the first status information to the second electronic device;
    所述第二电子设备基于所述第一状态信息显示所述第一处理器的状态。The second electronic device displays a status of the first processor based on the first status information.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    所述第一电子设备基于所述第二处理器查询所述第一处理器的状态信息;The first electronic device queries the state information of the first processor based on the second processor;
    当所述第一处理器为通电状态时,所述第一电子设备将第二状态信息发送至所述云服务器;When the first processor is in a power-on state, the first electronic device sends second state information to the cloud server;
    所述云服务器将所述第二状态信息发送至所述第二电子设备;The cloud server sends the second state information to the second electronic device;
    所述第二电子设备基于所述第二状态信息显示所述第一处理器的状态。The second electronic device displays a status of the first processor based on the second status information.
  6. 一种电子设备,为第一电子设备,其特征在于,包括第一网络模块、第一处理器、电源管理模块和第二处理器,其中:An electronic device, which is a first electronic device, is characterized in that it includes a first network module, a first processor, a power management module, and a second processor, wherein:
    所述电源管理模块,可以用于控制所述第一处理器和所述第二处理器通电;The power management module may be used to control the first processor and the second processor to be powered on;
    所述第一处理器,用于接收第一输入;the first processor is configured to receive a first input;
    所述第二处理器,用于从所述第一处理器获取到所述第一参数信息;The second processor is configured to acquire the first parameter information from the first processor;
    所述第一网络模块,用于响应于所述第一输入,基于所述第一参数信息与云服务器建立通信连接;其中,所述第一参数信息包括所述第一电子设备的账号ID和对应的账号密码、网络配置信息及所述云服务器的域名和/或IP地址;The first network module is configured to establish a communication connection with a cloud server based on the first parameter information in response to the first input; wherein the first parameter information includes the account ID and the account ID of the first electronic device The corresponding account password, network configuration information and the domain name and/or IP address of the cloud server;
    所述电源管理模块,还用于当所述第一网络模块与云服务器建立通信连接之后,控制所述第一处理器断电;The power management module is further configured to control the first processor to be powered off after the first network module establishes a communication connection with the cloud server;
    所述第二处理器,还用于通过第一网络模块从所述云服务器获取到第一指令;The second processor is further configured to obtain the first instruction from the cloud server through the first network module;
    所述第二处理器,还用于响应于所述第一指令,发送通电指令至所述电源管理模块;The second processor is further configured to send a power-on instruction to the power management module in response to the first instruction;
    所述电源管理模块,还用于响应于所述通电指令,控制所述第一处理器通电。The power management module is further configured to control the first processor to be powered on in response to the power-on instruction.
  7. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,具体用于:The electronic device according to claim 6, wherein the second processor is specifically configured to:
    在所述第一处理器接收第一输入之前,从所述第一处理器获取到所述第一参数信息。The first parameter information is obtained from the first processor before the first processor receives a first input.
  8. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,具体用于:The electronic device according to claim 6, wherein the second processor is specifically configured to:
    响应于所述第一输入,从所述第一处理器获取到所述第一参数信息。The first parameter information is obtained from the first processor in response to the first input.
  9. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,还用于在通过第一网络模块从所述云服务器获取到开机请求之前,向所述云服务器发送第一请求;其中,所述第一请求用于触发所述云服务器发送第一应答;The electronic device according to claim 6, wherein the second processor is further configured to send a first request to the cloud server before obtaining the power-on request from the cloud server through the first network module ; Wherein, the first request is used to trigger the cloud server to send a first response;
    所述第二处理器,还用于接收到从所述云服务器发送的所述第一应答;The second processor is further configured to receive the first response sent from the cloud server;
    所述第二处理器,还用于响应于所述第一应答,保持与所述云服务器的通信连接。The second processor is further configured to maintain a communication connection with the cloud server in response to the first response.
  10. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,具体用于:The electronic device according to claim 6, wherein the second processor is specifically configured to:
    通过所述电源管理模块获取所述第一处理器的状态;acquiring the state of the first processor through the power management module;
    当所述第一处理器为断电状态时,发送所述通电指令至所述电源管理模块。When the first processor is in a power-off state, sending the power-on command to the power management module.
  11. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,还用于从所述云服务器获取到第一指令之前,发送第一状态信息至所述云服务器;其中,所述第一状态信息用于指示所述第一主处理器的状态。The electronic device according to claim 6, wherein the second processor is further configured to send the first state information to the cloud server before obtaining the first instruction from the cloud server; wherein, the The first state information is used to indicate the state of the first main processor.
  12. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器还用于,通过所述电源管理模块查询所述第一处理器的状态信息;The electronic device according to claim 6, wherein the second processor is further configured to query the status information of the first processor through the power management module;
    所述第二处理器还用于,当所述第一处理器通电时,将第二状态信息发送给所述云服务器;其中,所述第二状态信息用于指示第一处理器的状态。The second processor is further configured to, when the first processor is powered on, send second state information to the cloud server; wherein the second state information is used to indicate the state of the first processor.
  13. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,还用于当所述第一网络模块与云服务器建立通信连接之后,发送通知指令至所述电源管理模块;The electronic device according to claim 6, wherein the second processor is further configured to send a notification command to the power management module after the first network module establishes a communication connection with the cloud server;
    所述电源管理模块,具体用于:The power management module is specifically used for:
    响应于所述通知指令,控制所述第一处理器断电。In response to the notification instruction, the first processor is controlled to be powered off.
  14. 根据权利要求6所述的电子设备,其特征在于,所述第二处理器,还用于当所述第一网络模块与云服务器建立通信连接之后,发送通知指令发送至所述第一处理器;The electronic device according to claim 6, wherein the second processor is further configured to send a notification instruction to the first processor after the first network module establishes a communication connection with the cloud server ;
    所述第一处理器,还用于响应于所述通知指令,发送断电指令至所述电源管理模块;The first processor is further configured to send a power-off instruction to the power management module in response to the notification instruction;
    所述电源管理模块,具体用于:The power management module is specifically used for:
    响应于所述断电指令,控制所述第一处理器断电。In response to the power off instruction, the first processor is controlled to be powered off.
  15. 一种远程开机方法,所述方法应用于第一电子设备,其特征在于,包括:A remote start-up method, the method is applied to a first electronic device, characterized in that it includes:
    所述第一电子设备控制第一处理器和第二处理器通电;The first electronic device controls the first processor and the second processor to be powered on;
    所述第一电子设备接收第一输入;the first electronic device receives a first input;
    所述第一电子设备获取到第一参数信息;The first electronic device obtains first parameter information;
    响应于所述第一输入,所述第一电子设备基于所述第一参数信息,通过所述第二处理器与云服务器建立通信连接;其中,所述第一参数信息包括所述第一电子设备的账号ID和对应的账号密码、网络配置信息及所述云服务器的域名和/或IP地址;In response to the first input, the first electronic device establishes a communication connection with the cloud server through the second processor based on the first parameter information; wherein the first parameter information includes the first electronic device The account ID of the device and the corresponding account password, network configuration information, and the domain name and/or IP address of the cloud server;
    所述第一电子设备通过所述第二处理器与所述云服务器建立通信连接之后,控制所述第一处理器断开电源;After the first electronic device establishes a communication connection with the cloud server through the second processor, control the first processor to disconnect the power supply;
    所述第一电子设备通过所述第二处理器,从所述云服务器获取到第一指令;The first electronic device obtains the first instruction from the cloud server through the second processor;
    所述第一电子设备基于所述第一指令,控制所述第一处理器接通电源。The first electronic device controls the first processor to be powered on based on the first instruction.
  16. 根据权利要求15所述的方法,其特征在于,在所述第一电子设备基于所述第二处理器,从所述云服务器获取到第一指令之前,所述方法还包括:The method according to claim 15, wherein, before the first electronic device obtains the first instruction from the cloud server based on the second processor, the method further comprises:
    所述第一电子设备向所述云服务器发送第一请求;其中,所述第一请求用于触发所述云服务器发送第一应答;The first electronic device sends a first request to the cloud server; wherein the first request is used to trigger the cloud server to send a first response;
    所述第一电子设备接收到从所述云服务器发送的所述第一应答;The first electronic device receives the first response sent from the cloud server;
    响应于所述第一应答,所述第一电子设备保持与所述云服务器的通信连接。In response to the first response, the first electronic device maintains a communication connection with the cloud server.
  17. 根据权利要求15所述的方法,其特征在于,所述第一电子设备基于所述第一指令,控制所述第一处理器接通电源,具体包括:The method according to claim 15, wherein the first electronic device controls the first processor to be powered on based on the first instruction, specifically comprising:
    所述第一电子设备基于所述第二处理器查询所述第一处理器的状态;the first electronic device queries the status of the first processor based on the second processor;
    当所述第一处理器为断电状态时,所述第一电子设备基于所述第一指令,控制所述第一处理器接通电源。When the first processor is in a power-off state, the first electronic device controls the first processor to be powered on based on the first instruction.
  18. 根据权利要求15所述的方法,其特征在于,在所述第一电子设备基于所述第二处理器,从所述云服务器获取到第一指令之前,所述方法还包括:The method according to claim 15, wherein, before the first electronic device obtains the first instruction from the cloud server based on the second processor, the method further comprises:
    所述第一电子设备发送第一状态信息至所述云服务器;其中,所述第一状态信息用于指示所述第一主处理器的状态。The first electronic device sends first status information to the cloud server; wherein the first status information is used to indicate the status of the first main processor.
  19. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    所述第一电子设备基于所述第二处理器查询所述第一处理器的状态信息;The first electronic device queries the state information of the first processor based on the second processor;
    当所述第一处理器为通电状态时,所述第一电子设备将第二状态信息通过所述云服务器发送至所述第二电子设备;其中,所述第二状态信息用于指示第一处理器的状态。When the first processor is powered on, the first electronic device sends second status information to the second electronic device through the cloud server; wherein the second status information is used to indicate the first The state of the processor.
  20. 根据权利要求15所述的方法,其特征在于,所述第一电子设备获取到第一参数信息,具体包括:The method according to claim 15, wherein the acquisition of the first parameter information by the first electronic device specifically includes:
    在所述第一电子设备接收到所述第一输入之前,所述第一电子设备通过所述第一处理器获取到第一参数信息。Before the first electronic device receives the first input, the first electronic device acquires first parameter information through the first processor.
  21. 根据权利要求15所述的方法,其特征在于,所述第一电子设备获取到第一参数信息,具体包括:The method according to claim 15, wherein the acquisition of the first parameter information by the first electronic device specifically includes:
    响应于第一输入,所述第一电子设备通过所述第一处理器获取到第一参数信息。In response to the first input, the first electronic device acquires first parameter information through the first processor.
  22. 一种计算机存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序包括可执行指令,所述可执行指令当被处理器执行时使所述处理器执行如权利要求15-21中任一项所述的方法。A computer storage medium, characterized in that a computer program is stored in the storage medium, the computer program includes executable instructions, and when executed by a processor, the executable instructions cause the processor to perform the process described in claim 15. - the method described in any one of 21.
  23. 一种计算机程序产品,其特征在于,当所述计算机程序产品在第一电子设备上运行时,使得所述第一电子设备执行如权利要求15-21中的任一项所述的方法。A computer program product, characterized in that, when the computer program product is run on the first electronic device, the first electronic device is made to execute the method according to any one of claims 15-21.
PCT/CN2022/129406 2021-11-04 2022-11-03 Remote startup method, electronic device and system WO2023078317A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111302163.1A CN116074303A (en) 2021-11-04 2021-11-04 Remote starting method, electronic equipment and system
CN202111302163.1 2021-11-04

Publications (1)

Publication Number Publication Date
WO2023078317A1 true WO2023078317A1 (en) 2023-05-11

Family

ID=86180866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/129406 WO2023078317A1 (en) 2021-11-04 2022-11-03 Remote startup method, electronic device and system

Country Status (2)

Country Link
CN (1) CN116074303A (en)
WO (1) WO2023078317A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017069861A (en) * 2015-10-01 2017-04-06 富士通株式会社 System, method and server for supporting remote connection
WO2017215132A1 (en) * 2016-06-14 2017-12-21 中兴通讯股份有限公司 Terminal equipment remote control method and corresponding terminal equipment
CN207867450U (en) * 2018-03-06 2018-09-14 成都师范学院 A kind of intelligent apparatus for computer remote booting
CN109189698A (en) * 2018-08-10 2019-01-11 深圳绿米联创科技有限公司 Apparatus control method, device and Internet of things system
CN110502882A (en) * 2019-07-31 2019-11-26 联想(北京)有限公司 A kind of control method and electronic equipment
CN112882759A (en) * 2021-02-10 2021-06-01 联想(北京)有限公司 Control method and device and electronic equipment
CN213659327U (en) * 2020-11-04 2021-07-09 深圳市通微科技有限公司 General computer mainboard and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017069861A (en) * 2015-10-01 2017-04-06 富士通株式会社 System, method and server for supporting remote connection
WO2017215132A1 (en) * 2016-06-14 2017-12-21 中兴通讯股份有限公司 Terminal equipment remote control method and corresponding terminal equipment
CN207867450U (en) * 2018-03-06 2018-09-14 成都师范学院 A kind of intelligent apparatus for computer remote booting
CN109189698A (en) * 2018-08-10 2019-01-11 深圳绿米联创科技有限公司 Apparatus control method, device and Internet of things system
CN110502882A (en) * 2019-07-31 2019-11-26 联想(北京)有限公司 A kind of control method and electronic equipment
CN213659327U (en) * 2020-11-04 2021-07-09 深圳市通微科技有限公司 General computer mainboard and server
CN112882759A (en) * 2021-02-10 2021-06-01 联想(北京)有限公司 Control method and device and electronic equipment

Also Published As

Publication number Publication date
CN116074303A (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN111369988A (en) Voice awakening method and electronic equipment
WO2022257977A1 (en) Screen projection method for electronic device, and electronic device
WO2021043045A1 (en) Method and device for configuring network configuration information
CN115209195A (en) Terminal device, method and system for realizing one-touch screen projection through remote controller
US20230021994A1 (en) Cross-Device Content Projection Method and Electronic Device
WO2021052410A1 (en) Application management method and apparatus
WO2021185141A1 (en) Wi-fi aware link establishment method and system, electronic device, and storage medium
WO2020132818A1 (en) Wireless short-distance audio sharing method and electronic device
WO2021043046A1 (en) Resource management and control method and device
CN113923230B (en) Data synchronization method, electronic device, and computer-readable storage medium
WO2021037146A1 (en) File sharing method and device for mobile terminal
WO2020224447A1 (en) Method and system for adding smart home device to contacts
WO2021143314A1 (en) Method for reducing power consumption of mobile terminal and mobile terminal
CN114189846B (en) Method, system, electronic device and storage medium for avoiding missed call
CN114125354A (en) Method for cooperation of intelligent sound box and electronic equipment
CN112181616B (en) Task processing method and related device
WO2022007944A1 (en) Device control method, and related apparatus
CN113596942B (en) Communication management method, user equipment, system and storage medium
CN113986369B (en) Internet of things equipment control method and system, electronic equipment and storage medium
CN113810532B (en) Positioning method and related device
JP2022501968A (en) File transfer method and electronic device
WO2023078317A1 (en) Remote startup method, electronic device and system
CN113126948A (en) Audio playing method and related equipment
CN115119336A (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN115248693A (en) Application management method and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22889339

Country of ref document: EP

Kind code of ref document: A1