Nothing Special   »   [go: up one dir, main page]

CN108664273A - A kind of method and apparatus solving multiple softward interview hardware resource conflicts - Google Patents

A kind of method and apparatus solving multiple softward interview hardware resource conflicts Download PDF

Info

Publication number
CN108664273A
CN108664273A CN201810438795.2A CN201810438795A CN108664273A CN 108664273 A CN108664273 A CN 108664273A CN 201810438795 A CN201810438795 A CN 201810438795A CN 108664273 A CN108664273 A CN 108664273A
Authority
CN
China
Prior art keywords
instruction
program
hardware
described instruction
queue
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.)
Pending
Application number
CN201810438795.2A
Other languages
Chinese (zh)
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.)
Goertek Optical Technology Co Ltd
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201810438795.2A priority Critical patent/CN108664273A/en
Publication of CN108664273A publication Critical patent/CN108664273A/en
Pending legal-status Critical Current

Links

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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3854Instruction completion, e.g. retiring, committing or graduating
    • G06F9/3856Reordering of instructions, e.g. using queues or age tags

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of method solving multiple softward interview hardware resource conflicts and a kind of computer equipments.This approach includes the following steps:Program load hardware SDK is isolated;The isolation program creation instruction queue and scanning thread, the scanning thread is for scanning described instruction queue;The isolation program receives the instruction of the corresponding hardware resources of accessible with application software hardware SDK, and described instruction is added in described instruction queue;The instruction that the scanning thread is scanned into is popped up from described instruction queue, and the hardware SDK is called to execute the instruction of pop-up in order.The present invention can effectively solve the problem that collision problem when multiple softward interview hardware resources.

Description

A kind of method and apparatus solving multiple softward interview hardware resource conflicts
Technical field
The present invention relates to automation control areas, and multiple softward interview hardware resources punchings are solved more particularly, to a kind of Prominent method and a kind of computer equipment.
Background technology
In field of industrial automation control, automated software will control, using hardware (such as I O board card), generally require and pass through Software programming calls the SDK (Software Development Kit, software development kit) that hardware vendor provides to realize.So And the SDK that hardware vendor provides is often exclusive formula, i.e., synchronization can only there are one softwares to be used by calling SDK This hardware.For example, need to access hardware resource there are two software, after software A loads SDK, software B also attempts to load SDK will Failure.
Invention content
It is an object of the present invention to provide a kind of new solutions solving multiple softward interview hardware resource conflicts.
According to an aspect of the invention, there is provided a kind of method solving multiple softward interview hardware resource conflicts, packet Include following steps:
Program load hardware SDK is isolated;
The isolation program creation instruction queue and scanning thread, the scanning thread is for scanning described instruction queue;
The isolation program receives the instruction of the corresponding hardware resources of accessible with application software hardware SDK, by described instruction It is added in described instruction queue;
The instruction that the scanning thread is scanned into is popped up from described instruction queue, calls the hardware SDK by suitable Sequence executes the instruction of pop-up.
Optionally, the method is further comprising the steps of:The isolation program creation TCP server-sides, with the application The TCP Client that software creates establishes connection;Alternatively, the isolation program and the application software are communicated by virtual serial port.
Optionally, the scanning thread is according to preset intermittent scanning described instruction queue.
Optionally, described instruction includes writing data command, and write data instruction includes the data for needing to be written;It is described every Write data instruction is added in described instruction queue from program;The scanning thread scans are instructed to write data When, write data instruction is popped up and executed from described instruction queue.
Optionally, described instruction includes reading data command, described to read the position that data command includes the data for needing to read; The reading data command is added in described instruction queue the isolation program;The scanning thread scans refer to the reading data When enabling, the reading data command is popped up and executed from described instruction queue, and after the completion of execution, the number that will be read According to being sent to corresponding application software.
According to another aspect of the present invention, a kind of computer equipment, including memory, processor and storage are provided On a memory and the computer program that can run on a processor, the processor realize following step when executing described program Suddenly:
Load hardware SDK;
Instruction queue and scanning thread are created, the scanning thread is for scanning described instruction queue;
The instruction for receiving the corresponding hardware resources of accessible with application software hardware SDK, the finger is added to by described instruction It enables in queue;
The instruction that the scanning thread is scanned into is popped up from described instruction queue, calls the hardware SDK by suitable Sequence executes the instruction of pop-up.
Optionally, following steps are realized when the processor executes described program:TCP server-sides are created, to be answered with described Connection is established with the TCP Client that software creates.
Optionally, the scanning thread is according to preset intermittent scanning described instruction queue.
Optionally, described instruction includes writing data command, and write data instruction includes the data for needing to be written;The place Reason device realizes following steps when executing described program:Write data instruction is added in described instruction queue;The scanning When thread scans are instructed to write data, write data instruction is popped up and executed from described instruction queue.
Optionally, described instruction includes reading data command, described to read the position that data command includes the data for needing to read; The processor realizes following steps when executing described program:The reading data command is added in described instruction queue;Institute When stating scanning thread scans to the reading data command, the reading data command is popped up and is executed from described instruction queue, And after the completion of execution, the data read are sent to corresponding application software.
According to one embodiment disclosed by the invention, it can effectively solve the problem that conflict when multiple softward interview hardware resources is asked Topic.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Description of the drawings
It is combined in the description and the attached drawing of a part for constitution instruction shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is the schematic block diagram of the method for the multiple softward interview hardware resource conflicts of solution of the embodiment of the present invention.
Fig. 2 is the flow chart of the method for the multiple softward interview hardware resource conflicts of solution of the embodiment of the present invention.
Fig. 3 is that the different software of the embodiment of the present invention calls hardware SDK to execute the stream write data command and read data command Cheng Tu.
Fig. 4 is the application software of the embodiment of the present invention and schematic block diagram that interprogram communication is isolated.
Fig. 5 is the structure chart of the computer equipment of the embodiment of the present invention.
Specific implementation mode
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
<Embodiment 1>
Fig. 1 is the schematic block diagram of the method for the multiple softward interview hardware resource conflicts of solution of the embodiment of the present invention.
Fig. 2 show the flow chart that the embodiment of the present invention solves the method for multiple softward interview hardware resource conflicts.
The method provided in an embodiment of the present invention for solving multiple softward interview hardware resource conflicts, in hardware SDK and application Setting isolation program between software (such as including software A and software B) loads hardware SDK by isolation program, and isolation program can be with It is communicated respectively with software A and software B;Software A and software B to isolation program send access hardware resource instruction, with by every Actual hardware resource is accessed from routine call hardware SDK, is finally reached the skill for solving multiple softward interview hardware resource conflicts The effect of art.
Referring to fig. 1 and fig. 2, the method provided in an embodiment of the present invention for solving multiple softward interview hardware resource conflicts Include the following steps:
Step S1, isolation program load hardware SDK.Hardware SDK is the software development kit that hardware vendor provides, and program is isolated By loading hardware SDK to be initialized to hardware.
Step S2, program creation instruction queue is isolated.
Step S3, isolation program creation scans thread, and the scanning thread is for scanning described instruction queue.Have at one In the example of body, scanning thread is according to preset intermittent scanning described instruction queue.
Step S4, isolation program receives the instruction of the corresponding hardware resources of accessible with application software hardware SDK, by the finger Order is added in described instruction queue.For example, specific:
It step S41, need to be to isolation program hair when software A and software B need to access the corresponding hardware resource of hardware SDK Send the instruction for accessing the corresponding hardware resources of hardware SDK.
Step S42, when program being isolated receiving above-metioned instruction, with described instruction is added in the instruction queue. That is, the instruction in instruction queue is to receive the chronological order that these are instructed according to isolation program to arrange.
Step S5, the instruction that scanning thread is scanned into is popped up from described instruction queue, and the hardware SDK is called to press Sequence executes the instruction of pop-up.For example, specific:
When there is instruction in S51, scanning thread scans to instruction queue, by all instructions scanned from instruction queue Pop-up, instruction queue can become blank instruction queue.
Hardware SDK described in S52, scanning thread dispatching executes the instruction of pop-up in order.
For example, having N number of instruction in instruction queue originally, N is natural number and N >=1.Thread is scanned in scan instruction team This N number of instruction can be scanned when row, this N number of instruction is popped up into (instruction queue becomes blank instruction queue) from instruction queue, And the hardware SDK is called to execute this N number of instruction according to sequence of the instruction in instruction queue.
In the embodiment of the present invention, program is isolated by application software in the setting isolation program between hardware SDK and application software Order be added in instruction queue and hardware SDK called to execute instruction in order, to solve multiple softward interview hardware Collision problem when resource.Isolation program obtains, executes instruction the instruction in queue by scanning thread, does not interfere with isolation Program receives new command from application software simultaneously and new command is added in instruction queue.
In one embodiment, the instruction that the scanning thread is scanned into is popped up from instruction queue, calls hardware SDK executes the instruction of pop-up in order, further includes following manner:It, will when scanning in thread scans to instruction queue with instruction It scans to first instruction and is popped up from instruction queue, and hardware SDK is called to execute the instruction;Then by next instruction from finger It enables and pops up and execute in queue.That is, scanning thread only pops up an instruction every time, after the instruction execution, sweep Retouching thread just can pop up next instruction and be executed from instruction queue.
In one embodiment, shown in Figure 4, application software with program is isolated for example can be accomplished by the following way Communication:Application software creates TCP Client, such as software A creates TCP Client 1, and software B creates TCP Client 2.Journey is isolated TCP server-sides, such as isolation program creation TCP server-sides 1 and TCP server-sides 2 is respectively created for each application software in sequence, Communication connection is established between TCP Client 1 and TCP server-sides 1, to the communication realized software A with program is isolated;TCP client Foundation communicates to connect between holding 2 and TCP server-sides 2, to the communication realized software B with program is isolated;Isolation program can lead to It crosses TCP server-sides and monitors relative application software.In another embodiment, isolation program can only create a TCP server-side, The TCP server-sides are connect with the TCP Client that each application software creates.
In another embodiment, the modes such as virtual serial port, system message can also be passed through by program and application software being isolated It is communicated.
<Embodiment 2>
Fig. 3 is that the different software of the embodiment of the present invention calls hardware SDK to execute the stream write data command and read data command Cheng Tu.Wherein, application software A needs that data are written into hardware resource, and application software B needs read number from hardware resource According to.
Step S1, isolation program load hardware SDK.Hardware SDK is the software development kit that hardware vendor provides, and program is isolated By loading hardware SDK to be initialized to hardware.
Step S2, program creation instruction queue is isolated.
Step S3, isolation program creation scans thread, and the scanning thread is for scanning described instruction queue.Have at one In the example of body, scanning thread is according to preset intermittent scanning described instruction queue.
Step S411, application software A writes data command to isolation program transmission, and isolation program receives application software A and sends Write data command.
After what step S421, isolation program received that application software A sends writes data command, with will this write data command It is added in scan queue.
Step S421, application software B sends to isolation program and reads data command, and isolation program receives application software B and sends Reading data command.Wherein, the position for the data to be read is accompanied in the reading data command.
Step S422, after isolation program receives the reading data command that application software B is sent, with will the reading data command It is added in scan queue.
Software A, which is sent, writes time of the time of data command earlier than software B transmission reading data commands, so far, scan queue In there is this to write data command and the reading data command, and this is write data command and is located at before the reading data command.
Then, scanning thread has carried out single pass to described instruction queue, and data command and the reading are write in scanning to this According to instruction.
The instruction that S51, scanner program are scanned into is popped up from instruction queue, i.e., this is write data command and the reading It is popped up from instruction queue according to instruction.After instruction pop-up, instruction queue becomes the instruction queue of blank.
S521, scanner program call hardware SDK execution application software A's to write data command, and number is written into related hardware According to.Such as:If related hardware is display screen, which shows the related data that software A is sent.
S61, hardware SDK return to the implementing result for writing data command to isolation program, and implementing result has for example, been write Enter ".
S71, scanner program send the implementing result for writing data command to application software A.
S522, scanner program call the reading data command of hardware SDK execution application software B.
S62, hardware SDK return to the implementing result of the reading data command to isolation program, as a result in add the number read According to.
S72, scanner program send the implementing result of the reading data command to application software B.Application software B receives the reading After the implementing result of instruction, the data read are parsed from implementing result.
So far, application software A write data command and the reading data command of application software B has been finished.Due to In instruction queue, this writes the position of data command before the position of the reading data command, therefore program is isolated and first carries out this Data command is write, then executes the reading data command.
In one embodiment, for writing data command, step S61 and step S71 can also be omitted, to accelerate to next The response speed of a instruction.
<Embodiment 3>
On the basis of embodiment 1, the present invention also provides a kind of computer equipments for realizing the method, such as 5 institute of attached drawing Show, which includes processor 3010, memory 3020, interface arrangement 3030, communication device 3040, display dress Set 3050, input unit 3060, loud speaker 3070, microphone 3080, etc..
Processor 3010 is such as can be central processor CPU, Micro-processor MCV.Memory 3020 is for example including ROM The nonvolatile memory etc. of (read-only memory), RAM (random access memory), hard disk.Interface arrangement 3030 is for example Including USB interface, earphone interface etc..Communication device 3040 can for example carry out wireless communication or wire communication.Display device 3050 be, for example, liquid crystal display, touch display screen etc..Input unit 3060 is such as may include touch screen, keyboard.User 3080 input/output voice messaging of loud speaker 3070 and microphone can be passed through.
Memory 3020 for storing computer program, realize aforementioned when being executed by processor 3010 by the computer program The method for solving multiple softward interview hardware resource conflicts.The processor realizes following steps when executing described program:
Load hardware SDK;
Instruction queue and scanning thread are created, the scanning thread is for scanning described instruction queue;
The instruction for receiving the corresponding hardware resources of accessible with application software hardware SDK, the finger is added to by described instruction It enables in queue;
The instruction that the scanning thread is scanned into is popped up from described instruction queue, calls the hardware SDK by suitable Sequence executes the instruction of pop-up.
Optionally, following steps are realized when the processor executes described program:TCP server-sides are created, to be answered with described Connection is established with the TCP Client that software creates.
Optionally, the scanning thread is according to preset intermittent scanning described instruction queue.
Optionally, described instruction includes writing data command, and write data instruction includes the data for needing to be written;The place Reason device realizes following steps when executing described program:Write data instruction is added in described instruction queue;The scanning When thread scans are instructed to write data, write data instruction is popped up and executed from described instruction queue.
Optionally, described instruction includes reading data command, described to read the position that data command includes the data for needing to read; The processor realizes following steps when executing described program:The reading data command is added in described instruction queue;Institute When stating scanning thread scans to the reading data command, the reading data command is popped up and is executed from described instruction queue, And after the completion of execution, the data read are sent to corresponding application software.
It will be appreciated by those skilled in the art that although multiple devices are shown in FIG. 5, the embodiment of the present invention Computer equipment can only relate to partial devices therein, can also cover other devices.Technical staff can be according to the present invention Disclosed conceptual design instruction instructs how control processor carries out operation to belong to techniques well known, therefore herein no longer in detail Thin description.
Program is isolated by being established between application software and hardware SDK in the method and apparatus of the embodiment of the present invention, when more A application software be required for access hardware resource when, isolation program instruction is added in instruction queue, call hardware SDK according to The sequence instructed in instruction queue executes instruction, and avoids the conflict between accessible with application software hardware resource.
Secondly, isolation program is communicated by TCP server-sides with the TCP Client of application software, and communication speed is fast, property It can be good.
Finally, due to be provided with isolation program between application software and hardware SDK, software and hardware is kept apart, hardware is worked as When upgrading or replacement, it is only necessary to which modification isolation program, application software are barely affected.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
It will be appreciated by those skilled in the art that can above-mentioned apparatus be realized by various modes.For example, finger can be passed through Configuration processor is enabled to realize above-mentioned apparatus.For example, instruction can be stored in the ROM, and when starting the device, will instruct It is read from ROM and realizes above-mentioned apparatus in programming device.For example, above-mentioned apparatus can be cured to dedicated devices (such as ASIC in).Above-mentioned apparatus can be divided into mutually independent unit, or they are merged into realization.Above-mentioned apparatus can It is realized with one kind by above-mentioned various embodiments, or can pass through the combination of two or more of above-mentioned various embodiments To realize.For those skilled in the art, these are all of equal value.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium can be can keep and store the instruction used by instruction execution equipment tangible Equipment.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For execute the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages Arbitrarily combine the source code or object code write, programming language include object-oriented programming language-such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer-readable program refers to Order can be executed fully, partly be executed on the user computer, as an independent software package on the user computer Execute, part on the user computer part on the remote computer execute or completely on a remote computer or server It executes.In situations involving remote computers, remote computer can include LAN by the network-of any kind (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize internet Service provider is connected by internet).In some embodiments, believe by using the state of computer-readable program instructions Breath comes personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or programmable logic Array (PLA), the electronic circuit can execute computer-readable program instructions, to realize various aspects of the invention.
It is well known to those skilled in the art to be, with the development of the electronic information technology of such as integrated circuit technique and soft The trend of part Hardware, to specify dividing system soft and hardware boundary has seemed relatively difficult.Because any operation can be with Software is realized, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally can also by software Lai It completes.For a certain machine function using hardware implementations still use software implement scheme, depend on price, speed, can By Non-technical factors such as property, memory capacity, change cycles.Therefore, for the those of ordinary skill of electronic information technical field For, mode more direct and that a technical solution is explicitly described is each operation described in the program.Knowing In the case of operation to be performed, those skilled in the art can directly design based on the considerations of to the Non-technical factor Go out desired product or device.
Although some specific embodiments of the present invention are described in detail by example, the skill of this field Art personnel it should be understood that example above merely to illustrating, the range being not intended to be limiting of the invention.The skill of this field Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above example.This hair Bright range is defined by the following claims.

Claims (10)

1. a kind of method solving multiple softward interview hardware resource conflicts, which is characterized in that include the following steps:
Program load hardware SDK is isolated;
The isolation program creation instruction queue and scanning thread, the scanning thread is for scanning described instruction queue;
The isolation program receives the instruction of the corresponding hardware resources of accessible with application software hardware SDK, and described instruction is added Into described instruction queue;
The instruction that the scanning thread is scanned into is popped up from described instruction queue, and the hardware SDK is called to hold in order The instruction of row pop-up.
2. according to the method described in claim 1, it is characterized in that, the method is further comprising the steps of:The isolation program TCP server-sides are created, connection is established with the TCP Client created with the application software;Alternatively, the isolation program and described Application software is communicated by virtual serial port.
3. according to the method described in claim 1, it is characterized in that, the scanning thread refers to according to described in preset intermittent scanning Enable queue.
4. according to the method described in claim 1, it is characterized in that, described instruction includes writing data command, write data refer to It includes the data for needing to be written to enable;
Write data instruction is added in described instruction queue by the isolation program;
When the scanning thread scans are instructed to write data, write data instruction is popped up simultaneously from described instruction queue It executes.
5. according to the method described in claim 1, it is characterized in that, described instruction includes reading data command, the reading data refer to Order includes the position for the data for needing to read;
The reading data command is added in described instruction queue the isolation program;
When the scanning thread scans are to the reading data command, the reading data command is popped up simultaneously from described instruction queue It executes, and after the completion of execution, the data read is sent to corresponding application software.
6. a kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, which is characterized in that the processor realizes following steps when executing described program:
Load hardware SDK;
Instruction queue and scanning thread are created, the scanning thread is for scanning described instruction queue;
The instruction for receiving the corresponding hardware resources of accessible with application software hardware SDK, described instruction team is added to by described instruction In row;
The instruction that the scanning thread is scanned into is popped up from described instruction queue, and the hardware SDK is called to hold in order The instruction of row pop-up.
7. equipment according to claim 6, which is characterized in that the processor realizes following step when executing described program Suddenly:TCP server-sides are created, connection is established with the TCP Client created with the application software.
8. equipment according to claim 6, which is characterized in that the scanning thread refers to according to described in preset intermittent scanning Enable queue.
9. equipment according to claim 6, which is characterized in that described instruction includes writing data command, and write data refer to It includes the data for needing to be written to enable;
The processor realizes following steps when executing described program:
Write data instruction is added in described instruction queue;
When the scanning thread scans are instructed to write data, write data instruction is popped up simultaneously from described instruction queue It executes.
10. equipment according to claim 6, which is characterized in that described instruction includes reading data command, and the reading data refer to Order includes the position for the data for needing to read;
The processor realizes following steps when executing described program:
The reading data command is added in described instruction queue;
When the scanning thread scans are to the reading data command, the reading data command is popped up simultaneously from described instruction queue It executes, and after the completion of execution, the data read is sent to corresponding application software.
CN201810438795.2A 2018-05-09 2018-05-09 A kind of method and apparatus solving multiple softward interview hardware resource conflicts Pending CN108664273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810438795.2A CN108664273A (en) 2018-05-09 2018-05-09 A kind of method and apparatus solving multiple softward interview hardware resource conflicts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810438795.2A CN108664273A (en) 2018-05-09 2018-05-09 A kind of method and apparatus solving multiple softward interview hardware resource conflicts

Publications (1)

Publication Number Publication Date
CN108664273A true CN108664273A (en) 2018-10-16

Family

ID=63778862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810438795.2A Pending CN108664273A (en) 2018-05-09 2018-05-09 A kind of method and apparatus solving multiple softward interview hardware resource conflicts

Country Status (1)

Country Link
CN (1) CN108664273A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591810A (en) * 2012-01-14 2012-07-18 福建联迪商用设备有限公司 Method for sharing hardware devices of multiple applications
CN102713847A (en) * 2009-12-29 2012-10-03 超威半导体公司 Hypervisor isolation of processor cores
US20150242246A1 (en) * 2014-02-27 2015-08-27 International Business Machines Corporation Adaptive process for data sharing with selection of lock elision and locking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102713847A (en) * 2009-12-29 2012-10-03 超威半导体公司 Hypervisor isolation of processor cores
CN102591810A (en) * 2012-01-14 2012-07-18 福建联迪商用设备有限公司 Method for sharing hardware devices of multiple applications
US20150242246A1 (en) * 2014-02-27 2015-08-27 International Business Machines Corporation Adaptive process for data sharing with selection of lock elision and locking

Similar Documents

Publication Publication Date Title
US11386893B2 (en) Human-computer interaction processing system, method, storage medium, and electronic device
CN106502725B (en) Upgrade method, equipment and the electronic equipment of application program
CN109643252B (en) Middleware interface and middleware interface generator
CN107451162A (en) Network resource accession equipment, mixing apparatus and method
CN111427576B (en) Method, device, storage medium and terminal for configuring application program interface
CN110955499B (en) Processor core configuration method, device, terminal and storage medium
CN108632533A (en) A kind of control method of camera, mobile terminal and computer readable storage medium
CN110413347A (en) The processing method of advertisement, device, storage medium and terminal in application program
CN105450821B (en) Phone call method and device
EP4106293A2 (en) Network configuring method and apparatus for cloud mobile phone, device and storage medium
CN112395568A (en) Interface authority configuration method, device, equipment and storage medium
CN114490126A (en) Page processing method and device, electronic equipment and storage medium
CN105577828A (en) Remote redirection method and device
CN113778593A (en) Cloud desktop control method and device, electronic equipment, storage medium and program product
CN108664273A (en) A kind of method and apparatus solving multiple softward interview hardware resource conflicts
US20170235943A1 (en) Application Access Control Method and Apparatus
CN117632746A (en) Pile inserting processing method and device, storage medium and electronic equipment
CN113407259B (en) Scene loading method, device, equipment and storage medium
CN109933444A (en) A kind of instant communication method between applying of lodging
CN103914289A (en) Desktop application access method and device
CN114840277A (en) Data synchronization method, device, equipment and medium
CN110262841A (en) The method and apparatus that a kind of pair of bytecode is enhanced
CN108289056A (en) Share the method, apparatus and computing device of dynamic chart
CN110286956A (en) Operation method, device and the electronic equipment of plug-in unit
CN112506592A (en) Method, device, equipment and storage medium for determining page loading duration

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
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building)

Applicant after: GoerTek Optical Technology Co.,Ltd.

Address before: 261031 Dongfang Road, Weifang high tech Development Zone, Shandong, China, No. 268

Applicant before: GOERTEK Inc.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20181016

RJ01 Rejection of invention patent application after publication