CN112286856B - Control method and electronic device - Google Patents

Control method and electronic device Download PDF

Info

Publication number
CN112286856B
CN112286856B CN202011187939.5A CN202011187939A CN112286856B CN 112286856 B CN112286856 B CN 112286856B CN 202011187939 A CN202011187939 A CN 202011187939A CN 112286856 B CN112286856 B CN 112286856B
Authority
CN
China
Prior art keywords
transmission
target
target operation
control
call
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
CN202011187939.5A
Other languages
Chinese (zh)
Other versions
CN112286856A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011187939.5A priority Critical patent/CN112286856B/en
Publication of CN112286856A publication Critical patent/CN112286856A/en
Application granted granted Critical
Publication of CN112286856B publication Critical patent/CN112286856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/18Handling requests for interconnection or transfer for access to memory bus based on priority control

Abstract

The application discloses a control method and electronic equipment, belongs to the technical field of electronics, and aims to solve the problem that data transmission causes large interference to normal use of a user. Wherein the control method comprises the following steps: in the case that a control device executes a transmission operation through a transmission interface and executes a target operation, acquiring priorities of the transmission operation and the target operation respectively; controlling to suspend execution of the transfer operation in a case where the target operation has a higher priority than the transfer operation; wherein the target operation comprises an operation associated with a communication connection. The control method is applied to the electronic equipment.

Description

