CN110618783B - Text broadcasting method, device and medium - Google Patents

Text broadcasting method, device and medium Download PDF

Info

Publication number
CN110618783B
CN110618783B CN201910865876.5A CN201910865876A CN110618783B CN 110618783 B CN110618783 B CN 110618783B CN 201910865876 A CN201910865876 A CN 201910865876A CN 110618783 B CN110618783 B CN 110618783B
Authority
CN
China
Prior art keywords
target control
terminal
broadcasting
text
met
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
CN201910865876.5A
Other languages
Chinese (zh)
Other versions
CN110618783A (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 CN201910865876.5A priority Critical patent/CN110618783B/en
Publication of CN110618783A publication Critical patent/CN110618783A/en
Application granted granted Critical
Publication of CN110618783B publication Critical patent/CN110618783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed herein are a text broadcasting method, apparatus and medium, the method comprising: determining a target control according to a display interface of the terminal; determining text content in the target control; judging whether a first broadcast condition is met according to the text content in the target control; and when a first broadcasting condition is met, broadcasting all or part of text contents in the target control. The text can intelligently judge the switching time, automatically switch the text reading mode to the voice playing mode for the user, reduce the reading fatigue of the user, improve the intelligence of the terminal and improve the user experience.

Description

Text broadcasting method, device and medium
Technical Field
The present disclosure relates to the field of mobile terminal data processing technologies, and in particular, to a text broadcast method, apparatus, and medium.
Background
With the widespread use of mobile terminals, users need to read a large number of characters every day, thereby causing reading fatigue.
Disclosure of Invention
To overcome the problems in the related art, a text broadcasting method, apparatus and medium are provided.
According to a first aspect of embodiments herein, there is provided a text broadcast method, including:
determining a target control according to a display interface of the terminal;
determining text content in the target control;
judging whether a first broadcast condition is met according to the text content in the target control;
and when a first broadcasting condition is met, broadcasting all or part of text contents in the target control.
The method also has the following characteristics:
the determining the target control according to the display interface of the terminal comprises the following steps:
and determining each control on the display interface, and determining the target control according to the functional attribute and/or the display size of the control.
The method also has the following characteristics:
judging that the first broadcasting condition is met according to the text content in the target control comprises one or more of the following modes:
the number of words of the text content in the target control is greater than a preset value;
the information issuing user in the target control is a preset user;
and the text content in the target control comprises preset information.
The method also has the following characteristics:
when a first playing condition is met, the method for broadcasting the text content in the target control comprises the following steps:
and when the first broadcasting condition is met, judging whether a second broadcasting condition is met or not according to the state information of the terminal, and when the second broadcasting condition is met, broadcasting the text content in the target control.
The method also has the following characteristics:
the second broadcast condition includes at least one of the following conditions:
firstly, the geographical position of the terminal belongs to a preset geographical area;
secondly, when the terminal is connected to a local area network, the network information of the local area network connected with the terminal is preset local area network information;
thirdly, the moving speed of the terminal in a preset time length before the current time point is in a preset interval;
fourthly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
fifthly, when the terminal is connected to a local area network, other terminals are not connected in the local area network;
when the terminal is connected to a local area network, other terminals are connected to the local area network, and the distance between the terminal and the other terminals is larger than a preset distance;
and seventhly, the sound signal acquired by the sound acquisition device of the terminal does not contain a voice signal.
The method also has the following characteristics:
the method further comprises the following steps:
and when all or part of text contents in the target control are broadcasted, receiving a switching instruction, and determining that the next target control of the target control in a display interface of the terminal is a new target control.
The method also has the following characteristics:
the method further comprises the following steps: displaying a first button on the display interface, and stopping broadcasting after receiving a trigger signal of the first button;
and/or displaying a second button on the display interface, and broadcasting all or part of text content in the target control after receiving a trigger signal of the second button.
According to a second aspect of embodiments herein, there is provided a text broadcasting device including:
the first determining module is used for determining a target control according to a display interface of the terminal;
the second determination module is used for determining the text content in the target control;
the judging module is used for judging whether a first broadcasting condition is met according to the text content in the target control;
and the first broadcasting module is used for broadcasting all or part of text contents in the target control when a first broadcasting condition is met.
The device also has the following characteristics:
the first determining module includes:
the third determining module is used for determining each control on the display interface;
and the fourth determining module is used for determining the target control according to the functional attribute and/or the display size of the control.
The device also has the following characteristics:
the first judging module is further used for judging that a first broadcasting condition is met according to the text content in the target control by using one or more of the following methods;
the number of words of the text content in the target control is greater than a preset value;
the information issuing user in the target control is a preset user;
and the text content in the target control comprises preset information.
The device also has the following characteristics:
the first reporting module comprises:
the second judgment module is used for judging whether a second broadcast condition is met or not according to the state information of the terminal when the first broadcast condition is met;
and the second broadcasting module is used for broadcasting the text content in the target control when a second broadcasting condition is met.
The device also has the following characteristics:
the second broadcast condition includes at least one of the following conditions:
firstly, the geographical position of the terminal belongs to a preset geographical area;
secondly, when the terminal is connected to a local area network, the network information of the local area network connected with the terminal is preset local area network information;
thirdly, the moving speed of the terminal in a preset time length before the current time point is in a preset interval;
fourthly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
fifthly, when the terminal is connected to a local area network, other terminals are not connected in the local area network;
when the terminal is connected to a local area network, other terminals are connected to the local area network, and the distance between the terminal and the other terminals is larger than a preset distance;
and seventhly, the sound signal acquired by the sound acquisition device of the terminal does not contain a voice signal.
The device also has the following characteristics:
the device further comprises:
the first receiving module is used for receiving a switching instruction when all or part of text contents in the target control are broadcasted;
the first determining module is further configured to determine that a next target control of the target controls in a display interface of the terminal is a new target control after the receiving module receives the switching instruction.
The device also has the following characteristics:
the device further comprises:
the first display module is used for displaying a first button on the display interface;
the second receiving module is used for receiving the trigger signal of the first button;
the first broadcasting module is used for stopping broadcasting after the second receiving module receives the trigger signal of the first button;
and/or the presence of a gas in the gas,
the device further comprises:
the second display module is used for displaying a second button on the display interface;
the third receiving module is used for receiving a trigger signal of the second button;
and the first broadcasting module is used for broadcasting all or part of text contents in the target control after the third receiving module receives the trigger signal of the second button.
According to a third aspect of the embodiments herein, there is provided a text broadcasting device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a target control according to a display interface of the terminal;
determining text content in the target control;
judging whether a first broadcast condition is met according to the text content in the target control;
and when a first broadcasting condition is met, broadcasting all or part of text contents in the target control.
According to a fourth aspect of embodiments herein, there is provided a non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a text broadcast method, the method comprising:
determining a target control according to a display interface of the terminal;
determining text content in the target control;
judging whether a first broadcast condition is met according to the text content in the target control;
and when a first broadcasting condition is met, broadcasting all or part of text contents in the target control.
The technical solutions provided by the embodiments herein may include the following beneficial effects: the text can intelligently judge the switching time, automatically switch the text reading mode to the voice playing mode for the user, reduce the reading fatigue of the user, improve the intelligence of the terminal and improve the user experience.
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 invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a text broadcast method according to an exemplary embodiment;
fig. 2 is a schematic size diagram of a control of a display interface in a text broadcast method according to an exemplary embodiment;
fig. 3 is a schematic diagram illustrating a display interface in a text broadcast method according to an exemplary embodiment;
fig. 4 is a block diagram illustrating a text broadcast device according to an exemplary embodiment;
fig. 5 is a block diagram illustrating a text broadcast device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects herein, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a text broadcast method according to an exemplary embodiment, where the method includes:
step S11, determining a target control according to a display interface of the terminal;
step S12, determining the text content in the target control;
step S13, judging whether a first broadcast condition is met according to the text content in the target control;
and step S14, broadcasting all or part of text contents in the target control when the first broadcasting condition is met.
The method can intelligently judge the switching time and automatically switch the text reading mode to the voice playing mode for the user, thereby reducing the reading fatigue of the user, improving the intelligence of the terminal and improving the use experience of the user.
In an embodiment, the display interface of the terminal is a microblog reading interface, a friend circle display interface, a webpage interface and the like.
In an embodiment, the determining the target control according to the display interface of the terminal in step S11 includes: and determining each control on the display interface, and determining a target control according to the functional attribute and/or the display size of the control. In particular in one or more of the following ways:
firstly, determining a control with a function attribute of a text box on a display interface as a target control. The control with the function attribute of the text box comprises at least one of the following: task dialog boxes, text posts, etc. For example: the display interface comprises a plurality of controls positioned on the left side, and the functions are respectively as follows: and returning to the home page, jumping to a collection page, refreshing and the like, wherein the functional attributes of the two price controls on the right side are text boxes, and one price control is selected from the two controls on the right side as a target control. And when the two controls are distributed up and down, selecting the control positioned above the two controls as a target control.
Secondly, as shown in fig. 2, the control whose relation between the display size and the size of the display interface meets the preset condition is determined as the target control. For example: determining a control with a display size larger than the preset proportion of the size of the display interface as a target control, wherein one mode is as follows: and determining a control with the display size larger than 30% of the size of the display interface as a target control, for example, when the size of the display interface is AXB, determining a control with the display size larger than 0.3AX0.3B as the target control.
And thirdly, determining the control of which the functional attribute on the display interface is the text box and the relation between the display size and the size of the display interface meets the preset condition as the target control. For example: the display interface comprises a plurality of controls positioned on the left side, and the functions are respectively as follows: and returning to the home page, jumping to a collection page, refreshing and the like, wherein the functional attributes of the two controls on the right side are text boxes, and the two controls are distributed up and down. The size of the display interface is AXB, the sizes of two controls are determined, the size of the first control is larger than 0.3AX0.3B, the size of the second control is smaller than 0.3AX0.3B, and the first control is determined to be a target control.
In an embodiment, the step S13, determining that the first reporting condition is satisfied according to the text content in the target control includes one of the following manners:
the number of words of the text content in the target control is larger than a preset value (for example, 200 words);
the information issuing user in the target control is a preset user;
the text content in the target control contains preset information. For example, the preset information is "emergency notification", "alarm", etc.
In one embodiment, the broadcasting the text content in the target control when the first playing condition is satisfied in step S13 includes:
and when the first broadcasting condition is met, judging whether the second broadcasting condition is met or not according to the state information of the terminal, and when the second broadcasting condition is met, broadcasting the text content in the target control.
In an embodiment, the second broadcast condition includes at least one of the following conditions:
firstly, the geographical position of the terminal belongs to a preset geographical area.
For example, a preset geographical area is determined, the preset geographical area is taken as a safety area, for example, one geographical area is taken as a home area, another geographical area is taken as a company area, the geographical position (for example, GPS information) of the terminal is detected, it is judged that the position of the terminal belongs to the preset geographical area, and it is determined that the terminal is in the safety area.
Secondly, when the terminal is connected to the local area network, the network information of the local area network connected with the terminal is preset local area network information.
For example: and determining preset local area network information, wherein the preset local area network information corresponds to the safety area. The network information is an account number or Service Set Identifier (SSID) of the lan. For example, it is determined that a preset lan network information is a lan network information to which a family belongs, it is determined that another preset lan network information is a lan network information to which a company belongs, a lan connected to the terminal is detected, and when it is determined that the lan network information is the preset lan network information, it is determined that the terminal is in a security area.
And thirdly, the moving speed of the terminal in the preset time length before the current time point is in the preset interval.
For example: the average moving speed of the terminal within a preset time period before the current time point is within the walking speed interval.
And fourthly, the terminal is not connected with other terminals in a short-distance wireless communication mode.
The short-distance wireless communication mode refers to a mode used for short-distance wireless communication, such as Bluetooth, ZIGBEE, WIFI and the like.
And fifthly, when the terminal is connected to the local area network, other terminals are not connected in the local area network.
In this way, the application scene that only one end user is in the coverage area of the local area network is included. Using text broadcast in this scenario does not affect others.
And sixthly, when the terminal is connected to the local area network, other terminals are connected in the local area network, and the distance between the terminal and the other terminals is larger than the preset distance.
In this way, other terminal users are far away from the terminal user, and the starting of the text broadcast does not affect other people.
And seventhly, the sound signal acquired by the sound acquisition device of the terminal does not contain a voice signal.
The ambient sound in this way is quieter, including the situation where only one end user is located in a space, and using text broadcast in this scenario does not affect others.
In one embodiment, the method further comprises: when all or part of text contents in the target control are broadcasted, after a switching instruction is received, the next target control of the target control in a display interface of the terminal is determined to be a new target control. In implementation, one of the following ways is used:
in the first mode, a switching button is arranged in a display interface, and after a touch signal of the switching button is received, a switching instruction is determined to be received.
In the second mode, the switching instruction is a voice signal, and when the content of the voice signal is recognized as the content for instructing switching (for example, the content is "switch to next"), it is determined that the switching instruction is received.
In one embodiment, the terminal can be controlled to stop broadcasting conveniently according to the use requirement of a user. The method also comprises the following steps: displaying a first button on a display interface, and stopping broadcasting after receiving a trigger signal of the first button;
and/or the presence of a gas in the gas,
and displaying a second button on the display interface, and broadcasting all or part of text content in the target control after receiving a trigger signal of the second button.
In one embodiment, as shown in fig. 3, the method further includes: and displaying the number of words in the target control and the volume level of voice playing on a display interface.
Fig. 4 is a block diagram illustrating a text broadcasting device according to an exemplary embodiment, the device including:
the first determining module is used for determining a target control according to a display interface of the terminal;
the second determination module is used for determining the text content in the target control;
the judging module is used for judging whether a first broadcasting condition is met according to the text content in the target control;
and the first broadcasting module is used for broadcasting all or part of text contents in the target control when a first broadcasting condition is met.
In one embodiment, the first determining module includes:
the third determining module is used for determining each control on the display interface;
and the fourth determining module is used for determining the target control according to the functional attribute and/or the display size of the control.
In an embodiment, the first determining module is further configured to determine, according to text content in the target control, that a first broadcast condition is satisfied by using one of the following methods;
the number of words of the text content in the target control is larger than a preset value;
the information issuing user in the target control is a preset user;
the text content in the target control contains preset information.
In one embodiment, the first reporting module includes:
the second judgment module is used for judging whether a second broadcast condition is met or not according to the state information of the terminal when the first broadcast condition is met;
and the second broadcasting module is used for broadcasting the text content in the target control when a second broadcasting condition is met.
In one embodiment of the present invention, the substrate is,
the second broadcast condition includes at least one of the following conditions:
firstly, the geographical position of the terminal belongs to a preset geographical area;
secondly, when the terminal is connected to a local area network, the network information of the local area network connected with the terminal is preset local area network information;
thirdly, the moving speed of the terminal in a preset time length before the current time point is in a preset interval;
fourthly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
fifthly, when the terminal is connected to a local area network, other terminals are not connected in the local area network;
when the terminal is connected to a local area network, other terminals are connected to the local area network, and the distance between the terminal and the other terminals is larger than a preset distance;
and seventhly, the sound signal acquired by the sound acquisition device of the terminal does not contain a voice signal.
In one embodiment, the apparatus further comprises: and the first receiving module is used for receiving a switching instruction when all or part of text contents in the target control are broadcasted.
The first determining module is further configured to determine that a next target control of the target controls in a display interface of the terminal is a new target control after the receiving module receives the switching instruction.
In one embodiment, the apparatus further comprises:
the first display module is used for displaying a first button on the display interface;
the second receiving module is used for receiving the trigger signal of the first button;
the first broadcasting module is used for stopping broadcasting after the second receiving module receives the trigger signal of the first button;
and/or the presence of a gas in the gas,
the device further comprises:
the second display module is used for displaying a second button on the display interface;
the third receiving module is used for receiving a trigger signal of the second button;
and the first broadcasting module is used for broadcasting all or part of text contents in the target control after the third receiving module receives the trigger signal of the second button.
FIG. 5 is a block diagram illustrating an apparatus 500 for determining performance parameters of a speech enhancement algorithm according to an example embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 505 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile 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 disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 505 includes a screen providing an output interface between the device 500 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 505 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 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 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 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 500 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the invention herein will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles herein and including such departures from the present disclosure as come within known or customary practice in the art to which the invention 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (14)

1. A text broadcasting method is characterized by comprising the following steps:
determining a target control according to a display interface of the terminal;
determining text content in the target control;
judging whether a first broadcast condition is met according to the text content in the target control;
when a first broadcasting condition is met, broadcasting all or part of text contents in the target control;
when a first playing condition is met, the method for broadcasting the text content in the target control comprises the following steps:
when the first broadcasting condition is met, judging whether a second broadcasting condition is met or not according to the state information of the terminal, and when the second broadcasting condition is met, broadcasting the text content in the target control;
the second broadcast condition includes at least one of the following conditions:
firstly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
when the terminal is connected to a local area network, other terminals are not connected in the local area network;
and thirdly, when the terminal is connected to a local area network, other terminals are connected in the local area network, and the distance between the terminal and the other terminals is greater than a preset distance.
2. The text broadcast method of claim 1,
the determining the target control according to the display interface of the terminal comprises the following steps:
and determining each control on the display interface, and determining the target control according to the functional attribute and/or the display size of the control.
3. The text broadcast method of claim 1,
judging that the first broadcasting condition is met according to the text content in the target control comprises one or more of the following modes:
the number of words of the text content in the target control is greater than a preset value;
the information issuing user in the target control is a preset user;
and the text content in the target control comprises preset information.
4. The text broadcast method of claim 1,
the second broadcast condition includes at least one of the following conditions:
firstly, the geographical position of the terminal belongs to a preset geographical area;
secondly, when the terminal is connected to a local area network, the network information of the local area network connected with the terminal is preset local area network information;
and thirdly, the moving speed of the terminal in the preset time length before the current time point is in a preset interval.
5. The text broadcast method of claim 1,
the method further comprises the following steps:
and when all or part of text contents in the target control are broadcasted, receiving a switching instruction, and determining that the next target control of the target control in a display interface of the terminal is a new target control.
6. The text broadcast method of claim 1,
the method further comprises the following steps: displaying a first button on the display interface, and stopping broadcasting after receiving a trigger signal of the first button;
and/or displaying a second button on the display interface, and broadcasting all or part of text content in the target control after receiving a trigger signal of the second button.
7. A text broadcast device, comprising:
the first determining module is used for determining a target control according to a display interface of the terminal;
the second determination module is used for determining the text content in the target control;
the judging module is used for judging whether a first broadcasting condition is met according to the text content in the target control;
the first broadcasting module is used for broadcasting all or part of text contents in the target control when a first broadcasting condition is met;
the first reporting module comprises:
the second judgment module is used for judging whether a second broadcast condition is met or not according to the state information of the terminal when the first broadcast condition is met;
the second broadcasting module is used for broadcasting the text content in the target control when a second broadcasting condition is met;
the second broadcast condition includes at least one of the following conditions:
firstly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
when the terminal is connected to a local area network, other terminals are not connected in the local area network;
and thirdly, when the terminal is connected to a local area network, other terminals are connected in the local area network, and the distance between the terminal and the other terminals is greater than a preset distance.
8. The text broadcast device of claim 7,
the first determining module includes:
the third determining module is used for determining each control on the display interface;
and the fourth determining module is used for determining the target control according to the functional attribute and/or the display size of the control.
9. The text broadcast device of claim 7,
the judging module is further used for judging that a first broadcasting condition is met according to the text content in the target control by using one or more of the following methods;
the number of words of the text content in the target control is greater than a preset value;
the information issuing user in the target control is a preset user;
and the text content in the target control comprises preset information.
10. The text broadcast device of claim 7,
the second broadcast condition includes at least one of the following conditions:
firstly, the geographical position of the terminal belongs to a preset geographical area;
secondly, when the terminal is connected to a local area network, the network information of the local area network connected with the terminal is preset local area network information;
and thirdly, the moving speed of the terminal in the preset time length before the current time point is in a preset interval.
11. The text broadcast device of claim 7,
the device further comprises:
the first receiving module is used for receiving a switching instruction when all or part of text contents in the target control are broadcasted;
the first determining module is further configured to determine that a next target control of the target controls in a display interface of the terminal is a new target control after the receiving module receives the switching instruction.
12. The text broadcast device of claim 7,
the device further comprises:
the first display module is used for displaying a first button on the display interface;
the second receiving module is used for receiving the trigger signal of the first button;
the first broadcasting module is used for stopping broadcasting after the second receiving module receives the trigger signal of the first button;
and/or the presence of a gas in the gas,
the device further comprises:
the second display module is used for displaying a second button on the display interface;
the third receiving module is used for receiving a trigger signal of the second button;
and the first broadcasting module is used for broadcasting all or part of text contents in the target control after the third receiving module receives the trigger signal of the second button.
13. A text broadcast device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a target control according to a display interface of the terminal;
determining text content in the target control;
judging whether a first broadcast condition is met according to the text content in the target control;
when a first broadcasting condition is met, broadcasting all or part of text contents in the target control;
when a first playing condition is met, the method for broadcasting the text content in the target control comprises the following steps:
when the first broadcasting condition is met, judging whether a second broadcasting condition is met or not according to the state information of the terminal, and when the second broadcasting condition is met, broadcasting the text content in the target control;
the second broadcast condition includes at least one of the following conditions:
firstly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
when the terminal is connected to a local area network, other terminals are not connected in the local area network;
and thirdly, when the terminal is connected to a local area network, other terminals are connected in the local area network, and the distance between the terminal and the other terminals is greater than a preset distance.
14. A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a text broadcast method, the method comprising:
determining a target control according to a display interface of the terminal;
determining text content in the target control;
judging whether a first broadcast condition is met according to the text content in the target control;
when a first broadcasting condition is met, broadcasting all or part of text contents in the target control;
when a first playing condition is met, the method for broadcasting the text content in the target control comprises the following steps:
when the first broadcasting condition is met, judging whether a second broadcasting condition is met or not according to the state information of the terminal, and when the second broadcasting condition is met, broadcasting the text content in the target control;
the second broadcast condition includes at least one of the following conditions:
firstly, the terminal is not connected with other terminals in a short-distance wireless communication mode;
when the terminal is connected to a local area network, other terminals are not connected in the local area network;
and thirdly, when the terminal is connected to a local area network, other terminals are connected in the local area network, and the distance between the terminal and the other terminals is greater than a preset distance.
CN201910865876.5A 2019-09-12 2019-09-12 Text broadcasting method, device and medium Active CN110618783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910865876.5A CN110618783B (en) 2019-09-12 2019-09-12 Text broadcasting method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910865876.5A CN110618783B (en) 2019-09-12 2019-09-12 Text broadcasting method, device and medium

Publications (2)

Publication Number Publication Date
CN110618783A CN110618783A (en) 2019-12-27
CN110618783B true CN110618783B (en) 2021-04-13

Family

ID=68923160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910865876.5A Active CN110618783B (en) 2019-09-12 2019-09-12 Text broadcasting method, device and medium

Country Status (1)

Country Link
CN (1) CN110618783B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666249B (en) * 2020-05-11 2024-02-09 上海连尚网络科技有限公司 Method and device for acquiring target reading mode in reading application
CN112486451B (en) * 2020-11-27 2022-03-11 掌阅科技股份有限公司 Voice broadcasting method, computing device and computer storage medium
CN112711372B (en) * 2020-12-28 2022-03-11 掌阅科技股份有限公司 Page response method in visual impairment mode, computing device and computer storage medium
CN116527807A (en) * 2022-01-24 2023-08-01 华为技术有限公司 Stream re-broadcasting method, electronic device, storage medium and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506561A (en) * 2015-01-13 2015-04-08 深圳市中兴移动通信有限公司 Terminal data access control method and device
WO2015176680A1 (en) * 2014-05-22 2015-11-26 Tencent Technology (Shenzhen) Company Limited Information display method and apparatus
CN105472116A (en) * 2014-09-05 2016-04-06 深圳Tcl新技术有限公司 Communication information prompting method and device
CN105516457A (en) * 2015-11-24 2016-04-20 小米科技有限责任公司 Communication message processing method and apparatus
CN105653989A (en) * 2016-03-23 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Anti-leakage method and device for information
CN106534550A (en) * 2016-11-18 2017-03-22 广东欧珀移动通信有限公司 Text information reading method and mobile terminal
CN107295157A (en) * 2017-04-26 2017-10-24 北京珠穆朗玛移动通信有限公司 Mobile terminal and its anti-lost alarm method, the device with store function
CN107465595A (en) * 2017-07-25 2017-12-12 腾讯科技(深圳)有限公司 Equipment message control method for playing back, device, message playback equipment and storage medium
CN108121758A (en) * 2017-11-16 2018-06-05 五八有限公司 Methods of exhibiting, device, equipment and the system of details page

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176680A1 (en) * 2014-05-22 2015-11-26 Tencent Technology (Shenzhen) Company Limited Information display method and apparatus
CN105472116A (en) * 2014-09-05 2016-04-06 深圳Tcl新技术有限公司 Communication information prompting method and device
CN104506561A (en) * 2015-01-13 2015-04-08 深圳市中兴移动通信有限公司 Terminal data access control method and device
CN105516457A (en) * 2015-11-24 2016-04-20 小米科技有限责任公司 Communication message processing method and apparatus
CN105653989A (en) * 2016-03-23 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Anti-leakage method and device for information
CN106534550A (en) * 2016-11-18 2017-03-22 广东欧珀移动通信有限公司 Text information reading method and mobile terminal
CN107295157A (en) * 2017-04-26 2017-10-24 北京珠穆朗玛移动通信有限公司 Mobile terminal and its anti-lost alarm method, the device with store function
CN107465595A (en) * 2017-07-25 2017-12-12 腾讯科技(深圳)有限公司 Equipment message control method for playing back, device, message playback equipment and storage medium
CN108121758A (en) * 2017-11-16 2018-06-05 五八有限公司 Methods of exhibiting, device, equipment and the system of details page

Also Published As

Publication number Publication date
CN110618783A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN106961526B (en) Notification message display method and device and electronic equipment
CN110618783B (en) Text broadcasting method, device and medium
CN107908351B (en) Application interface display method and device and storage medium
CN105224349B (en) Application program deletion prompting method and device
EP3113466A1 (en) Method and device for warning
CN107608561B (en) Touch screen control method and device
CN105786507B (en) Display interface switching method and device
CN104902059A (en) Call reminding method and device
CN106354504B (en) Message display method and device
CN105898573B (en) Multimedia file playing method and device
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN105260247A (en) Method and device for controlling terminal application
CN106572268B (en) Information display method and device
CN106331328B (en) Information prompting method and device
CN109862169B (en) Electronic equipment control method, device and storage medium
CN105912204B (en) Method and device for starting application interface
CN107132983B (en) Split-screen window operation method and device
CN108874450B (en) Method and device for waking up voice assistant
CN107295167B (en) Information display method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN106919302B (en) Operation control method and device of mobile terminal
CN106506808B (en) Method and device for prompting communication message
CN105101121A (en) Information transmitting method and device
US20170201479A1 (en) Group message display method, device and medium
CN103945321A (en) Method and device for resource transferring

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