CN108984319B - Method, device, computer equipment and storage medium for solving operation instruction conflict - Google Patents

Method, device, computer equipment and storage medium for solving operation instruction conflict Download PDF

Info

Publication number
CN108984319B
CN108984319B CN201810660475.1A CN201810660475A CN108984319B CN 108984319 B CN108984319 B CN 108984319B CN 201810660475 A CN201810660475 A CN 201810660475A CN 108984319 B CN108984319 B CN 108984319B
Authority
CN
China
Prior art keywords
operation instruction
application program
responding
broadcast data
white list
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
CN201810660475.1A
Other languages
Chinese (zh)
Other versions
CN108984319A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Yijia Intelligent Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Yijia Intelligent Electronic Technology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Yijia Intelligent Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810660475.1A priority Critical patent/CN108984319B/en
Publication of CN108984319A publication Critical patent/CN108984319A/en
Application granted granted Critical
Publication of CN108984319B publication Critical patent/CN108984319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Abstract

The present application relates to a method, system, computer device and storage medium for resolving operational instruction conflicts. The method comprises the following steps: receiving an operation instruction and broadcast data, wherein the broadcast data correspond to the operation instruction and are used for determining an application program responding to the operation instruction, determining the application program responding to the operation instruction according to a preset white list database and the broadcast data, the white list database stores identification marks of the application program, and transmitting the operation instruction to the application program responding to the operation instruction. By adopting the method, after the operation instruction is received, the application program responding to the operation instruction is determined through the identity identification identifier of the application program stored in the preset white list database and the received broadcast data corresponding to the operation instruction, and the received operation instruction is transmitted to the application program responding to the operation instruction, so that the condition that a plurality of application programs respond to the operation instruction at the same time and the information reading fails is avoided.

Description