Control method and electronic device
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a control method and electronic equipment.
Background
Generally, a transmission interface, such as a Universal Serial Bus (USB) interface, is provided on the electronic device. When the transmission interface is connected with the external equipment, the data transmission between the electronic equipment and the external equipment can be realized.
During the use of the electronic device by the user, the data transmission causes a large interference to the normal use of the user. For example, when the electronic device is connected to an external device and data is being transmitted at a high speed, a communication signal may be interfered, which may result in a reduction in call quality, and the like.
Therefore, in the process of implementing the present application, the inventors found that at least the following problems exist in the prior art: the data transmission causes great interference to the normal use of the user.
Disclosure of Invention
The embodiment of the present application provides a control method, which can solve the problem that data transmission may cause large interference to normal use of a user.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a control method, which is applied to a control device, where the control device includes a transmission interface, and the method includes: under the condition that the control device executes transmission operation and target operation through the transmission interface, the priority of the transmission operation and the priority of the target operation are respectively acquired; controlling to suspend execution of the transfer operation in a case where the target operation has a higher priority than the transfer operation; wherein the target operation comprises an operation associated with a communication connection.
In a second aspect, an embodiment of the present application provides a control apparatus, where the control apparatus includes a transmission interface, and further includes: an obtaining module, configured to obtain priorities of a transmission operation and a target operation when the control device executes the transmission operation and the target operation through the transmission interface, respectively; a first control module for controlling to suspend the execution of the transfer operation if the priority of the target operation is higher than that of the transfer operation; wherein the target operation comprises an operation associated with a communication connection. In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
Thus, in the embodiment of the application, when the transmission interface of the control device is connected with the external device through the data line, the control device can perform transmission operation based on the transmission interface to realize data transmission with the external device. Meanwhile, when the control device is also performing other target operations other than the transfer operation, the priorities of the transfer operation and the target operations are acquired, respectively. Among them, in consideration of a large amount of interference of the transmission operation on the communication signal, the target operation is preferably an operation associated with the communication connection, and is not limited to the call operation or the like. Thus, in the case where the priority of the preset target operation is higher than that of the transfer operation, the execution of the transfer operation is suspended to ensure smooth execution of the target operation. Therefore, based on a scenario that the transmission operation and the target operation are executed simultaneously in the normal use process of the user, the present embodiment can avoid interference caused by data transmission on the target operation associated with the communication connection, thereby reducing interference caused by data transmission on the normal use of the user.
Drawings
FIG. 1 is a flow chart of a control method of an embodiment of the present application;
FIG. 2 is a block diagram of a control device according to an embodiment of the present application;
fig. 3 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Fig. 4 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a control method according to an embodiment of the present application, which is applied to a control device, where the control device includes a transmission interface, and the control method includes:
step S1: in the case where the control device performs the transmission operation through the transmission interface and performs the target operation, the priorities of the transmission operation and the target operation are acquired, respectively.
Optionally, the transmission interface is used for connecting an external device to implement data transmission, including high-speed data transmission.
Illustratively, the transmission interface in this embodiment is a TYPE C interface, and correspondingly, this embodiment may implement a usb3.0 transmission manner based on the TYPE C interface. The speed of the usb3.0 transmission mode based on the TYPE C interface can reach more than 2.5Gbps, and compared with the early usb2.0 protocol transmission mode, the transmission speed is increased by more than 10 times, so that high-speed data transmission is realized, and a large amount of time is saved for users in a data transmission scene.
In the present embodiment, the transfer operation is implemented based on a transfer interface. Therefore, the transfer operation in the present embodiment is a transfer operation in a wired form.
In reference, the implementation scenario of the transmission operation is as follows: the user connects the transmission interface with an external charging device to realize a charging scene of the charging device on the control device of the embodiment.
Wherein the target operation comprises an operation associated with the communication connection.
Since the high-speed data transmission method continuously refreshes the configuration of the terminal (such as the control device in the present embodiment), it follows that the data transmission method causes interference with other functions. In particular, the rate of data transmission directly conflicts with the frequency band of the communication, thereby causing interference with some operations associated with the communication connection when data is transmitted.
For example, the data transmission operation implemented based on usb3.0 has a rate directly conflicting with a frequency band of wireless communication, thereby causing the control apparatus to seriously interfere with wireless communication access of the control apparatus when performing data transmission. The interference amount of data transmission to wireless communication can reach about 20dB in some frequency bands. The interference phenomenon may cause an abnormal interruption of the access of the wireless communication signal, a weak strength of the wireless communication signal, and the like, thereby causing a phenomenon of blocking the access of the incoming call, a reduction in the call quality, and the like.
Referring to this, the target operation includes a call operation that has been connected, such as a phone call operation, a video call operation, an audio call operation, and the like; the target operation also comprises unconnected request operations such as receiving a call request, sending the call request and the like.
Further, based on the different degrees of user importance for the data transmission and communication connection events, the prioritization of events in the control device may be performed in advance to prioritize the different events. When the control device executes different operations, the control device respectively corresponds to corresponding events.
Step S2: in the case where the priority of the target operation is higher than that of the transfer operation, control suspends the execution of the transfer operation.
In this step, based on the priority of the target operation being higher than that of the transfer operation, the execution of the transfer operation may be temporarily stopped until the execution of the target operation is completed, and then the execution of the transfer operation is resumed.
In this way, in the embodiment of the application, when the transmission interface of the control device is connected to the external device through the data line, the control device may perform a transmission operation based on the transmission interface to implement data transmission with the external device. Meanwhile, when the control device is also performing other target operations in addition to the transfer operation, the priorities of the transfer operation and the target operations are acquired, respectively. Among them, in consideration of a large amount of interference of the transmission operation on the communication signal, the target operation is preferably an operation associated with the communication connection, and is not limited to the call operation or the like. Thus, in the case where the priority of the preset target operation is higher than that of the transfer operation, the execution of the transfer operation is suspended to ensure smooth execution of the target operation. Therefore, based on a scenario that the transmission operation and the target operation are executed simultaneously in the normal use process of the user, the present embodiment can avoid interference caused by data transmission on the target operation associated with the communication connection, thereby reducing interference caused by data transmission on the normal use of the user.
In further embodiments, it may also be preset that the priority of the transfer operation is higher than that of the target operation, so that in the case where the transfer operation and the target operation are performed simultaneously, the transfer operation may be performed preferentially to ensure smooth performance of data transfer. And the target operation may be performed after the data transfer is completed.
In further embodiments, in the process of setting the priorities of the transmission operation and the target operation, corresponding usage scenarios may also be set. For example, only in a set target scene, the priority relationship set in the scene may be adopted.
Specifically, in a charging scenario, if the battery capacity of the control device is less than a certain threshold, the charging operation may be preferentially performed; if the battery level of the control device is greater than a threshold, the target operation other than the charging operation may be preferentially performed.
Therefore, different priority relationships are adopted according to different scenes so as to meet the requirements of users in different scenes. For example, in different scenarios, the call requirement, the data transmission requirement, etc. of the user are respectively satisfied.
The present embodiment addresses interference caused by data transmission to user communication, and therefore, the present embodiment proposes a case where a transmission operation and a target operation associated with a communication connection are performed simultaneously, and a detailed description is given. In further embodiments, the detailed description may also be directed to the case where the transmission operation, and operations other than those associated with the communication connection are performed simultaneously.
In further embodiments, when at least two events conflict in a manner, the events are prioritized by importance, with the more important events being processed first and the next more important events being processed later. Correspondingly, in the implementation process, the priorities of at least two events can be respectively obtained, the priorities of the at least two events are arranged from high to low, and the at least two events are processed according to the arrangement sequence.
In the flow of the control method according to another embodiment of the present application, after step S1, the method further includes:
step A1: in the case where the priority of the target operation is equal to the transfer operation, control performs the transfer operation and the target operation in time division.
Alternatively, in the case where the transfer operation and the target operation are simultaneously performed, the transfer operation may be performed while the target operation is suspended for one period; executing the target operation in the next time period, and suspending the execution of the transmission operation; and so on.
Optionally, the set time duration of each period is equal, and the set time duration is extremely short, so as to avoid that the set time duration is too long, which causes the pause time duration of any one operation to be too long, and affects the normal execution of the two operations.
In the embodiment, because the rate of the transmission operation and the communication frequency band of the target operation conflict with each other, the two operations can be alternately executed in different time intervals, and the switching frequency of two adjacent time intervals is higher, so as to ensure that the two operations can be respectively and continuously executed. Therefore, under the condition of ensuring that the transmission operation does not interfere the target operation, the smooth execution of the transmission operation can be ensured, and the normal use of a user is ensured.
In a flow of a control method according to another embodiment of the present application, step A1 includes:
substep B1: and if the target operation adopts a Time Division Duplex (TDD) mode, controlling to execute the target operation and the transmission operation in a Time-sharing way by adopting the TDD mode.
TDD is one of duplex technologies used by mobile communication technologies. In a TDD mode mobile communication system, different time slots using the same frequency carrier are used as bearers of a channel for reception and transmission, and resources in one direction are discontinuous in time, and time resources are allocated in two directions.
Based on the working principle of the TDD mode, the embodiment may adopt the TDD mode, that is, the execution time of the target operation and the transmission operation corresponds to different time slots of the same frequency carrier, so that the target operation and the transmission operation may be executed in time slots, and the purpose of simultaneous execution in macro time is achieved.
Optionally, the user may preset that the priority of the target operation is higher than that of the transmission operation, and when the mode corresponding to the target operation is the TDD mode, the TDD mode is directly adopted to perform two operations; and when the mode corresponding to the target operation is not the TDD mode, preferentially executing the target operation.
In this embodiment, the TDD mode in the existing communication can be utilized to control the transmission operation and the target operation executed simultaneously, so as to implement synchronous execution, and further, no mutual interference is caused, and normal use of the two operations by the user is ensured.
In a control method according to another embodiment of the present application, the target operation includes an operation of transmitting and receiving a call request. Step S1 in the corresponding method comprises:
substep C1: in the case where the control device performs a transmission operation through the transmission interface, an operation of transmitting and receiving a call request is performed.
Optionally, the transceiving the call request includes any one of receiving an incoming call request and transmitting an outgoing call request.
The application scenario is that the control device is in a high-speed data transmission state, and an incoming call request is received, namely, an incoming call is received.
In an application scenario, for example, the control device is in a high speed data transmission state, and an outgoing call request is received, i.e., the user is making a call.
Correspondingly, after step S2, the method further includes:
and step C2: and displaying the call request information corresponding to the call request receiving and sending on the target interface.
In this embodiment, data transmission is immediately stopped until the user hangs up the incoming call or leaves the call.
Optionally, the target interface is an interface for making a call or an interface for displaying a call.
Optionally, the call request information corresponding to the transmission/reception call request includes a phone number, a contact name, a home, and the like.
In this step, call request information corresponding to the transmission and reception of the call request is displayed on the target interface based on the approval of the call request.
In this embodiment, in a data transmission scenario, if an incoming call request is received or an outgoing call request needs to be sent, data transmission may be immediately stopped, and a call request is continuously received or sent, so as to avoid the occurrence of a phenomenon that an incoming call cannot be accessed or an incoming call cannot be dialed due to data transmission, thereby avoiding an unpredictable loss from being caused to a user and reducing interference caused by data transmission to normal use of the user.
In a control method according to another embodiment of the present application, the target operation includes a call operation.
Step S1 in the corresponding method comprises:
substep D1: in the case where the control device performs a call operation, reception of a transmission request for the transmission interface is performed.
The application scenario is that the control device is in a call state, and when a high-speed data transmission request is received, the transmission interface is inserted into an identifiable external device through a data line.
Correspondingly, step S2 comprises:
substep D2: the transmission request is denied.
In this embodiment, the transmission request is denied until the user ends the call, and high speed data transmission is initiated.
In this embodiment, in a scene where a user is currently communicating, if a data transmission request is received, the data transmission request may be rejected, so as to avoid a phenomenon that the data transmission causes a call interruption, thereby avoiding an unpredictable loss from being caused to the user, and reducing interference caused by the data transmission to normal use of the user.
In summary, embodiments of the present application provide a method for sorting events according to priority of importance, prioritizing more important events to process first, and processing next important events to process next important events, so as to solve the problem that high-speed data transmission interferes with wireless communication, thereby ensuring normal call requirements of users, and avoiding adverse experiences such as interruption of user calls. Provides a solution for the subsequent problems of mutual interference.
In the control method provided by the embodiment of the present application, the execution main body may be a control device, or a control module in the control device for executing the control method. In the embodiment of the present application, a control device executing a control method is taken as an example, and a control device of the control method provided in the embodiment of the present application is described.
Fig. 2 shows a block diagram of a control device according to another embodiment of the present application, including:
a transmission interface;
an obtaining module 10, configured to, in a case where the control apparatus performs the transmission operation through the transmission interface and performs the target operation, respectively obtain priorities of the transmission operation and the target operation;
a first control module 20 for controlling to suspend execution of the transfer operation in a case where the priority of the target operation is higher than that of the transfer operation;
wherein the target operation comprises an operation associated with the communication connection.
Thus, in the embodiment of the application, when the transmission interface of the control device is connected with the external device through the data line, the control device can perform transmission operation based on the transmission interface to realize data transmission with the external device. Meanwhile, when the control device is also performing other target operations other than the transfer operation, the priorities of the transfer operation and the target operations are acquired, respectively. Among them, in consideration of a large amount of interference of the transmission operation on the communication signal, the target operation is preferably an operation associated with the communication connection, and is not limited to the call operation or the like. Thus, in the case where the priority of the target operation is set higher than that of the transfer operation in advance, the execution of the transfer operation is suspended to ensure smooth execution of the target operation. Therefore, based on a scenario that the transmission operation and the target operation are executed simultaneously in the normal use process of the user, the present embodiment can avoid interference caused by data transmission on the target operation associated with the communication connection, thereby reducing interference caused by data transmission on the normal use of the user.
Optionally, the apparatus further comprises:
and the second control module is used for controlling the transmission operation and the target operation to be executed in a time-sharing manner under the condition that the priority of the target operation is equal to that of the transmission operation.
Optionally, a second control module comprising:
and the TDD mode subunit is used for controlling to adopt the TDD mode to execute the target operation and the transmission operation in a time-sharing manner if the target operation adopts the TDD mode.
Optionally, the target operation includes an operation of receiving and sending a call request;
acquisition module 10, comprising:
a call request execution unit for executing an operation of transceiving a call request in a case where the control device executes a transmission operation through the transmission interface;
the device still includes:
and the display module is used for displaying the call request information corresponding to the call receiving and sending request on the target interface.
Optionally, the target operation comprises a talk operation;
acquisition module 10, comprising:
a transmission request execution unit configured to execute receiving of a transmission request for the transmission interface in a case where the control device executes a call operation;
a first control module 20 comprising:
a rejecting unit for rejecting the transmission request.
The control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device provided in the embodiment of the present application can implement each process implemented by the method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and executable on the processor 101, where the program or the instruction is executed by the processor 101 to implement each process of any one of the above embodiments of the control method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and the like.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to, in a case that the electronic device 1000 performs a transmission operation through the interface unit 1008 and performs a target operation, respectively obtain priorities of the transmission operation and the target operation; in a case where the target operation has a higher priority than the transfer operation, controlling to suspend execution of the transfer operation; wherein the target operation comprises an operation associated with a communication connection.
As such, in the embodiment of the present application, when the interface unit 1008 is connected to an external device through a data line, a transmission operation may be performed based on the interface unit 1008 to achieve data transmission with the external device. Meanwhile, when other target operations other than the transfer operation are also being performed, the priorities of the transfer operation and the target operation are acquired, respectively. Among them, in consideration of a large amount of interference of the transmission operation on the communication signal, the target operation is preferably an operation associated with the communication connection, and is not limited to the call operation or the like. Thus, in the case where the priority of the preset target operation is higher than that of the transfer operation, the execution of the transfer operation is suspended to ensure smooth execution of the target operation. Therefore, based on a scenario that the transmission operation and the target operation are executed simultaneously in the normal use process of the user, the present embodiment can avoid interference caused by data transmission on the target operation associated with the communication connection, thereby reducing interference caused by data transmission on the normal use of the user.
Optionally, the processor 1010 is further configured to control to execute the transmission operation and the target operation in a time-sharing manner if the priority of the target operation is equal to the transmission operation.
Optionally, the processor 1010 is further configured to control to perform the target operation and the transmission operation in a time-sharing manner in a TDD mode if the target operation is in the TDD mode.
Optionally, the target operation includes an operation of receiving and sending a call request; a processor 1010 further configured to perform an operation of transceiving a call request in a case where the electronic device 1000 performs a transmission operation through the interface unit 1008; a display unit 1006, configured to display call request information corresponding to the call receiving and sending request on a target interface.
Optionally, the target operation comprises a call operation; a processor 1010, further configured to receive a transmission request to the interface unit 1008 in a case where the electronic device 1000 performs a call operation; the transmission request is denied.
In summary, embodiments of the present application provide a method for sorting events according to priority of importance, prioritizing more important events to process first, and processing next important events to process next important events, so as to solve the problem that high-speed data transmission interferes with wireless communication, thereby ensuring normal call requirements of users, and avoiding adverse experiences such as interruption of user calls. Provides a solution for the subsequent problems of mutual interference.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of any of the above control method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of any of the above control method embodiments, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A control method is applied to a control device, the control device comprises a transmission interface, and the method is characterized by comprising the following steps:
under the condition that the control device executes transmission operation and target operation through the transmission interface, the priority of the transmission operation and the priority of the target operation are respectively acquired;
controlling to suspend execution of the transfer operation in a case where the target operation has a higher priority than the transfer operation;
wherein the target operation comprises an operation associated with a communication connection;
the transmission operation comprises a wired transmission operation, and the transmission interface is used for connecting an external device to realize data transmission, including high-speed data transmission;
the operation associated with the communication connection comprises an operation based on wireless communication, and the target operation specifically comprises a connected call operation and a disconnected request operation.
2. The method of claim 1, wherein after said obtaining the priorities of said transfer operation and said target operation, respectively, further comprises:
and controlling to execute the transmission operation and the target operation in a time sharing manner under the condition that the priority of the target operation is equal to that of the transmission operation.
3. The method of claim 2, wherein said controlling time-sharing execution of said transfer operation and said target operation comprises:
and if the target operation adopts a TDD mode, controlling to adopt the TDD mode to execute the target operation and the transmission operation in a time-sharing way.
4. The method of claim 1, wherein the target operation comprises an operation of transceiving a call request;
the case where the control device performs the transmission operation through the transmission interface and performs the target operation includes:
performing an operation of transmitting and receiving a call request in a case where the control apparatus performs a transmission operation through the transmission interface;
after the control suspends the execution of the transmission operation, the method further includes:
and displaying the call request information corresponding to the call receiving and sending request on a target interface.
5. The method of claim 1, wherein the target operation comprises a talk operation;
the case where the control device performs the transmission operation through the transmission interface and performs the target operation includes:
performing receiving a transmission request for the transmission interface in a case where the control apparatus performs a call operation;
the control suspends the execution of the transfer operation, including:
the transmission request is denied.
6. A control device comprising a transmission interface, the device further comprising:
an obtaining module, configured to obtain priorities of a transmission operation and a target operation when the control device executes the transmission operation and the target operation through the transmission interface, respectively;
a first control module, configured to control to suspend execution of the transfer operation if the target operation has a higher priority than the transfer operation;
wherein the target operation comprises an operation associated with a communication connection;
the transmission operation comprises a wired transmission operation, and the transmission interface is used for connecting external equipment to realize data transmission, including high-speed data transmission;
the operation associated with the communication connection comprises an operation based on wireless communication, and the target operation specifically comprises a connected call operation and a disconnected request operation.
7. The apparatus of claim 6, further comprising:
and the second control module is used for controlling the transmission operation and the target operation to be executed in a time-sharing mode under the condition that the priority of the target operation is equal to that of the transmission operation.
8. The apparatus of claim 7, wherein the second control module comprises:
and a TDD mode sub-unit, configured to control to perform the target operation and the transmission operation in a time-sharing manner in the TDD mode if the target operation is in the TDD mode.
9. The apparatus of claim 6, wherein the target operation comprises an operation of transceiving a call request;
the acquisition module includes:
a call request execution unit configured to execute an operation of transceiving a call request in a case where the control apparatus performs a transmission operation through the transmission interface;
the device, still include:
and the display module is used for displaying the call request information corresponding to the call receiving and sending request on a target interface.
10. The apparatus of claim 6, wherein the target operation comprises a talk operation;
the acquisition module includes:
a transmission request execution unit configured to execute receiving of a transmission request for the transmission interface in a case where the control apparatus performs a call operation;
the first control module includes:
a rejecting unit configured to reject the transmission request.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the control method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any one of claims 1-5.
CN202011187939.5A 2020-10-29 2020-10-29 Control method and electronic device Active CN112286856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011187939.5A CN112286856B (en) 2020-10-29 2020-10-29 Control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011187939.5A CN112286856B (en) 2020-10-29 2020-10-29 Control method and electronic device

Publications (2)

Publication Number Publication Date
CN112286856A CN112286856A (en) 2021-01-29
CN112286856B true CN112286856B (en) 2023-03-14

Family

ID=74353623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011187939.5A Active CN112286856B (en) 2020-10-29 2020-10-29 Control method and electronic device

Country Status (1)

Country Link
CN (1) CN112286856B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005071049A (en) * 2003-08-22 2005-03-17 Murata Mach Ltd Data transfer control device
CN106294233A (en) * 2015-06-29 2017-01-04 华为技术有限公司 The transfer control method of a kind of direct memory access and device
CN110086729A (en) * 2019-04-28 2019-08-02 神华铁路货车运输有限责任公司 Transmission method, device, system, computer equipment and the storage medium of data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020097927A1 (en) * 2018-11-16 2020-05-22 深圳市欢太科技有限公司 Call control method and device, computer-readable storage medium and electronic device
CN111083684B (en) * 2019-12-23 2023-10-24 维沃移动通信有限公司 Method for controlling electronic equipment and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005071049A (en) * 2003-08-22 2005-03-17 Murata Mach Ltd Data transfer control device
CN106294233A (en) * 2015-06-29 2017-01-04 华为技术有限公司 The transfer control method of a kind of direct memory access and device
CN110086729A (en) * 2019-04-28 2019-08-02 神华铁路货车运输有限责任公司 Transmission method, device, system, computer equipment and the storage medium of data

Also Published As

Publication number Publication date
CN112286856A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
AU2022204006B2 (en) Method of Monitoring PDCCH, Terminal and Network Device
EP3223151A1 (en) Hot-handover method and device for operating systems, and mobile terminal
CA3114447C (en) Information transmission method and terminal
JP7317949B2 (en) Transmission method and related equipment
JP7008762B2 (en) Data transmission methods, devices and storage media based on mobile networks
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
CN110096375B (en) Method and device for sharing data by application programs and computer readable storage medium
CN110958710B (en) Channel access method, configuration method, terminal and network side equipment
JP2022541498A (en) Resource allocation method, device and storage medium
CN112333772A (en) Communication method, communication device and electronic equipment
CN113438747A (en) Processing method, processing apparatus, and storage medium
CN112272041A (en) Radio frequency circuit and electronic device
CN112286856B (en) Control method and electronic device
CN111918288A (en) Communication method, communication device and electronic equipment
CN113641610A (en) Processor interface circuit, time-sharing multiplexing method of processor interface and electronic equipment
CN114996186B (en) Docking station video output method, device, terminal and computer readable storage medium
CN112886990B (en) Interference elimination method and device and electronic equipment
CN113132263B (en) Kernel processor scheduling method, kernel processor scheduling device and storage medium
CN115835418A (en) Continuous LBT failure processing method and device, terminal and network side equipment
CN112929065A (en) Electronic equipment control method and device and electronic equipment
WO2024099151A1 (en) Measurement gap conflict processing method and apparatus, and terminal and network-side device
EP4297526A1 (en) Information transmission method and apparatus, and communication device
EP4255100A1 (en) Service response method and apparatus, terminal, and storage medium
WO2023051609A1 (en) Downlink control channel monitoring method and apparatus, and communication device
CN113360079A (en) Disk data writing method, terminal and storage medium

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