CN105446732A - Operation realization method, device and system of 64-bit program - Google Patents
Operation realization method, device and system of 64-bit program Download PDFInfo
- Publication number
- CN105446732A CN105446732A CN201510241171.8A CN201510241171A CN105446732A CN 105446732 A CN105446732 A CN 105446732A CN 201510241171 A CN201510241171 A CN 201510241171A CN 105446732 A CN105446732 A CN 105446732A
- Authority
- CN
- China
- Prior art keywords
- application software
- bottom application
- programs
- instruction
- software module
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an operation realization method, device and system of a 64-bit program belonging to the computer software development field. The method comprises: step S101: when a bottom layer application program module is needed to be invoked, sending a command to a 32-bit middle plug-in through the cross-process communication technology, sending the command to the bottom layer application program module by the 32-bit middle plug-in through a direct invoking mode, wherein the command comprises data and/or an order; step S102: receiving the result which is generated by the bottom layer application program module according to the command and is retuned by the 32-bit middle plug-in through the cross-process communication technology. Compared with the prior art, the operation realization method of the 64-bit program enables the 64-bit program to invoke the 32-bit bottom layer application program module, reduces the development and maintenance workload of the 64-bit program and improves the working efficiency.
Description
Technical field
The present invention relates to develop computer software field, refer to a kind of operation implementation method of 64 programs, device and system especially.
Background technology
The Windows operating system that current people's computer uses, existing 32 also have 64 systems.For 64 systems, although provide a kind of hardware compatibility pattern that a part 32 programs can be allowed normally to run in 64 systems, 64 programs can not call 32 bottom application software modules, as 32 DLL (dynamic base) etc.
Under such technical background, the software of Windows software developer in order to allow all users can both use self, needs to support 32 and 64 two kinds of operating systems simultaneously, and common way is exploitation 32 and 64 two cover application software and module.Be made with three obvious defects like this:
1) the bottom application software module of said function, as DLL etc., needs exploitation two parts, and a 32, a 64, development amount is double;
2) to the amendment of software, also will revise two parts, the workload of software maintenance is also double simultaneously;
3) by existing a set of 32 softwares, moving to 64 systems for wanting, needing, to a large amount of bottom application software module, as DLL etc., to do secondary development, waste time and energy.
Summary of the invention
The invention provides a kind of operation implementation method of 64 programs, device and system, the method can make 64 routine calls, 32 bottom application software modules, and reduces the exploitation of 64 programs and the workload of maintenance, increases work efficiency.
For solving the problems of the technologies described above, the invention provides technical scheme as follows:
An operation implementation method for 64 programs, comprising:
Step S101: when needs call bottom application software module, instruction is sent to 32 middle plug-in units by Inter-Process Communication technology, make the mode of plug-in unit by directly calling in the middle of described 32, send described instruction to described bottom application software module, wherein said instruction comprises data and/or order;
Step S102: the result that the described bottom application software module returned by plug-in units in the middle of described 32 of Inter-Process Communication technology reception is produced according to described instruction.
An operation implementation method for 64 programs, comprising:
Step S201: receive by Inter-Process Communication technology the instruction that 64 programs need to send when calling bottom application software module, wherein said instruction comprises data and/or order;
Step S202: send described instruction to described bottom application software module by the mode directly called;
Step S203: receive the result that described bottom application software module produces according to described instruction;
Step S204: described result is returned 64 programs by Inter-Process Communication technology.
An operation implement device for 64 programs, comprising:
First sending module, during for calling bottom application software module when needs, instruction is sent to 32 middle plug-in units by Inter-Process Communication technology, make the mode of plug-in unit by directly calling in the middle of described 32, send described instruction to described bottom application software module, wherein said instruction comprises data and/or order;
First receiver module, the result that the described bottom application software module returned for being received described 32 middle plug-in units by Inter-Process Communication technology is produced according to described instruction.
Plug-in unit in the middle of a kind of 32, comprising:
Second receiver module, for being received the instruction that 64 programs need to send when calling bottom application software module by Inter-Process Communication technology, wherein said instruction comprises data and/or order;
Second sending module, sends described instruction to described bottom application software module for the mode by directly calling;
3rd receiver module, for receiving the result that described bottom application software module produces according to described instruction;
3rd sending module, for returning described result to 64 programs by Inter-Process Communication technology.
The operation of 64 programs realizes a system, comprises the operation implement device of above-mentioned 64 programs and above-mentioned 32 middle plug-in units, and the operation implement device of described 64 programs and described 32 middle plug-in units are by the communication of Inter-Process Communication technology.
The present invention has following beneficial effect:
Compared with prior art, in the operation implementation method of 64 programs of the present invention, when 64 programs need to call bottom application software module, send instruction by Inter-Process Communication technology to 32 middle plug-in units, this instruction comprises data and/or order; After in the middle of 32, plug-in unit receives this instruction, instruction is sent to bottom application software module by the mode directly called, and receive the result that bottom application software module produces according to this instruction, finally this result is returned 64 programs by Inter-Process Communication technology.
Because in the middle of 32, plug-in unit can call 32 bottom application software modules, therefore can make 64 routine calls, 32 bottom application software modules by the method;
And the bottom application software module of said function only need develop a 32, without overlapping development 64, decrease the workload of exploitation, increase work efficiency; Same, for wanting existing a set of 32 softwares, move to 64 systems, existing 32 the bottom application software modules of direct use, do not need to do secondary development (being developed to 64) to bottom application software module, further reduce the workload of exploitation, increase work efficiency;
When software is safeguarded, only need to safeguard a 32 bottom application software modules, decrease the workload of maintenance, increase work efficiency.
Therefore the operation implementation method of 64 programs of the present invention can make 64 routine calls, 32 bottom application software modules, and reduce the exploitation of 64 programs and the workload of maintenance, increase work efficiency.
Accompanying drawing explanation
Fig. 1 is the process flow diagram one of the operation implementation method of 64 programs of the present invention;
Fig. 2 is the flowchart 2 of the operation implementation method of 64 programs of the present invention;
Fig. 3 is the flow chart 3 of the operation implementation method of 64 programs of the present invention;
Fig. 4 is the structural drawing one of the operation implement device of 64 programs of the present invention;
Fig. 5 is the structural drawing two of the operation implement device of 64 programs of the present invention;
Fig. 6 is the structural drawing of plug-in unit in the middle of 32 of the present invention;
Fig. 7 is the structural drawing that the operation of 64 programs of the present invention realizes system.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
On the one hand, the invention provides a kind of operation implementation method of 64 programs, as shown in Figure 1, comprising:
Step S101: when needs call bottom application software module, instruction is sent to 32 middle plug-in units by Inter-Process Communication technology, the mode of plug-in unit by directly calling in the middle of making 32, instruction is sent to bottom application software module, wherein instruction comprises data and/or order;
Step S102: the result that the bottom application software module that in the middle of receiving 32 by Inter-Process Communication technology, plug-in unit returns produces according to instruction.
Compared with prior art, in the operation implementation method of 64 programs of the present invention, when 64 programs need to call bottom application software module, send instruction by Inter-Process Communication technology to 32 middle plug-in units, this instruction comprises data and/or order; After in the middle of 32, plug-in unit receives this instruction, after this instructions parse, send instruction to bottom application software module by the mode directly called, and receive the result that bottom application software module produces according to this instruction, finally this result is returned 64 programs by Inter-Process Communication technology.
Because in the middle of 32, plug-in unit can call 32 bottom application software modules, therefore can make 64 routine calls, 32 bottom application software modules by the method;
And the bottom application software module of said function only need develop a 32, without overlapping development 64, decrease the workload of exploitation, increase work efficiency; Same, for wanting existing a set of 32 softwares, move to 64 systems, existing 32 the bottom application software modules of direct use, do not need to do secondary development (being developed to 64) to bottom application software module, further reduce the workload of exploitation, increase work efficiency;
When software is safeguarded, only need to safeguard a 32 bottom application software modules, decrease the workload of maintenance, increase work efficiency.
Therefore the operation implementation method of 64 programs of the present invention can make 64 routine calls, 32 bottom application software modules, and reduce the exploitation of 64 programs and the workload of maintenance, increase work efficiency.
One as the operation implementation method of 64 programs of the present invention is improved, and as shown in Figure 2, also comprises before step S101:
Step S100: when judging to need to call 32 bottom application software modules, perform step S101; When judging to need to call 64 bottom application software modules, then directly call 64 bottom application software modules, terminate.
Abovementioned steps S101 and step S102 refers to that bottom application software module is all the situation of 32, when bottom application software module existing 32 have again 64 time, first judge that the bottom application software module that will call is 32 or 64, if 32, perform step 101 and step S102, if 64, directly call 64 bottom application software modules, obtain result and terminate.The method can be applied to existing 32 of bottom application software module again the situation of 64, reduces the workload of exploitation to 64 programs and maintenance, increases work efficiency, and expanded the scope of application.
Concrete, above-mentioned bottom application software module can comprise 32 DLL and/or 64 DLL etc.
Further, Inter-Process Communication technology comprises named pipes, shared file, procotol or shared section key.
On the other hand, the invention provides a kind of operation implementation method of 64 programs, as shown in Figure 3, comprising:
Step S201: receive by Inter-Process Communication technology the instruction that 64 programs need to send when calling bottom application software module, wherein instruction comprises data and/or order;
Step S202: send instruction to bottom application software module by the mode directly called;
Step S203: receive the result that bottom application software module produces according to instruction;
Step S204: result is returned 64 programs by Inter-Process Communication technology.
Compared with prior art, in the operation implementation method of 64 programs of the present invention, when 64 programs need to call bottom application software module, send instruction by Inter-Process Communication technology to 32 middle plug-in units, this instruction comprises data and/or order; After in the middle of 32, plug-in unit receives this instruction, after this instructions parse, send instruction to bottom application software module by the mode directly called, and receive the result that bottom application software module produces according to this instruction, finally this result is returned 64 programs by Inter-Process Communication technology.
Because in the middle of 32, plug-in unit can call 32 bottom application software modules, therefore can make 64 routine calls, 32 bottom application software modules by the method;
And the bottom application software module of said function only need develop a 32, without overlapping development 64, decrease the workload of exploitation, increase work efficiency; Same, for wanting existing a set of 32 softwares, move to 64 systems, existing 32 the bottom application software modules of direct use, do not need to do secondary development (being developed to 64) to bottom application software module, further reduce the workload of exploitation, increase work efficiency;
When software is safeguarded, only need to safeguard a 32 bottom application software modules, decrease the workload of maintenance, increase work efficiency.
Therefore the operation implementation method of 64 programs of the present invention can make 64 routine calls, 32 bottom application software modules, and reduce the exploitation of 64 programs and the workload of maintenance, increase work efficiency.
Concrete, above-mentioned bottom application software module can comprise 32 DLL and/or 64 DLL etc.
Further, Inter-Process Communication technology comprises named pipes, shared file, procotol or shared section key.
Corresponding with the operation implementation method of above-mentioned 64 programs, the present invention also provides a kind of operation implement device 1 of 64 programs, as shown in Figure 4, comprising:
First sending module 11, during for calling bottom application software module when needs, send instruction by Inter-Process Communication technology to 32 middle plug-in units, the mode of plug-in units by directly calling in the middle of making 32, instruction is sent to bottom application software module, wherein instruction comprises data and/or order;
First receiver module 12, the result that the bottom application software module returned for being received 32 middle plug-in units by Inter-Process Communication technology is produced according to instruction.
Corresponding with the operation implementation method of above-mentioned 64 programs, the operation implement device of 64 programs of the present invention can make 64 routine calls, 32 bottom application software modules, and reduces the exploitation of 64 programs and the workload of maintenance, increases work efficiency.
One as the operation implement device of 64 programs of the present invention is improved, and as shown in Figure 5, also comprises before the first sending module 11:
First judge module 10, during for judging to need to call 32 bottom application software modules, performs the first sending module; When judging to need to call 64 bottom application software modules, then directly call 64 bottom application software modules, terminate.
Corresponding with the operation implementation method of above-mentioned 64 programs, the operation implement device of 64 programs of the present invention can be applied to existing 32 of bottom application software module again the situation of 64, reduce the exploitation of 64 programs and the workload of maintenance, increase work efficiency, and expanded the scope of application.
Corresponding with the operation implementation method of above-mentioned 64 programs, the present invention also provides a kind of 32 middle plug-in units 2, as shown in Figure 6, comprising:
Second receiver module 21, for being received the instruction that 64 programs need to send when calling bottom application software module by Inter-Process Communication technology, wherein instruction comprises data and/or order;
Second sending module 22, sends instruction to bottom application software module for the mode by directly calling;
3rd receiver module 23, for receiving the result that bottom application software module produces according to instruction;
3rd sending module 24, for returning result to 64 programs by Inter-Process Communication technology.
Corresponding with the operation implementation method of above-mentioned 64 programs, the operation implement device of 64 programs of the present invention can make 64 routine calls, 32 bottom application software modules, and reduces the exploitation of 64 programs and the workload of maintenance, increases work efficiency.
Again on the one hand, the operation that the invention provides a kind of 64 programs realizes system, as shown in Figure 7, the operation implement device 1 of above-mentioned 64 programs and the operation implement device 1 of above-mentioned 32 middle plug-in units 2,64 programs and 32 middle plug-in units 2 is comprised by the communication of Inter-Process Communication technology.
Corresponding with said method and device, the operation of 64 programs of the present invention realizes system can make 64 routine calls, 32 bottom application software modules, and reduces the exploitation of 64 programs and the workload of maintenance, increases work efficiency.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (11)
1. an operation implementation method for 64 programs, is characterized in that, comprising:
Step S101: when needs call bottom application software module, instruction is sent to 32 middle plug-in units by Inter-Process Communication technology, make the mode of plug-in unit by directly calling in the middle of described 32, send described instruction to described bottom application software module, wherein said instruction comprises data and/or order;
Step S102: the result that the described bottom application software module returned by plug-in units in the middle of described 32 of Inter-Process Communication technology reception is produced according to described instruction.
2. the operation implementation method of 64 programs according to claim 1, is characterized in that, also comprises before described step S101:
Step S100: when judging to need to call 32 bottom application software modules, perform described step S101; When judging to need to call 64 bottom application software modules, then directly call 64 bottom application software modules, terminate.
3. the operation implementation method of 64 programs according to claim 2, is characterized in that, described bottom application software module comprises 32 DLL and/or 64 DLL.
4. the operation implementation method of 64 programs according to the arbitrary claim of claims 1 to 3, is characterized in that, described Inter-Process Communication technology comprises named pipes, shared file, procotol or shared section key.
5. an operation implementation method for 64 programs, is characterized in that, comprising:
Step S201: receive by Inter-Process Communication technology the instruction that 64 programs need to send when calling bottom application software module, wherein said instruction comprises data and/or order;
Step S202: send described instruction to described bottom application software module by the mode directly called;
Step S203: receive the result that described bottom application software module produces according to described instruction;
Step S204: described result is returned 64 programs by Inter-Process Communication technology.
6. the operation implementation method of 64 programs according to claim 4, is characterized in that, described bottom application software module comprises 32 DLL and/or 64 DLL.
7. the operation implementation method of 64 programs according to claim 5 or 6, is characterized in that, described Inter-Process Communication technology comprises named pipes, shared file, procotol or shared section key.
8. an operation implement device for 64 programs, is characterized in that, comprising:
First sending module, during for calling bottom application software module when needs, instruction is sent to 32 middle plug-in units by Inter-Process Communication technology, make the mode of plug-in unit by directly calling in the middle of described 32, send described instruction to described bottom application software module, wherein said instruction comprises data and/or order;
First receiver module, the result that the described bottom application software module returned for being received described 32 middle plug-in units by Inter-Process Communication technology is produced according to described instruction.
9. the operation implement device of 64 programs according to claim 8, is characterized in that, also comprises before described first sending module:
First judge module, during for judging to need to call 32 bottom application software modules, performs described first sending module; When judging to need to call 64 bottom application software modules, then directly call 64 bottom application software modules, terminate.
10. 32 middle plug-in units, is characterized in that, comprising:
Second receiver module, for being received the instruction that 64 programs need to send when calling bottom application software module by Inter-Process Communication technology, wherein said instruction comprises data and/or order;
Second sending module, sends described instruction to described bottom application software module for the mode by directly calling;
3rd receiver module, for receiving the result that described bottom application software module produces according to described instruction;
3rd sending module, for returning described result to 64 programs by Inter-Process Communication technology.
The operation of 11. 1 kinds of 64 programs realizes system, it is characterized in that, comprise the operation implement device of 64 programs described in claim 8 or 9 and 32 middle plug-in units according to claim 10, the operation implement device of described 64 programs and described 32 middle plug-in units are by the communication of Inter-Process Communication technology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510241171.8A CN105446732A (en) | 2015-05-13 | 2015-05-13 | Operation realization method, device and system of 64-bit program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510241171.8A CN105446732A (en) | 2015-05-13 | 2015-05-13 | Operation realization method, device and system of 64-bit program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105446732A true CN105446732A (en) | 2016-03-30 |
Family
ID=55556980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510241171.8A Pending CN105446732A (en) | 2015-05-13 | 2015-05-13 | Operation realization method, device and system of 64-bit program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105446732A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055352A (en) * | 2016-05-20 | 2016-10-26 | 努比亚技术有限公司 | Mobile terminal, and determination method of application operation bit |
CN106682494A (en) * | 2016-11-16 | 2017-05-17 | 腾讯科技(深圳)有限公司 | Information access method, device and equipment |
CN109889875A (en) * | 2019-01-23 | 2019-06-14 | 北京奇艺世纪科技有限公司 | Communication means, device, terminal device and computer-readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1991745A (en) * | 2005-12-27 | 2007-07-04 | 英业达股份有限公司 | Method for catching 64 bit information in 64 bit system by using 32 bit master program |
CN101673210A (en) * | 2009-10-16 | 2010-03-17 | 苏州壹世通科技有限公司 | Cross-platform and cross-processor method based on extensible firmware interface and device |
CN102662739A (en) * | 2012-03-23 | 2012-09-12 | 深圳市文鼎创数据科技有限公司 | Method and device for realizing function calling |
CN103455361A (en) * | 2013-09-06 | 2013-12-18 | 南京南自信息技术有限公司 | Design method for calling 32-bit decoding library under 64-bit operating system |
CN103677873A (en) * | 2012-09-10 | 2014-03-26 | 联想(北京)有限公司 | Operating system installation method, operating system switching method and electronic equipment |
-
2015
- 2015-05-13 CN CN201510241171.8A patent/CN105446732A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1991745A (en) * | 2005-12-27 | 2007-07-04 | 英业达股份有限公司 | Method for catching 64 bit information in 64 bit system by using 32 bit master program |
CN101673210A (en) * | 2009-10-16 | 2010-03-17 | 苏州壹世通科技有限公司 | Cross-platform and cross-processor method based on extensible firmware interface and device |
CN102662739A (en) * | 2012-03-23 | 2012-09-12 | 深圳市文鼎创数据科技有限公司 | Method and device for realizing function calling |
CN103677873A (en) * | 2012-09-10 | 2014-03-26 | 联想(北京)有限公司 | Operating system installation method, operating system switching method and electronic equipment |
CN103455361A (en) * | 2013-09-06 | 2013-12-18 | 南京南自信息技术有限公司 | Design method for calling 32-bit decoding library under 64-bit operating system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055352A (en) * | 2016-05-20 | 2016-10-26 | 努比亚技术有限公司 | Mobile terminal, and determination method of application operation bit |
CN106055352B (en) * | 2016-05-20 | 2019-08-27 | 努比亚技术有限公司 | The determination method of mobile terminal and application program operation digit |
CN106682494A (en) * | 2016-11-16 | 2017-05-17 | 腾讯科技(深圳)有限公司 | Information access method, device and equipment |
CN109889875A (en) * | 2019-01-23 | 2019-06-14 | 北京奇艺世纪科技有限公司 | Communication means, device, terminal device and computer-readable medium |
CN109889875B (en) * | 2019-01-23 | 2021-07-16 | 北京奇艺世纪科技有限公司 | Communication method, communication device, terminal equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284197B (en) | Distributed application platform based on intelligent contract and implementation method | |
CA2600503C (en) | Method and system for executing a container-managed application on a processing device | |
EP2492810A1 (en) | Method and device for managing operating systems in embedded system | |
CN103942178A (en) | Communication method between real-time operating system and non-real-time operating system on multi-core processor | |
CN104915224A (en) | Processing method and device of affiliate application | |
CN104216768A (en) | Data processing method and device | |
CN104317661A (en) | Intersystem communication method and device of dual embedded systems | |
CN102043919A (en) | Universal vulnerability detection method and system based on script virtual machine | |
CN101739755A (en) | Method and device for realizing smart card multi-service application | |
CN105446732A (en) | Operation realization method, device and system of 64-bit program | |
CN110933075B (en) | Service calling method and device, electronic equipment and storage medium | |
CN103885873A (en) | Automated integration testing method | |
CN105007304A (en) | SOA-based enterprise information technology system data exchange and integration system | |
CN105874773A (en) | Task processing device, intelligent apparatus, task processing method and baseband processor | |
CN105630534A (en) | TrustZone framework-based application program execution method and device as well as terminal | |
CN104598841A (en) | Double-system guide method and device facing terminal security | |
CN102831494A (en) | Scheduling method, scheduling device and scheduling system | |
CN110704131B (en) | Method and device for calling native application by HTML5 application | |
CN109522111B (en) | Calling method and device of heterogeneous ecosystem, electronic equipment and storage medium | |
CN101819524A (en) | Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof | |
CN113795001B (en) | Method and device for sending system short message based on SPI | |
CN102662739B (en) | Method and device for realizing function calling | |
CN103077016B (en) | A kind of moving object creation method, device and browser | |
CN101980170A (en) | Communication method, system and device for software module in microkernel system | |
CN102508694A (en) | Method and system for operating file of virtual machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160330 |
|
RJ01 | Rejection of invention patent application after publication |