Method, device, computer equipment and storage medium for solving operation instruction conflict
Technical Field
The present application relates to the field of intelligent electronic device technologies, and in particular, to a method and an apparatus for resolving an operation instruction conflict, a computer device, and a storage medium.
Background
With the development of the intelligent electronic device technology, an intelligent electronic device capable of working according to an operation instruction input by an external device appears, and the intelligent electronic device executes a corresponding operation in an application program of the intelligent electronic device by recognizing the operation instruction input by the external device.
In the conventional technology, when an operation instruction is input, a plurality of corresponding application programs respond simultaneously, and operation is affected. For example, when an operation instruction ENTER is sent to the intelligent electronic device by using a remote controller, apps such as an input method, a code scanning App (Application), a player and the like installed in the intelligent electronic device can all respond to an ENTER key, and when the code scanning App is used for scanning a bar code, a bar code suffix end symbol ENTER sent by a code scanning gun is intercepted by the input method App, so that the code scanning information loses an end symbol, and further the bar code information reading fails.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for resolving an operation instruction conflict, which can resolve the operation instruction conflict.
A method of resolving operational instruction conflicts, comprising:
receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
determining an application program responding to an operation instruction according to a preset white list database and broadcast data, wherein the white list database stores an identification identifier of the application program;
and transmitting the operation instruction to the application program responding to the operation instruction.
In one embodiment, determining that the application responding to the operation instruction is preceded by determining the application responding to the operation instruction according to a preset white list database and broadcast data comprises:
acquiring an application program which needs to be compatible with an operation instruction;
and creating a white list database according to the application program compatible with the operation instruction.
In one embodiment, determining the application program responding to the operation instruction according to the preset white list database and the broadcast data comprises:
acquiring an identity identification of a currently running application program;
when the identity identification mark of the currently running application program exists in the white list database, determining the currently running application program as the application program responding to the operation instruction;
and when the identification mark of the currently running application program does not exist in the white list database, determining the application program responding to the operation instruction according to the broadcast data.
In one embodiment, determining the application program responding to the operation instruction according to the broadcast data includes:
detecting whether broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program;
and when the broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program, determining that the non-currently-running application program is an application program responding to the operation instruction.
In one embodiment, the identification is the package name of the currently running application.
In one embodiment, the transmitting the operation instruction to the application program responding to the operation instruction comprises:
detecting whether the operation instruction conflicts with a default operation instruction of an application program responding to the operation instruction;
when the operation instruction conflicts with the default operation instruction, converting the operation instruction, and transmitting the converted operation instruction to an application program responding to the operation instruction;
and when the operation instruction does not conflict with the default operation instruction, directly transmitting the operation instruction to the application program responding to the operation instruction.
In one embodiment, the operation instruction comprises:
the name of the operation instruction is modified.
An apparatus for resolving operational instruction conflicts, comprising:
the receiving module is used for receiving the operation instruction and the broadcast data, wherein the broadcast data correspond to the operation instruction and are used for determining an application program responding to the operation instruction;
the processing module is used for determining an application program responding to the operation instruction according to a preset white list database and the broadcast data, and the white list database stores the identification mark of the application program;
and the transmission module is used for transmitting the operation instruction to the application program responding to the operation instruction.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
determining an application program responding to an operation instruction according to a preset white list database and broadcast data, wherein the white list database stores an identification identifier of the application program;
and transmitting the operation instruction to the application program responding to the operation instruction.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
determining an application program responding to an operation instruction according to a preset white list database and broadcast data, wherein the white list database stores an identification identifier of the application program;
and transmitting the operation instruction to the application program responding to the operation instruction.
After the operation instruction is received, the application program responding to the operation instruction is determined through the identification of the application program stored in the preset white list database and the received broadcast data corresponding to the operation instruction, and the received operation instruction is transmitted to the application program responding to the operation instruction, so that the condition that a plurality of application programs respond to the operation instruction at the same time and the information reading fails is avoided.
Drawings
FIG. 1 is a flow diagram illustrating a method for resolving operational instruction conflicts in one embodiment;
FIG. 2 is a flowchart illustrating a method for resolving conflicts in operational instructions according to another embodiment;
FIG. 3 is a flowchart illustrating a method for resolving conflicts in operational instructions according to another embodiment;
FIG. 4 is a block diagram of an apparatus for resolving operational instruction conflicts in one embodiment;
FIG. 5 is a block diagram showing the structure of an apparatus for resolving an operation instruction conflict in another embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a method for resolving an operation instruction conflict, comprising the steps of:
s102: and receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction.
The operation instruction refers to an instruction and a command for indicating the system to work, and the system performs corresponding operation according to the received operation instruction. The broadcast data refers to data information closely related to an application program, and if the application program registers a broadcast receiver corresponding to the broadcast data, specific broadcast data can be received through the broadcast receiver. The system receives an operation instruction and broadcast data at first, the broadcast data corresponds to the operation instruction, an application program in the system can respond to the corresponding operation instruction according to the broadcast data, but the response has certain time delay, and the operation instruction can be a key value and the like.
And S104, determining an application program responding to the operation instruction according to a preset white list database and the broadcast data, wherein the white list database stores the identification of the application program.
The white list database refers to a database storing identification marks of application programs compatible with key values. The application program responding to the operation instruction refers to the application program responding to the received operation instruction, which is determined according to the preset white list database and the broadcast data. The system determines the application program responding to the operation instruction according to the identification of the application program and the broadcast data stored in the preset white list database, and when the currently running application program exists in the white list database or a broadcast receiver corresponding to the broadcast data exists in the non-currently running application program, the system can be determined as the application program responding to the operation instruction.
S106, transmitting the operation instruction to the application program responding to the operation instruction.
Specifically, after the system determines the application program responding to the operation instruction according to the preset white list database and the broadcast data, the operation instruction is transmitted to the application program responding to the operation instruction.
According to the method for solving the conflict of the operation instructions, after the operation instructions are received, the application programs responding to the operation instructions are determined through the identity identification marks of the application programs stored in the preset white list database and the received broadcast data corresponding to the operation instructions, and the received operation instructions are transmitted to the application programs responding to the operation instructions, so that the situation that a plurality of application programs respond to the operation instructions at the same time and information reading fails is avoided.
In one embodiment, as shown in fig. 2, S104 previously comprises:
s201: and acquiring the application program compatible with the operation instruction.
The application program that needs to be compatible with the operation instruction refers to an application program that may fail to operate due to operation instruction conflict during the operation process. Taking a key value in an operation instruction and an APP in an application program as examples, when two APPs can both respond to the same key value, if the working APP needs to respond to the key value, there may be interference that another APP can also respond to the key value, when another APP responds to the key value, the working APP may have a condition of operation failure, and at this time, the working APP needs to be taken as an application program compatible with the operation instruction. And acquiring the application programs compatible with the operation instructions through experiments, recording the information of the application programs when the application programs with conflicting operation instructions are found in the experiments, and forming an information base of the application programs through a large amount of test data.
S202: and creating a white list database according to the application program compatible with the operation instruction.
Specifically, when the system uses one of the applications that requires the operating instructions to be compatible, it is added to the white list database.
In one embodiment, as shown in fig. 2, S104 includes:
s204: and acquiring the identity identification of the currently running application program.
The identification mark refers to a unique mark capable of identifying the application program. When the system receives the operation instruction and the broadcast data, firstly, the identity identification mark of the currently running application program is obtained, whether the currently running application program belongs to the white list database is judged according to the identity identification mark of the currently running application program, and whether the currently running application program is the application program responding to the operation instruction is further judged.
S206: and when the identification mark of the currently running application program exists in the white list database, determining the currently running application program as the application program responding to the operation instruction.
Specifically, the identification identifier of the currently running application program is matched with the identification identifier stored in the white list database, and when the matching is successful, that is, the identification identifier of the currently running application program exists in the white list database, the currently running application program is determined to be the application program responding to the operation instruction.
S208: and when the identification mark of the currently running application program does not exist in the white list database, determining the application program responding to the operation instruction according to the broadcast data.
Specifically, when the identification identifier of the currently running application program does not exist in the white list database, it may be determined that the currently running application program is not an application program responding to the operation instruction, and then the application program responding to the operation instruction is determined according to the broadcast data.
In one embodiment, as shown in fig. 3, S208 includes:
s302: and detecting whether broadcast check data corresponding to the broadcast data exists in the non-currently running application program.
The broadcast check data refers to data corresponding to broadcast data, the broadcast check data exists in the broadcast receiver, and only an application program having the broadcast check data can receive the broadcast data corresponding thereto. And detecting whether broadcast check data corresponding to the broadcast data exists in the application program which is not currently running, namely detecting whether a broadcast receiver corresponding to the broadcast data exists in the application program which is not currently running.
S304: and when the broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program, determining that the non-currently-running application program is an application program responding to the operation instruction.
Specifically, when there is a broadcast receiver corresponding to broadcast data in a non-currently running application, it may be determined that there is broadcast verification data corresponding to the broadcast data, and at this time, the application may receive broadcast data sent by an external device, and respond to an operation instruction simultaneously sent according to the broadcast data, that is, may be determined as an application responding to the operation instruction. For example, the key value transmitted by the external device is F11, and the broadcast data transmitted at the same time is ACTION _ F11 (function). There are A, B, C3 apps that can all receive the key value F11, but only a registered with the broadcast receiver of ACTION _ F11, when only a can respond to the key value F11.
In one embodiment, the identification is the package name of the currently running application.
Specifically, the identification identifier of the application program may be a package name of the application program, and each application program may be distinguished according to the package name. In the android system, an App process currently running can be acquired through getreporting process (), and then a package name of the application is acquired by using getPackage (), so that whether the package name of the application program exists in a white list database or not is judged.
In one embodiment, as shown in fig. 2, S106 includes:
s210: it is detected whether the operation instruction conflicts with a default operation instruction of an application program responding to the operation instruction.
The default operation instruction refers to an operation instruction having a specific purpose in an application program, that is, when the operation instruction is received, the system executes a specific common operation each time. After determining the application program responding to the operation instruction, the system detects whether the received operation instruction conflicts with the default operation instruction of the application program responding to the operation instruction, and when the conflict exists, the system modifies the received operation instruction and transmits the modified operation instruction.
S212: and when the operation instruction conflicts with the default operation instruction, converting the operation instruction, and transmitting the converted operation instruction to an application program responding to the operation instruction.
Specifically, when the system detects that the received operation instruction conflicts with a default operation instruction in an application program responding to the operation instruction, the system converts the operation instruction and transmits the converted operation instruction to the application program responding to the operation instruction. The converted operation instruction may be similar to, but not identical to, the default operation instruction.
S214: and when the operation instruction does not conflict with the default operation instruction, directly transmitting the operation instruction to the application program responding to the operation instruction.
In one embodiment, the operation instruction comprises:
the name of the operation instruction is modified. For example, after the code scanning gun scans data, the code scanning gun sends an ENTER key value, which may conflict with other functions in a code scanning analysis program in the system, and then the ENTER key value sent by the code scanning gun may be converted into an ENTER _ CENTER key value and then sent to the code scanning App for analysis.
In one embodiment, the present solution is illustrated by a specific example.
Taking android platform intelligent electronic equipment as an example (intelligent equipment for short in the following description), a remote controller is used for sending a key value ENTER to the intelligent equipment, at the moment, Apps such as an input method, a code scanning App and a player installed in the intelligent equipment can all respond to the ENTER key, and when the code scanning App is used for scanning a bar code, a bar code suffix end symbol ENTER sent by a code scanning gun is intercepted by the input method App, so that code scanning information is lost, and further bar code information reading is failed. After the method is used, the package name of the code scanning App is added into a white list, and when the system detects that the running App is the code scanning App, the received ENTER key value is preferentially transmitted to the code scanning App, so that the phenomenon of key value conflict caused by interception by an input method App is avoided.
It should be understood that although the various steps in the flow charts of fig. 1-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided an apparatus for resolving an operation instruction conflict, including: a receiving module 200, a processing module 400 and a transmitting module 600, wherein:
a receiving module 200, configured to receive an operation instruction and broadcast data, where the broadcast data corresponds to the operation instruction and is used to determine an application program responding to the operation instruction;
the processing module 400 is configured to determine an application program responding to the operation instruction according to a preset white list database and broadcast data, where the white list database stores an identification identifier of the application program;
the transmission module 600 is configured to transmit the operation instruction to the application program responding to the operation instruction.
In one embodiment, as shown in fig. 5, the apparatus for resolving an operation instruction conflict further includes:
the first obtaining module 120 is configured to obtain an application program that needs to be compatible with the operation instruction.
The creating module 140 is configured to create a white list database according to the application program compatible with the operation instruction.
In one embodiment, as shown in fig. 5, the processing module 400 includes:
the second obtaining module 420 is configured to obtain the identification of the currently running application.
The first determining module 440 is configured to determine that the currently running application is an application responding to the operation instruction when the identification identifier of the currently running application exists in the white list database.
The second determining module 460 is configured to determine, according to the broadcast data, an application program that responds to the operation instruction when the identification identifier of the currently running application program does not exist in the white list database.
In one embodiment, as shown in fig. 5, the second determining module 460 includes:
the first detecting module 462 is configured to detect whether broadcast check data corresponding to the broadcast data exists in the non-currently running application.
A third determining module 464, configured to determine that the non-currently-running application is an application responding to the operation instruction when broadcast verification data corresponding to the broadcast data exists in the non-currently-running application.
In one embodiment, the identification is the package name of the currently running application.
In one embodiment, as shown in fig. 5, the transmission module 600 includes:
the second detecting module 620 is configured to detect whether the operation instruction conflicts with a default operation instruction of the application program responding to the operation instruction.
The first transmitting module 640 is configured to, when the operation instruction conflicts with the default operation instruction, convert the operation instruction and transmit the converted operation instruction to the application program responding to the operation instruction.
The second transmitting module 660 is configured to directly transmit the operation instruction to the application program responding to the operation instruction when the operation instruction does not conflict with the default operation instruction.
In one embodiment, the operation instruction comprises:
the name of the operation instruction is modified.
For specific limitations of the means for resolving operating instruction conflicts, reference may be made to the above limitations of the method for resolving operating instruction conflicts, which are not described herein again. The modules in the device for resolving the operating instruction conflict can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of resolving operational instruction conflicts. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
determining an application program responding to an operation instruction according to a preset white list database and broadcast data, wherein the white list database stores an identification identifier of the application program;
and transmitting the operation instruction to the application program responding to the operation instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an application program which needs to be compatible with an operation instruction;
and creating a white list database according to the application program compatible with the operation instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an identity identification of a currently running application program;
when the identity identification mark of the currently running application program exists in the white list database, determining the currently running application program as the application program responding to the operation instruction;
and when the identification mark of the currently running application program does not exist in the white list database, determining the application program responding to the operation instruction according to the broadcast data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program;
and when the broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program, determining that the non-currently-running application program is an application program responding to the operation instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether the operation instruction conflicts with a default operation instruction of an application program responding to the operation instruction;
when the operation instruction conflicts with the default operation instruction, converting the operation instruction, and transmitting the converted operation instruction to an application program responding to the operation instruction;
and when the operation instruction does not conflict with the default operation instruction, directly transmitting the operation instruction to the application program responding to the operation instruction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
determining an application program responding to an operation instruction according to a preset white list database and broadcast data, wherein the white list database stores an identification identifier of the application program;
and transmitting the operation instruction to the application program responding to the operation instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an application program which needs to be compatible with an operation instruction;
and creating a white list database according to the application program compatible with the operation instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an identity identification of a currently running application program;
when the identity identification mark of the currently running application program exists in the white list database, determining the currently running application program as the application program responding to the operation instruction;
and when the identification mark of the currently running application program does not exist in the white list database, determining the application program responding to the operation instruction according to the broadcast data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program;
and when the broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program, determining that the non-currently-running application program is an application program responding to the operation instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether the operation instruction conflicts with a default operation instruction of an application program responding to the operation instruction;
when the operation instruction conflicts with the default operation instruction, converting the operation instruction, and transmitting the converted operation instruction to an application program responding to the operation instruction;
and when the operation instruction does not conflict with the default operation instruction, directly transmitting the operation instruction to the application program responding to the operation instruction.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of resolving operational instruction conflicts, the method comprising:
receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
determining the application program responding to the operation instruction according to a preset white list database and the broadcast data, wherein the white list database stores the identification of the application program, the white list database is a database storing the identification of the application program compatible with the key value, and the application program responding to the operation instruction is a currently running application program existing in the white list database or a non-currently running application program of a broadcast receiver corresponding to the broadcast data;
transmitting the operation instruction to the application program responding to the operation instruction;
the determining, according to the preset white list database and the broadcast data, an application program that responds to an operation instruction includes:
acquiring an identity identification of a currently running application program;
when the identification mark of the currently running application program exists in the white list database, determining that the currently running application program is the application program responding to the operation instruction;
when the identification mark of the currently running application program does not exist in the white list database, determining the application program responding to the operation instruction according to the broadcast data;
the determining the application program responding to the operation instruction according to the broadcast data comprises:
detecting whether broadcast verification data corresponding to the broadcast data exists in a non-currently running application program;
and when the broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program, determining that the non-currently-running application program is the application program responding to the operation instruction.
2. The method of claim 1, wherein determining an application program responding to an operation instruction according to a preset white list database and the broadcast data comprises:
acquiring an application program which needs to be compatible with an operation instruction;
and creating the white list database according to the application program compatible with the operation instruction.
3. The method of claim 1, wherein the identification is a package name of the currently running application.
4. The method of claim 1, wherein the transmitting the operation instruction to the application program responsive to the operation instruction comprises:
detecting whether the operation instruction conflicts with a default operation instruction of the application program responding to the operation instruction;
when the operation instruction conflicts with the default operation instruction, converting the operation instruction, and transmitting the converted operation instruction to the application program responding to the operation instruction;
and when the operation instruction does not conflict with the default operation instruction, directly transmitting the operation instruction to the application program responding to the operation instruction.
5. The method of claim 4, wherein the converting the operation instruction comprises:
and modifying the name of the operation instruction.
6. An apparatus for resolving operational instruction conflicts, the apparatus comprising:
the receiving module is used for receiving an operation instruction and broadcast data, wherein the broadcast data corresponds to the operation instruction and is used for determining an application program responding to the operation instruction;
the processing module is used for determining an application program responding to an operation instruction according to a preset white list database and the broadcast data, wherein the white list database stores an identification identifier of the application program, the white list database refers to a database which stores the identification identifier of the application program compatible with a key value, and the application program responding to the operation instruction is a currently running application program existing in the white list database or a non-currently running application program of a broadcast receiver corresponding to the broadcast data;
the transmission module is used for transmitting the operation instruction to the application program responding to the operation instruction;
the processing module comprises:
the second acquisition module is used for acquiring the identity identification of the currently running application program;
the first judgment module is used for determining the currently running application program as the application program responding to the operation instruction when the identity identification mark of the currently running application program exists in the white list database;
the second judgment module is used for determining the application program responding to the operation instruction according to the broadcast data when the identity identification mark of the currently running application program does not exist in the white list database;
the second judging module includes:
the first detection module is used for detecting whether broadcast check data corresponding to the broadcast data exists in the non-currently running application program;
and the third judging module is used for determining the non-currently-running application program as the application program responding to the operation instruction when the broadcast verification data corresponding to the broadcast data exists in the non-currently-running application program.
7. The apparatus of claim 6, further comprising:
the first acquisition module is used for acquiring an application program compatible with an operation instruction;
and the creating module is used for creating a white list database according to the application program compatible with the operation instruction.
8. The apparatus of claim 6, wherein the transfer module comprises:
the second detection module is used for detecting whether the operation instruction conflicts with a default operation instruction of the application program responding to the operation instruction;
the first transmission module is used for converting the operation instruction when the operation instruction conflicts with the default operation instruction and transmitting the converted operation instruction to the application program responding to the operation instruction;
and the second transmission module is used for directly transmitting the operation instruction to the application program responding to the operation instruction when the operation instruction does not conflict with the default operation instruction.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201810660475.1A 2018-06-25 2018-06-25 Method, device, computer equipment and storage medium for solving operation instruction conflict Active CN108984319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810660475.1A CN108984319B (en) 2018-06-25 2018-06-25 Method, device, computer equipment and storage medium for solving operation instruction conflict

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810660475.1A CN108984319B (en) 2018-06-25 2018-06-25 Method, device, computer equipment and storage medium for solving operation instruction conflict

Publications (2)

Publication Number Publication Date
CN108984319A CN108984319A (en) 2018-12-11
CN108984319B true CN108984319B (en) 2021-10-15

Family

ID=64538699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810660475.1A Active CN108984319B (en) 2018-06-25 2018-06-25 Method, device, computer equipment and storage medium for solving operation instruction conflict

Country Status (1)

Country Link
CN (1) CN108984319B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045750B (en) * 2019-12-19 2023-07-07 飞天诚信科技股份有限公司 Method for automatically matching application programs on multi-application device and electronic device
CN111857825A (en) 2020-07-20 2020-10-30 北京百度网讯科技有限公司 Instruction execution method and device, electronic equipment and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821966A (en) * 2005-02-14 2006-08-23 三星电机株式会社 Method and system of managing conflicts between applications using semantics of abstract services for group context management
CN101826062A (en) * 2008-12-02 2010-09-08 凹凸电子(武汉)有限公司 Computer executing method and electric system
CN106201740A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Broadcast message management method, device and equipment
CN106598613A (en) * 2016-12-20 2017-04-26 珠海市魅族科技有限公司 Control method and device for mobile terminal
CN106851358A (en) * 2017-03-10 2017-06-13 北京百变悟空科技有限公司 A kind of TV applications start control method and system
CN107708194A (en) * 2017-11-10 2018-02-16 珠海市魅族科技有限公司 A kind of message filtering method and device, terminal and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821966A (en) * 2005-02-14 2006-08-23 三星电机株式会社 Method and system of managing conflicts between applications using semantics of abstract services for group context management
CN101826062A (en) * 2008-12-02 2010-09-08 凹凸电子(武汉)有限公司 Computer executing method and electric system
CN106201740A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Broadcast message management method, device and equipment
CN106598613A (en) * 2016-12-20 2017-04-26 珠海市魅族科技有限公司 Control method and device for mobile terminal
CN106851358A (en) * 2017-03-10 2017-06-13 北京百变悟空科技有限公司 A kind of TV applications start control method and system
CN107708194A (en) * 2017-11-10 2018-02-16 珠海市魅族科技有限公司 A kind of message filtering method and device, terminal and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN108984319A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
US10642985B2 (en) Method and device for vulnerability scanning
CN106970810B (en) Firmware burning method and system
CN109766124B (en) Service development method, device, computer equipment and storage medium
CN108984319B (en) Method, device, computer equipment and storage medium for solving operation instruction conflict
CN112383441A (en) Data processing method based on block chain, database uplink system and node equipment
CN110837956A (en) Underground cable inspection task distribution method and device
CN111115398B (en) Debugging method and device of elevator, debugging terminal and storage medium
CN111353143A (en) Sensitive authority detection method and device and storage medium
CN111277476B (en) Gateway controller function verification method, gateway controller function verification device, computer equipment and storage medium
CN111935104A (en) Internet of things equipment illegal access detection method and device and computer equipment
CN111224939A (en) Task request intercepting method and device, computer equipment and storage medium
CN112989740B (en) Simulation method and device, computer equipment and storage medium
CN110808950A (en) Message processing method and device, computer equipment and storage medium
CN111328068B (en) Card writing method and device, computer equipment and storage medium
CN106686627B (en) WiFi/hotspot starting method and device
CN112653668A (en) Data interaction method and device, computer equipment and storage medium
CN110516172B (en) Resource calling method and device, computer equipment and storage medium
CN112422328A (en) Log obtaining method and device, computer equipment and storage medium
CN108595274B (en) Program synchronization control method, device, system, computer device and storage medium
CN111381786B (en) Text printing method and device, computer equipment and storage medium
CN113205485A (en) Elevator fault self-diagnosis image display method, device, computer and storage medium
CN111398701B (en) Equipment test method, device, computer equipment and storage medium
CN113938412A (en) Protocol stack testing method and device, testing system and computer readable storage medium
CN110716854A (en) Code performance testing method and device, computer equipment 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