CN113950032B - Control method, device and storage medium for reporting state information - Google Patents

Control method, device and storage medium for reporting state information Download PDF

Info

Publication number
CN113950032B
CN113950032B CN202010623232.8A CN202010623232A CN113950032B CN 113950032 B CN113950032 B CN 113950032B CN 202010623232 A CN202010623232 A CN 202010623232A CN 113950032 B CN113950032 B CN 113950032B
Authority
CN
China
Prior art keywords
state information
external output
reporting
state
output device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010623232.8A
Other languages
Chinese (zh)
Other versions
CN113950032A (en
Inventor
陈龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010623232.8A priority Critical patent/CN113950032B/en
Publication of CN113950032A publication Critical patent/CN113950032A/en
Application granted granted Critical
Publication of CN113950032B publication Critical patent/CN113950032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/04Details of telephonic subscriber devices including near field communication means, e.g. RFID
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to a control method, a device and a storage medium for reporting status information, which are used for solving the problem that the power consumption of terminal equipment is increased when the status information is reported in the related technology. The method comprises the following steps: determining whether the external output device supports displaying state information under the condition that the terminal device and the external output device are in short-distance communication connection; and closing the function of reporting the state information by the terminal equipment under the condition that the external output equipment does not support the display of the state information. Therefore, the power consumption of the terminal equipment can be prevented from being increased by reporting the state information, the power consumption is reduced, and the battery endurance of the terminal equipment is prevented from being shortened.

Description

Control method, device and storage medium for reporting state information
Technical Field
The disclosure relates to the technical field of intelligent terminals, and in particular relates to a control method, a device and a storage medium for reporting state information.
Background
When the terminal equipment is in communication connection with the external output equipment, state information of the terminal equipment is reported to the external output equipment, for example, when a mobile phone or a tablet personal computer is in Bluetooth communication connection with the vehicle-mounted equipment, the mobile phone or the tablet personal computer reports signal strength information of an operator to the vehicle-mounted multimedia equipment, so that the vehicle-mounted multimedia equipment displays the signal strength information of the operator, a user can know the signal state of the mobile phone or the tablet personal computer according to the displayed signal strength of the operator conveniently, the position where the mobile phone or the tablet personal computer is placed is determined, the quality of the mobile phone or the tablet personal computer for receiving the operator signal is guaranteed, and better use experience is enjoyed.
In the related art, when a mobile phone is connected with an external output device through bluetooth, a bottom layer of the mobile phone can report state information to an upper layer of the mobile phone and send the state information to the external output device, so that the power consumption of the mobile phone is increased, and the cruising of the mobile phone is not facilitated.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus and a storage medium for controlling status information reporting.
According to a first aspect of an embodiment of the present disclosure, there is provided a control method for reporting status information, including: determining whether the external output device supports displaying state information under the condition that the terminal device and the external output device are in short-distance communication connection;
and closing the function of reporting the state information by the terminal equipment under the condition that the external output equipment does not support the display of the state information.
Optionally, the determining whether the external output device supports displaying status information includes:
reading a target zone bit in a communication message sent by the external output device, wherein the target zone bit is a zone bit which is set in a communication protocol of the short-distance communication and used for representing whether the external output device supports displaying state information or not;
and determining whether the external output equipment supports displaying state information according to the read field of the target zone bit.
Optionally, the method further comprises:
closing the function of reporting the state information of the terminal equipment in the screen-off state under the condition that the external output equipment supports the display of the state information;
the method further comprises the steps of:
determining whether the terminal equipment is in a screen-off state;
stopping reporting the state information under the condition that the terminal equipment is in a screen-off state;
and under the condition that the terminal equipment is in a bright screen state, continuously reporting the state information.
Optionally, the closing the function of reporting the state information by the terminal device in the screen-off state when the external output device is determined to support displaying the state information includes:
under the condition that the external output equipment supports displaying the state information, reminding a user whether to close the terminal equipment and reporting the state information in a screen-off state;
and responding to closing operation of a user, closing the function of reporting the state information of the terminal equipment in the screen-off state.
Optionally, the closing the function of reporting the state information by the terminal device in the screen-off state when the external output device supports the display of the state information includes:
acquiring the residual electric quantity of the terminal equipment under the condition that the external output equipment supports the display of the state information;
and under the condition that the residual electric quantity is smaller than a preset electric quantity threshold value, closing the function of reporting the state information of the terminal equipment in the screen-off state.
Optionally, the short-range communication connection is a bluetooth connection.
According to a second aspect of the embodiments of the present disclosure, there is provided a control device for reporting status information, including: a first determining module configured to determine whether the external output device supports display of status information in a case where the terminal device and the external output device have established a short-range communication connection;
and the execution module is configured to close the function of reporting the state information by the terminal equipment under the condition that the external output equipment is determined not to support the display of the state information.
Optionally, the first determining module includes:
the reading submodule is configured to read a target zone bit in a communication message sent by the external output equipment, wherein the target zone bit is a zone bit which is set in a communication protocol of the short-distance communication and used for representing whether the external output equipment supports displaying state information or not;
and the determining submodule is configured to determine whether the external output equipment supports displaying state information according to the read field of the target zone bit.
Optionally, the control device further includes:
the closing module is configured to close a function of reporting the state information by the terminal equipment in a screen-off state under the condition that the external output equipment is determined to support the display of the state information;
the control device further includes:
the second determining module is configured to determine whether the terminal equipment is in a screen-off state;
the first reporting module is configured to stop reporting the state information when the terminal equipment is in a screen-off state;
and the second reporting module is configured to continuously report the state information under the condition that the terminal equipment is in a bright screen state.
Optionally, the closing module includes:
the reminding sub-module is configured to remind a user of whether to close the terminal equipment and report the state information in a screen-off state under the condition that the external output equipment supports displaying the state information;
the first closing sub-module is configured to respond to closing operation of a user and close the function of reporting the state information of the terminal equipment in a screen-off state.
Optionally, the closing module includes:
an obtaining sub-module configured to obtain a remaining power of the terminal device in a case where it is determined that the external output device supports displaying the state information;
and the second closing sub-module is configured to close the function of reporting the state information of the terminal equipment in the screen-off state under the condition that the residual electric quantity is smaller than a preset electric quantity threshold value.
According to a third aspect of the embodiments of the present disclosure, there is provided a control device for reporting status information, including: a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether the external output device supports displaying state information under the condition that the terminal device and the external output device are in short-distance communication connection;
and closing the function of reporting the state information by the terminal equipment under the condition that the external output equipment does not support the display of the state information.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method for controlling status information reporting provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the method comprises the steps of determining whether the external output device supports displaying the state information under the condition that the terminal device is connected with the external output device in a short-distance communication mode, and closing the function of reporting the state information by the terminal device under the condition that the external output device does not support displaying the state information. Therefore, when the external output equipment does not support the display of the state information, the reporting of the state information can be avoided, the power consumption of the terminal equipment is increased, the battery endurance of the terminal equipment is prevented from being shortened, and the endurance of the terminal equipment is facilitated.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a control method of status information reporting according to an exemplary embodiment.
Fig. 2 is an exemplary flowchart for implementing step S11 in fig. 1.
Fig. 3 is a flowchart illustrating another control method of status information reporting according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating another control method of status information reporting according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a control apparatus for status information reporting according to an exemplary embodiment.
Fig. 6 is a block diagram of an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart illustrating a method for controlling status information reporting according to an exemplary embodiment, and as shown in fig. 1, the method for controlling status information reporting is used in a terminal device, and includes the following steps.
In step S11, in the case where the terminal device and the external output device have established a short-range communication connection, it is determined whether the external output device supports display of status information.
In step S12, if it is determined that the external output device does not support displaying the status information, the function of reporting the status information by the terminal device is turned off.
In particular, the short-range communication connection comprises a bluetooth connection, an NFC (Near Field Communication ) connection, a WiFi connection. The external output device may be, for example, a bluetooth speaker, a vehicle-mounted multimedia device, a smart bracelet, a smart phone, a tablet computer, and the like.
Optionally, the status information includes status bar information, such as carrier signal strength information, wiFi signal strength information alarm, remaining power information, etc., and may further include volume size adjustment information, notification bar information, such as information of receipt of an instant communication message.
For example, when the terminal device is a smart phone and the external output device is a vehicle-mounted multimedia device, the vehicle-mounted multimedia device may be a vehicle-mounted display screen or a vehicle-mounted sound box. The smart phone and the vehicle-mounted multimedia device have established a Bluetooth communication connection.
The smart phone determines whether the vehicle-mounted multimedia device supports displaying the state information, and when the vehicle-mounted multimedia device is determined not to support displaying the state information, for example, when the vehicle-mounted multimedia device is a vehicle-mounted sound box, the vehicle-mounted sound box does not support displaying the state information, and the function of reporting the state information by the smart phone is closed, so that even if, for example, the signal intensity of an operator changes, or the volume of the smart phone is adjusted, the change information cannot be reported.
For another example, the smart phone closes the function of reporting the state information of the smart phone through the WiFi and the smart home sound box under the condition that the smart home sound box is determined not to support the display of the state information. Or the intelligent mobile phone is connected with the Bluetooth headset through Bluetooth, and the function of reporting the state information of the intelligent mobile phone is closed under the condition that the Bluetooth headset does not support displaying the state information.
It can be understood that reporting of each state information has no influence on each other, and when the external output device supports displaying part of the state information and does not support displaying the rest part of the state information, the external output device on the terminal device is turned off and does not support a reporting function corresponding to the state information display.
The vehicle-mounted multimedia device is a vehicle-mounted display screen, and when the smart phone determines that the vehicle-mounted display screen does not support displaying the residual electric quantity information of the smart phone and supports displaying other state information, the function of reporting the residual electric quantity information of the smart phone is closed, and other state information, such as operator signal intensity information, is continuously reported.
In one possible implementation manner, when it is determined that the external output device does not support displaying the signal strength information of the operator, the upper layer of the terminal device closes a function of reporting the status information by sending a control command to the modem of the terminal device, and when it is determined that the external output device supports displaying the signal strength information of the operator, the upper layer of the terminal device continues to report the status information by sending a control command to the modem of the terminal device.
For example, if the external output device does not support displaying the carrier signal strength information, the upper layer of the terminal device closes the function of reporting the carrier signal strength information by sending set_unsolicited_response_filte0 to the modem of the terminal device. In case it is determined that the external output device supports the display of the operator signal strength information, the upper layer of the terminal device continues to report the operator signal strength information by transmitting set_unsolicited_response_filtr1 to the modem of the terminal device.
According to the technical scheme, under the condition that the terminal equipment is connected with the external output equipment in a short-distance communication mode, whether the external output equipment supports displaying the state information is determined, and under the condition that the external output equipment does not support displaying the state information, the function of reporting the state information by the terminal equipment is closed. Therefore, when the external output equipment does not support the display of the state information, the reporting of the state information can be avoided, the power consumption of the terminal equipment is increased, the battery endurance of the terminal equipment is prevented from being shortened, and the endurance of the terminal equipment is facilitated.
Alternatively, fig. 2 is an exemplary flowchart implementing step S11 in fig. 1. As shown in fig. 2, the determining in step S11 whether the external output device supports displaying status information includes the steps of:
in step S111, a target flag bit in a communication message sent by the external output device is read, where the target flag bit is a flag bit set in a communication protocol of the short-distance communication and used for characterizing whether the external output device supports displaying state information;
in step S112, it is determined whether the external output device supports displaying status information according to the read field of the target flag bit.
Optionally, a target flag bit is added in the original communication protocol, and different fields of the flag bit indicate whether the external output device supports displaying the state information. The terminal equipment determines whether the external output equipment supports the display of the state information or not according to the target zone bit in the communication information by receiving the communication information sent by the external output equipment. Therefore, whether the external output equipment supports displaying the state information or not can be conveniently determined through the communication message, the communication protocol is changed slightly, the operation is convenient, and the stability of determining whether the external output equipment supports displaying the state information or not is improved.
For example, a flag bit field is added to the bluetooth communication protocol, when the terminal device is connected with the external output device through bluetooth, the terminal device reads a communication message sent by the external output device, reads a target flag bit in the bluetooth communication protocol, when the field of the read target flag bit is 1, it represents that the external output device connected through bluetooth supports displaying state information, and when the field of the read target flag bit is 0, it represents that the external output device connected through bluetooth does not support displaying state information.
Optionally, a corresponding target flag bit may be added to the communication protocol that characterizes whether different state information supports display. For example, a flag bit field corresponding to the residual capacity information is added on the bluetooth communication protocol, a flag bit field corresponding to the carrier signal strength information is added on the bluetooth communication protocol, and when the field of the target flag bit corresponding to the residual capacity information is read to be 1, the external output device connected through bluetooth supports to display the residual capacity information, so that the residual capacity information is continuously reported; when the field of the target zone bit corresponding to the read carrier signal intensity information is 1, the external output equipment connected through Bluetooth supports to display the carrier signal intensity information, and further the carrier signal intensity information is continuously reported; when the field of the target zone bit corresponding to the residual electric quantity information is read to be 0, the external output equipment connected through Bluetooth does not support displaying the residual electric quantity information, and then the function of reporting the residual electric quantity information is closed, and when the field of the target zone bit corresponding to the carrier signal intensity information is read to be 0, the external output equipment connected through Bluetooth does not support displaying the carrier signal intensity information, and then the function of reporting the carrier signal intensity information is closed. Thus, different status information reporting functions can be individually turned off and on.
Similarly, a flag bit field can be added in the NFC communication protocol and the WiFi communication protocol to characterize whether the external output device supports displaying the status information.
In one possible implementation manner, when the external output device supports displaying the state information, the external output device sends a communication message to the terminal device, and when the terminal device receives the communication message, the external output device determines that the external output device supports displaying the state information; when the external output device does not support the display of the state information, the external output device does not send a communication message to the terminal device, and if the terminal device does not receive the communication message within a preset time after the short-distance communication connection is established between the terminal device and the external output device, the external output device is determined to not support the display of the state information.
Optionally, the method further comprises:
closing the function of reporting the state information of the terminal equipment in the screen-off state under the condition that the external output equipment supports the display of the state information;
the method further comprises the steps of:
determining whether the terminal equipment is in a screen-off state;
stopping reporting the state information under the condition that the terminal equipment is in a screen-off state;
and under the condition that the terminal equipment is in a bright screen state, continuously reporting the state information.
Specifically, under the condition that the external output device supports displaying the state information, screen state information of the terminal device is obtained, under the condition that the terminal device is in a screen-off state, reporting of the state information is stopped, and under the condition that the terminal device is in a screen-on state, reporting of the state information is continued. In this way, the power consumption for reporting the state information can be reduced when the external output device supports the display of the state information.
For example, under the condition that the external output device supports displaying the state information, screen state information of the terminal device is obtained from the terminal device backlight module, under the condition that the terminal device is in a screen-off state, reporting of the state information is stopped, and under the condition that the terminal device is in a screen-on state, reporting of the state information is continued.
Optionally, under the condition that the external output device supports displaying the state information, when the terminal device is switched from the bright screen state to the off screen state, in a preset time period, the screen of the terminal device is not awakened, that is, the terminal device is still in the off screen state, and the function of reporting the state information by the terminal device in the off screen state is turned off. In this way, frequent switching of stopping reporting and continuing reporting of the terminal equipment can be avoided, and the power consumption of the terminal equipment is reduced.
For example, when the bluetooth connection between the smart phone and the vehicle-mounted display screen is established, the vehicle-mounted display screen supports displaying state information, if the smart phone is switched from a bright screen state to a screen-off state, the screen of the smart phone is not awakened within a preset time period of 1 minute, and the bottom layer of the terminal device is notified to stop reporting the state information.
In a possible implementation manner, fig. 3 is a flowchart of another control method for reporting status information according to an exemplary embodiment, as shown in fig. 3, where in a case that it is determined that the external output device supports displaying status information, a function of reporting the status information in a screen-off state by the terminal device is turned off, and includes the following steps:
in step S31, when it is determined that the external output device supports displaying the state information, the user is reminded whether to turn off the function of reporting the state information by the terminal device in the screen-off state.
In step S32, in response to a closing operation of the user, a function of reporting the state information by the terminal device in a screen-off state is closed.
Optionally, the closing button is provided on the display screen of the terminal device, so that the user can conveniently close the function of reporting the state information of the terminal device in the screen-off state through the closing button.
For example, text information is displayed in a notification bar, a user is reminded of whether to turn off a function of reporting state information of the terminal equipment in a screen-off state, and a turn-off button is provided, if the user touches the turn-off button, the function of reporting the state information of the terminal equipment in the screen-off state is turned off in response to a turn-off operation touched by the user.
In another possible implementation manner, fig. 4 is a flowchart of another control method for reporting status information according to an exemplary embodiment, where, as shown in fig. 4, in a case where it is determined that the external output device supports displaying status information, a function of reporting the status information in a screen-off state by the terminal device is turned off, and includes the following steps:
in step S41, in a case where it is determined that the external output device supports displaying status information, acquiring a remaining power of the terminal device;
in step S42, if the remaining power is smaller than a preset power threshold, the function of reporting the status information by the terminal device in the screen-off state is turned off.
Specifically, the preset power threshold may be set by the user, or may be set by following a low power alert of the terminal device, that is, a low power alert that the terminal device enters the power saving mode.
For example, under the condition that the external output device supports displaying the state information, acquiring 18% of residual electric quantity of the terminal device, wherein 18% of the residual electric quantity is smaller than 20% of a preset electric quantity threshold value, and turning off the function of reporting the state information under the screen-off state of the terminal device.
Therefore, the function of reporting the state information of the terminal equipment in the screen-off state can be closed according to the residual electric quantity of the terminal equipment, the power consumption for reporting the state information is reduced, and the cruising duration of the terminal equipment is prevented from being shortened.
The present disclosure further provides a control device for reporting status information, and fig. 5 is a block diagram of a control device for reporting status information according to an exemplary embodiment, and referring to fig. 5, the device 500 includes: a first determination module 510 and an execution module 520.
The first determining module 510 is configured to determine whether the external output device supports displaying status information in case the terminal device has established a short-range communication connection with the external output device;
the execution module 520 is configured to close a function of the terminal device to report the status information if it is determined that the external output device does not support the display of the status information.
Optionally, the first determining module 510 includes:
the reading submodule is configured to read a target zone bit in a communication message sent by the external output equipment, wherein the target zone bit is a zone bit which is set in a communication protocol of the short-distance communication and used for representing whether the external output equipment supports displaying state information or not;
and the determining submodule is configured to determine whether the external output equipment supports displaying state information according to the read field of the target zone bit.
Optionally, the control device further includes:
the closing module is configured to close the function of reporting the state information of the terminal equipment in the screen-off state under the condition that the external output equipment is determined to support the display of the state information;
the control device further includes:
the second determining module is configured to determine whether the terminal equipment is in a screen-off state;
the first reporting module is configured to stop reporting the state information when the terminal equipment is in a screen-off state;
and the second reporting module is configured to continuously report the state information under the condition that the terminal equipment is in a bright screen state.
Optionally, the closing module includes:
the reminding sub-module is configured to remind a user of whether to close the terminal equipment and report the state information in a screen-off state under the condition that the external output equipment is determined to support the display of the state information;
the first closing sub-module is configured to respond to closing operation of a user and close the function of reporting the state information of the terminal equipment in a screen-off state.
Optionally, the closing module includes:
an acquisition sub-module configured to acquire a remaining power of the terminal device in a case where it is determined that the external output device supports displaying state information;
and the second closing sub-module is configured to close the function of reporting the state information of the terminal equipment in the screen-off state under the condition that the residual electric quantity is smaller than a preset electric quantity threshold value.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the control method of status information reporting provided by the present disclosure.
Fig. 6 is a block diagram illustrating an apparatus 600 according to an example embodiment. Alternatively, the apparatus 600 may be configured as a control apparatus for reporting status information as described in any one of the above. For example, apparatus 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the apparatus 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the control method for status information reporting described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on the apparatus 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 606 provides power to the various components of the device 600. The power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 600.
The multimedia component 608 includes a screen between the device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 600 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor assembly 614 may detect the open/closed state of the device 600, the relative positioning of the components, such as the display and keypad of the device 600, the sensor assembly 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the apparatus 600 and other devices in a wired or wireless manner. The device 600 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the control method of status information reporting described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 604, including instructions executable by processor 620 of apparatus 600 to perform the control method of status information reporting described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned control method of status information reporting when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. The control method for reporting the state information is characterized by comprising the following steps:
determining whether the external output device supports displaying state information under the condition that the terminal device and the external output device are in short-distance communication connection;
closing the function of reporting the state information by the terminal equipment under the condition that the external output equipment does not support the display of the state information;
wherein the determining whether the external output device supports displaying status information comprises:
reading a target zone bit in a communication message sent by the external output device, wherein the target zone bit is a zone bit which is set in a communication protocol of the short-distance communication and used for representing whether the external output device supports displaying state information or not;
and determining whether the external output equipment supports displaying the state information according to the read field of the target zone bit.
2. The method of claim 1, wherein the control method further comprises:
closing the function of reporting the state information of the terminal equipment in the screen-off state under the condition that the external output equipment supports the display of the state information;
the method further comprises the steps of:
determining whether the terminal equipment is in a screen-off state;
stopping reporting the state information under the condition that the terminal equipment is in a screen-off state;
and under the condition that the terminal equipment is in a bright screen state, continuously reporting the state information.
3. The method according to claim 2, wherein the step of closing the function of the terminal device to report the status information in the off-screen state in the case where it is determined that the external output device supports the display of the status information includes:
under the condition that the external output equipment supports displaying the state information, reminding a user whether to close the terminal equipment and reporting the state information in a screen-off state;
and responding to closing operation of a user, closing the function of reporting the state information of the terminal equipment in the screen-off state.
4. The method according to claim 2, wherein the step of closing the function of the terminal device to report the status information in the off-screen state in the case where it is determined that the external output device supports the display of the status information includes:
acquiring the residual electric quantity of the terminal equipment under the condition that the external output equipment supports the display of the state information;
and under the condition that the residual electric quantity is smaller than a preset electric quantity threshold value, closing the function of reporting the state information of the terminal equipment in the screen-off state.
5. The method of any of claims 1-4, wherein the short-range communication connection is a bluetooth connection.
6. The control device for reporting the state information is characterized by comprising the following components:
a determining module configured to determine whether the external output device supports display of status information in a case where the terminal device and the external output device have established a short-range communication connection;
the execution module is configured to close a function of reporting the state information by the terminal equipment under the condition that the external output equipment is determined not to support the display of the state information;
wherein the determining module comprises:
the reading submodule is configured to read a target zone bit in a communication message sent by the external output equipment, wherein the target zone bit is a zone bit which is set in a communication protocol of the short-distance communication and used for representing whether the external output equipment supports displaying state information or not;
and the first determining submodule is configured to determine whether the external output equipment supports displaying the state information according to the read field of the target zone bit.
7. A signal strength reporting control device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether the external output device supports displaying state information under the condition that the terminal device and the external output device are in short-distance communication connection;
closing the function of reporting the state information by the terminal equipment under the condition that the external output equipment does not support the display of the state information;
wherein the determining whether the external output device supports displaying status information comprises:
reading a target zone bit in a communication message sent by the external output device, wherein the target zone bit is a zone bit which is set in a communication protocol of the short-distance communication and used for representing whether the external output device supports displaying state information or not;
and determining whether the external output equipment supports displaying the state information according to the read field of the target zone bit.
8. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-5.
CN202010623232.8A 2020-06-30 2020-06-30 Control method, device and storage medium for reporting state information Active CN113950032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010623232.8A CN113950032B (en) 2020-06-30 2020-06-30 Control method, device and storage medium for reporting state information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010623232.8A CN113950032B (en) 2020-06-30 2020-06-30 Control method, device and storage medium for reporting state information

Publications (2)

Publication Number Publication Date
CN113950032A CN113950032A (en) 2022-01-18
CN113950032B true CN113950032B (en) 2023-08-29

Family

ID=79325967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010623232.8A Active CN113950032B (en) 2020-06-30 2020-06-30 Control method, device and storage medium for reporting state information

Country Status (1)

Country Link
CN (1) CN113950032B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780858A (en) * 2014-03-03 2014-05-07 联想(北京)有限公司 Method and device for processing information, and electronic device
CN104503583A (en) * 2014-12-30 2015-04-08 百度在线网络技术(北京)有限公司 Information display method and device
CN106504473A (en) * 2016-11-24 2017-03-15 北京小米移动软件有限公司 Method, device and equipment that wearable device state is arranged
CN109863755A (en) * 2016-10-25 2019-06-07 索尼公司 Signal handling equipment, methods and procedures
CN110505517A (en) * 2019-07-04 2019-11-26 西安万像电子科技有限公司 Data transmission method, system and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011248768A (en) * 2010-05-28 2011-12-08 Sony Corp Information processor, information processing system and program
CN104967557B (en) * 2015-05-28 2017-03-01 腾讯科技(深圳)有限公司 Communication message transmission method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780858A (en) * 2014-03-03 2014-05-07 联想(北京)有限公司 Method and device for processing information, and electronic device
CN104503583A (en) * 2014-12-30 2015-04-08 百度在线网络技术(北京)有限公司 Information display method and device
CN109863755A (en) * 2016-10-25 2019-06-07 索尼公司 Signal handling equipment, methods and procedures
CN106504473A (en) * 2016-11-24 2017-03-15 北京小米移动软件有限公司 Method, device and equipment that wearable device state is arranged
CN110505517A (en) * 2019-07-04 2019-11-26 西安万像电子科技有限公司 Data transmission method, system and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蓝牙车载信息系统的设计与实现;刘媛;张伟;王知学;马建辉;;山东科学(第03期);全文 *

Also Published As

Publication number Publication date
CN113950032A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN108040360B (en) Method and device for controlling screen display
CN109361593B (en) Message reminding method, device, mobile terminal and storage medium
KR101839093B1 (en) Method and device for information processing
EP3306441A1 (en) Temperature control method and apparatus
CN107438811B (en) Information screen display method and device
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
CN106941572B (en) Incoming call reminding method and device
CN106354504B (en) Message display method and device
CN106528273B (en) Application program management method and device
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN105898573B (en) Multimedia file playing method and device
CN109218509B (en) Information screen display method and device and computer readable storage medium
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN109862169B (en) Electronic equipment control method, device and storage medium
CN110618783B (en) Text broadcasting method, device and medium
CN107295167B (en) Information display method and device
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN109474744B (en) Alarm clock processing method, device and storage medium
CN109521923B (en) Floating window control method and device and storage medium
CN108647074B (en) Method, device, hardware device and medium for displaying dynamic information in screen locking state
CN113950032B (en) Control method, device and storage medium for reporting state information
CN107026941B (en) Method and device for processing reply of unread message
CN112423092A (en) Video recording method and video recording device
CN107682101B (en) Noise detection method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant