CN105528257A - Single process data processing method and device - Google Patents

Single process data processing method and device Download PDF

Info

Publication number
CN105528257A
CN105528257A CN201610013080.3A CN201610013080A CN105528257A CN 105528257 A CN105528257 A CN 105528257A CN 201610013080 A CN201610013080 A CN 201610013080A CN 105528257 A CN105528257 A CN 105528257A
Authority
CN
China
Prior art keywords
message window
application program
command line
line parameter
inquired
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.)
Granted
Application number
CN201610013080.3A
Other languages
Chinese (zh)
Other versions
CN105528257B (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.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610013080.3A priority Critical patent/CN105528257B/en
Publication of CN105528257A publication Critical patent/CN105528257A/en
Application granted granted Critical
Publication of CN105528257B publication Critical patent/CN105528257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a single process data processing method and device. The method comprises the steps of when responding to an application program start request, creating a process corresponding to an application program, using the process as a current process, wherein the current process comprises command line parameters, querying whether a message window corresponding to the application program exists or not, if yes, meaning that the application program is already started before the application program is started at this time, namely the process and the message window created by the first start of the application program exist in an operation system, so the command line parameters are sent to the queried message window, and the process created by the first start of the application program can read and execute the command line parameters from the message window, so as to destroy the current process. According to the scheme provided by the application, the message window is used for realizing data transmission between two processes, and the fact that only one process corresponding to the application program exists in the operation system is guaranteed at the same time, namely the implementation of a singleton pattern is guaranteed.

Description

A kind of one process data processing method and device
Technical field
The application relates to software technology field, more particularly, relates to a kind of one process data processing method and device.
Background technology
Singleton pattern is a kind of conventional software design pattern.The special defects that one is called as single routine class is only comprised in its core texture.An application program process (example) can be only had in guarantee system by singleton pattern, thus the convenient control to process (example) number save system resource.
Prior art adopts the mode of name kernel objects to realize singleton pattern.Particularly, create a process when initiating switchup application program, and according to the title corresponding to the application program preset to name kernel objects; When user is again by double-clicking the modes such as application program shortcut and starting application program, creates a new process, whether inquiry exists the kernel objects of the title corresponding with application program, when inquiry exists, the process destruction newly created is fallen.Like this, directly data cannot be transmitted between two processes for same application program successively establishment.
Summary of the invention
In view of this, this application provides a kind of one process data processing method and device, for solving prior art when realizing singleton pattern, for the problem directly cannot transmitting data between two processes that same application program successively creates.
To achieve these goals, the existing scheme proposed is as follows:
A kind of one process data processing method, comprising:
Response application program starts request, and create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Whether inquiry exists the message window corresponding with described application program;
If, described command line parameter is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup;
Destroy described current process.
A kind of one process data processing equipment, comprising:
Process creation unit, start request for response application program, create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Whether window query unit, exist the message window corresponding with described application program for inquiring about;
Parameter transmitting element, for when inquiring the message window corresponding with described application program, described command line parameter is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup;
Process destroys unit, for destroying described current process.
As can be seen from above-mentioned technical scheme, the one process data processing method that application the embodiment of the present application provides, when response application program starts request, create the process corresponding with application program, as current process, this current process includes command line parameter, whether inquiry exists the message window corresponding with application program, if, then illustrate to start before application program at this and started application program, the process created when being also and there is application program initiating switchup in operating system and message window, therefore command line parameter is sent to the message window inquired, read from message window for the process created during application program initiating switchup and perform described command line parameter, and then destruction current process.The scheme of the application utilizes message window to realize the transmission of two inter-process data, ensure that in operating system to only have a process corresponding with application program simultaneously, also namely ensure that the realization of singleton pattern.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is a kind of one process data processing method process flow diagram disclosed in the embodiment of the present application;
Fig. 2 is another kind of one process data processing method process flow diagram disclosed in the embodiment of the present application;
Fig. 3 is the embodiment of the present application another one process data processing method process flow diagram disclosed;
Fig. 4 is a kind of one process data processing equipment structural representation disclosed in the embodiment of the present application;
Fig. 5 is a kind of window query cellular construction schematic diagram disclosed in the embodiment of the present application;
Fig. 6 is another kind of one process data processing equipment structural representation disclosed in the embodiment of the present application;
Fig. 7 is a kind of parameter transmitting element structural representation disclosed in the embodiment of the present application;
The hardware configuration schematic diagram of Fig. 8 a kind of terminal device disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The application describes a kind of one process data processing method be applied in the operating system of terminal, when ensureing singleton pattern, achieves the data transmission between two processes successively creating for same application program.
See Fig. 1, Fig. 1 a kind of one process data processing method process flow diagram disclosed in the embodiment of the present application.
As shown in Figure 1, the method comprises:
Step S100, response application program start request, and create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Particularly, the startup request of application program can be the shortcut that user double-clicks application program on desktop, or user starts application program by the mode of input command statement.
Wherein, process be program in computing machine about the once operation activity on certain data acquisition, being the base unit that system carries out Resource Distribution and Schedule, is the basis of operating system configuration.In early days towards in the computer organization of process design, process is the basic execution entity of program; In the computer organization of the present age towards threaded design, process is the container of thread.Program is the description of instruction, data and organizational form thereof, and process is the entity of program.
Whether step S110, inquiry exist the message window corresponding with described application program, if so, perform step S120;
Particularly, a process and message window can be created when application program initiating switchup.Therefore, inquire about in this step and whether there is the message window corresponding with application program, if inquired, then illustrate to start before application program at this and started application program, also namely initiating switchup application program time created corresponding process and message window.
Wherein, message window is transparent for user, and this message window is for the message handled by the process of loading, and also namely corresponding with application program message all can be loaded in message window, and process reads and performs message from message window.
Step S120, described command line parameter is sent to the message window inquired;
Particularly, when inquiring the message window corresponding with application program, the command line parameter of current process is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup.
Data transmission between the process created when achieving current process and application program initiating switchup by message window.
Step S130, destroy described current process.
After command line parameter transmission, this current process created is destroyed, ensure only there is a process corresponding with application program in operating system.
The one process data processing method that application the embodiment of the present application provides, when response application program starts request, create the process corresponding with application program, as current process, this current process includes command line parameter, whether inquiry exists the message window corresponding with application program, if, then illustrate to start before application program at this and started application program, the process created when being also and there is application program initiating switchup in operating system and message window, therefore command line parameter is sent to the message window inquired, read from message window for the process created during application program initiating switchup and perform described command line parameter, and then destruction current process.The scheme of the application utilizes message window to realize the transmission of two inter-process data, ensure that in operating system to only have a process corresponding with application program simultaneously, also namely ensure that the realization of singleton pattern.
See Fig. 2, Fig. 2 another kind of one process data processing method process flow diagram disclosed in the embodiment of the present application.
As shown in Figure 2, the method comprises:
Step S200, response application program start request, and create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Particularly, the startup request of application program can be the shortcut that user double-clicks application program on desktop, or user starts application program by the mode of input command statement.
Step S210, read the preset message window class name with described application program with corresponding relation;
Particularly, the present embodiment has preset the class name of the message window of each application program, and save message window class name corresponding to application program, when starting application program and create corresponding message window, name the message window of establishment according to the class name of setting.Such as, the message window class of application program 1 correspondence is called A, and the message window class of application program 2 correspondence is called B.
Whether step S220, inquiry exist the message window with the identical class name of described message window class name, if so, perform step S230;
Particularly, in the system overall situation, inquire about according to the message window class name inquired the message window that whether there is identical class name in this step, if can inquire, then illustrate to start before application program at this and started application program, also namely initiating switchup application program time created corresponding process and message window.
Step S230, described command line parameter is sent to the message window inquired;
Particularly, when inquiring the message window corresponding with application program, the command line parameter of current process is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup.
Data transmission between the process created when achieving current process and application program initiating switchup by message window.
Step S240, destroy described current process.
After command line parameter transmission, this current process created is destroyed, ensure only there is a process corresponding with application program in operating system.
Describing the process of the inquiry message window corresponding with application program in the present embodiment in detail, also namely by presetting message window class name corresponding to application program, and then being searched the message window of identical class name by message window class name.
Be the embodiment of the present application another one process data processing method process flow diagram disclosed see Fig. 3, Fig. 3.
As shown in Figure 3, the method comprises:
Step S300, response application program start request, and create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Particularly, the startup request of application program can be the shortcut that user double-clicks application program on desktop, or user starts application program by the mode of input command statement.
Step S310, read the preset message window class name with described application program with corresponding relation;
Particularly, the present embodiment has preset the class name of the message window of each application program, and save message window class name corresponding to application program, when starting application program and create corresponding message window, name the message window of establishment according to the class name of setting.
Whether step S320, inquiry exist the message window with the identical class name of described message window class name, if not, then perform step S330, if so, perform step S340;
Particularly, in the system overall situation, inquire about according to the message window class name inquired the message window that whether there is identical class name in this step, if can inquire, then illustrate to start before application program at this and started application program, also namely initiating switchup application program time created corresponding process and message window.
Step S330, create message window, the class of described message window is called the described message window class name with described application program with corresponding relation;
Particularly, when not inquiring the message window of identical class name, then illustrating that this is initiating switchup application program, therefore creating the message window corresponding with application program, the class of this message window is called the corresponding relation according to setting, the message window class name corresponding with application program.
Step S340, described command line parameter is sent to the message window inquired;
Particularly, when inquiring the message window corresponding with application program, the command line parameter of current process is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup.
Data transmission between the process created when achieving current process and application program initiating switchup by message window.
Step S350, destroy described current process.
After command line parameter transmission, this current process created is destroyed, ensure only there is a process corresponding with application program in operating system.
Compared to above-described embodiment, namely the present embodiment introduction, determining operation steps when there is not the message window corresponding with application program, also creates the message window corresponding with application program, and names the message window created according to setting means.
Optionally, on the basis of above-described embodiment, the application is when being sent to command line parameter the message window inquired, can be specifically first command line parameter is encoded, obtain numbering post command line parameter, then coding post command line parameter is sent to the message window inquired, reads described coding post command line parameter for the process created during application program initiating switchup from the described message window inquired, and perform after resolving.
By encoding to command line parameter, ensure that command line parameter can transmit according to consolidation form, avoiding command line parameter be disturbed in transmitting procedure and and revise.
Further, for the send mode of coding post command line parameter, specifically can select to be sent to by the form of windows messaging the message window inquired.
Be described the one process data processing equipment that the embodiment of the present application provides below, one process data processing equipment described below can mutual corresponding reference with above-described one process data processing method.
See Fig. 4, Fig. 4 a kind of one process data processing equipment structural representation disclosed in the embodiment of the present application.
As shown in Figure 4, one process data processing equipment comprises:
Process creation unit 41, start request for response application program, create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Whether window query unit 42, exist the message window corresponding with described application program for inquiring about;
Parameter transmitting element 43, for when inquiring the message window corresponding with described application program, described command line parameter is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup;
Process destroys unit 44, for destroying described current process.
The one process data processing equipment that application the embodiment of the present application provides, when response application program starts request, create the process corresponding with application program, as current process, this current process includes command line parameter, whether inquiry exists the message window corresponding with application program, if, then illustrate to start before application program at this and started application program, the process created when being also and there is application program initiating switchup in operating system and message window, therefore command line parameter is sent to the message window inquired, read from message window for the process created during application program initiating switchup and perform described command line parameter, and then destruction current process.The scheme of the application utilizes message window to realize the transmission of two inter-process data, ensure that in operating system to only have a process corresponding with application program simultaneously, also namely ensure that the realization of singleton pattern.
Optionally, the embodiment of the present application discloses a kind of alternate configurations of above-mentioned window query unit 42, and as shown in Figure 5, window query unit 42 can comprise:
Class name reading unit 421, for reading the preset message window class name with described application program with corresponding relation;
Class name matching unit 422, for inquiring about the message window whether existed with the identical class name of described message window class name, if so, then determine to there is the message window corresponding with described application program, if not, then determine there is not the message window corresponding with described application program.
Optionally, the embodiment of the present application discloses the another kind of alternate configurations of above-mentioned one process data processing equipment, composition graphs 4 and Fig. 6 known, this device can also comprise:
Window creation unit 45, during for determining to there is not the message window corresponding with described application program at window query unit 42, creates message window, and the class of described message window is called the described message window class name with described application program with corresponding relation.
Optionally, the embodiment of the present application discloses a kind of alternate configurations of above-mentioned parameter transmitting element 43, and as shown in Figure 7, parameter transmitting element 43 can comprise:
Parameter coding unit 431, for encoding to described command line parameter, obtains coding post command line parameter;
Coding parameter transmitting element 432, for described coding post command line parameter is sent to the message window inquired, read described coding post command line parameter for the process created during application program initiating switchup from the described message window inquired, and perform after resolving.
Optionally, for coding parameter transmitting element 432, it specifically can comprise:
First coding parameter sends subelement, for described coding post command line parameter is sent to the message window inquired by the form of windows messaging.
Present invention also provides a kind of terminal device, this terminal device comprises one process data processing equipment described above.For the hardware configuration of terminal device, see the hardware configuration schematic diagram of the terminal device that Fig. 8, Fig. 8 provide for the embodiment of the present application.As shown in Figure 8, this terminal device can comprise:
Processor 1, communication interface 2, storer 3, communication bus 4, and display screen 5;
Wherein processor 1, communication interface 2, storer 3 complete mutual communicating with display screen 5 by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, as the interface of gsm module;
Processor 1, for executive routine;
Storer 3, for depositing program;
Program can comprise program code, and described program code comprises the operational order of processor.
Processor 1 may be a central processor CPU, or specific integrated circuit ASIC (ApplicationSpecificIntegratedCircuit), or is configured to the one or more integrated circuit implementing the embodiment of the present application.
Storer 3 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.
Wherein, program can be specifically for:
Response application program starts request, and create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Whether inquiry exists the message window corresponding with described application program;
If, described command line parameter is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup;
Destroy described current process.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an one process data processing method, is characterized in that, comprising:
Response application program starts request, and create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Whether inquiry exists the message window corresponding with described application program;
If, described command line parameter is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup;
Destroy described current process.
2. method according to claim 1, is characterized in that, whether described inquiry exists the message window corresponding with described application program, comprising:
Read the preset message window class name with described application program with corresponding relation;
Whether inquiry exists the message window with the identical class name of described message window class name, if so, then determines to there is the message window corresponding with described application program, if not, then determines there is not the message window corresponding with described application program.
3. method according to claim 2, is characterized in that, when determining to there is not the message window corresponding with described application program, the method also comprises:
Create message window, the class of described message window is called the described message window class name with described application program with corresponding relation.
4. method according to claim 1, is characterized in that, describedly described command line parameter is sent to the message window inquired, and comprising:
Described command line parameter is encoded, obtains coding post command line parameter;
Described coding post command line parameter is sent to the message window inquired, reads described coding post command line parameter for the process created during application program initiating switchup from the described message window inquired, and perform after resolving.
5. method according to claim 4, is characterized in that, described described coding post command line parameter is sent to the message window inquired, and comprising:
Described coding post command line parameter is sent to the message window inquired by the form of windows messaging.
6. an one process data processing equipment, is characterized in that, comprising:
Process creation unit, start request for response application program, create the process corresponding with described application program, as current process, described current process comprises command line parameter;
Whether window query unit, exist the message window corresponding with described application program for inquiring about;
Parameter transmitting element, for when inquiring the message window corresponding with described application program, described command line parameter is sent to the message window inquired, to read from the described message window inquired for the process created during application program initiating switchup and perform described command line parameter, wherein, the message window inquired described in is created by during described application program initiating switchup;
Process destroys unit, for destroying described current process.
7. device according to claim 6, is characterized in that, described window query unit comprises:
Class name reading unit, for reading the preset message window class name with described application program with corresponding relation;
Class name matching unit, for inquiring about the message window whether existed with the identical class name of described message window class name, if so, then determining to there is the message window corresponding with described application program, if not, then determining there is not the message window corresponding with described application program.
8. device according to claim 7, is characterized in that, also comprises:
Window creation unit, for when determining to there is not the message window corresponding with described application program, creates message window, and the class of described message window is called the described message window class name with described application program with corresponding relation.
9. device according to claim 6, is characterized in that, described parameter transmitting element comprises:
Parameter coding unit, for encoding to described command line parameter, obtains coding post command line parameter;
Coding parameter transmitting element, for described coding post command line parameter is sent to the message window inquired, read described coding post command line parameter for the process created during application program initiating switchup from the described message window inquired, and perform after resolving.
10. device according to claim 9, is characterized in that, described coding parameter transmitting element comprises:
First coding parameter sends subelement, for described coding post command line parameter is sent to the message window inquired by the form of windows messaging.
CN201610013080.3A 2016-01-08 2016-01-08 Single-process data processing method and device Active CN105528257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610013080.3A CN105528257B (en) 2016-01-08 2016-01-08 Single-process data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610013080.3A CN105528257B (en) 2016-01-08 2016-01-08 Single-process data processing method and device

Publications (2)

Publication Number Publication Date
CN105528257A true CN105528257A (en) 2016-04-27
CN105528257B CN105528257B (en) 2021-01-05

Family

ID=55770501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610013080.3A Active CN105528257B (en) 2016-01-08 2016-01-08 Single-process data processing method and device

Country Status (1)

Country Link
CN (1) CN105528257B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975311A (en) * 2016-05-09 2016-09-28 腾讯科技(深圳)有限公司 Application startup method and device
CN109189498A (en) * 2018-08-07 2019-01-11 武汉斗鱼网络科技有限公司 Android horizontal/vertical screen method of data synchronization, device, terminal and readable medium
CN109375991A (en) * 2017-08-10 2019-02-22 中国石油化工股份有限公司 A kind of method and system that one process is transform as to multi-process
CN109933437A (en) * 2019-03-15 2019-06-25 广州华多网络科技有限公司 A kind of method, apparatus for preventing thread stuck, equipment and computer-readable medium
CN110968368A (en) * 2018-09-30 2020-04-07 武汉斗鱼网络科技有限公司 Live data processing method and related equipment thereof
CN112181516A (en) * 2020-09-24 2021-01-05 武汉深之度科技有限公司 Application software execution method and computing device
CN113448651A (en) * 2021-08-31 2021-09-28 北京鲸鲮信息系统技术有限公司 Method and device for realizing application singleton function

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794185A (en) * 2005-12-30 2006-06-28 北京金山软件有限公司 Resources calling method in multiline range process
CN1811717A (en) * 2006-01-10 2006-08-02 杭州东信灵通电子实业公司 Universal interprocess communication achieving method
CN101276296A (en) * 2007-03-29 2008-10-01 上海新跃仪表厂 Method for realizing message response mechanism on embedded computer system
US20120042261A1 (en) * 2010-08-12 2012-02-16 Google Inc. Sub-component instantiation and synchronization using a shared worker
CN102377853A (en) * 2010-08-25 2012-03-14 中兴通讯股份有限公司 Management device and method for application, interface window and service of mobile terminal
CN104714839A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Method and device for controlling life cycle of processes
CN104899088A (en) * 2014-03-03 2015-09-09 腾讯科技(深圳)有限公司 Message processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794185A (en) * 2005-12-30 2006-06-28 北京金山软件有限公司 Resources calling method in multiline range process
CN1811717A (en) * 2006-01-10 2006-08-02 杭州东信灵通电子实业公司 Universal interprocess communication achieving method
CN101276296A (en) * 2007-03-29 2008-10-01 上海新跃仪表厂 Method for realizing message response mechanism on embedded computer system
US20120042261A1 (en) * 2010-08-12 2012-02-16 Google Inc. Sub-component instantiation and synchronization using a shared worker
CN102377853A (en) * 2010-08-25 2012-03-14 中兴通讯股份有限公司 Management device and method for application, interface window and service of mobile terminal
CN104714839A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Method and device for controlling life cycle of processes
CN104899088A (en) * 2014-03-03 2015-09-09 腾讯科技(深圳)有限公司 Message processing method and device

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
DORISOY: "使用WPF创建单实例应用程序", 《HTTPS://WWW.CNBLOGS.COM/MSCHEN/P/4303944.HTML》 *
DRAGONX: "WPF学习笔记(3)", 《HTTPS://WWW.CNBLOGS.COM/DRAGONX/ARCHIVE/2013/12/17/3478235.HTML》 *
ITEYE_2060: "[linux手机平台]让应用程序单实例运行", 《HTTPS://BLOG.CSDN.NET/ITEYE_2060/ARTICLE/DETAILS/81404078》 *
TATHER: "如何让应用程序单实例运行", 《HTTPS://BLOG.CSDN.NET/TATHER/ARTICLE/DETAILS/1844280》 *
东西北: "MFC单例运行三种方式", 《HTTPS://BLOG.CSDN.NET/Z397164725/ARTICLE/DETAILS/37655837》 *
王军: "腾讯照片管家PC客户端的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975311A (en) * 2016-05-09 2016-09-28 腾讯科技(深圳)有限公司 Application startup method and device
CN109375991A (en) * 2017-08-10 2019-02-22 中国石油化工股份有限公司 A kind of method and system that one process is transform as to multi-process
CN109375991B (en) * 2017-08-10 2021-07-27 中国石油化工股份有限公司 Method and system for transforming single process into multiple processes
CN109189498A (en) * 2018-08-07 2019-01-11 武汉斗鱼网络科技有限公司 Android horizontal/vertical screen method of data synchronization, device, terminal and readable medium
CN110968368A (en) * 2018-09-30 2020-04-07 武汉斗鱼网络科技有限公司 Live data processing method and related equipment thereof
CN110968368B (en) * 2018-09-30 2022-05-13 武汉斗鱼网络科技有限公司 Live broadcast data processing method and related equipment thereof
CN109933437A (en) * 2019-03-15 2019-06-25 广州华多网络科技有限公司 A kind of method, apparatus for preventing thread stuck, equipment and computer-readable medium
CN109933437B (en) * 2019-03-15 2020-10-30 广州华多网络科技有限公司 Method, device and equipment for preventing thread from being stuck and computer readable medium
CN112181516A (en) * 2020-09-24 2021-01-05 武汉深之度科技有限公司 Application software execution method and computing device
CN113448651A (en) * 2021-08-31 2021-09-28 北京鲸鲮信息系统技术有限公司 Method and device for realizing application singleton function
WO2023029747A1 (en) * 2021-08-31 2023-03-09 北京字节跳动网络技术有限公司 Method for implementing single instance function of application, and apparatus

Also Published As

Publication number Publication date
CN105528257B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN105528257A (en) Single process data processing method and device
CN107832901B (en) Task allocation method and device, terminal equipment and storage medium
US9990209B2 (en) Digital assistance device for facilitating multi-stage setup
CN102129425B (en) The access method of big object set table and device in data warehouse
CN109564566B (en) Discovery of calling applications for controlling file hydration behavior
CN103544035A (en) Application clearing method and device for mobile terminal
CN111949831B (en) Graphic database establishing method and device and readable storage medium
CN114169536B (en) Data management and control method and related device
CN111752960B (en) Data processing method and device
CN116302708A (en) Data backup method, device, equipment and storage medium based on load balancing
CN112416710A (en) User operation recording method and device, electronic equipment and storage medium
CN106603125B (en) Method and device for data interaction with Bluetooth equipment
CN110264452B (en) Workpiece detection method, device, equipment and storage medium
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
CN111459629A (en) Azkaban-based project operation method and device and terminal equipment
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
CN107734610B (en) Message processing method, mobile terminal and computer readable storage medium
WO2020113562A1 (en) Computing power control method, apparatus and device, and storage medium
CN114880020A (en) Software development kit management method, related device and computer program product
CN112381518A (en) Event-driven early warning method, device, equipment and storage medium
CN106934555B (en) Workflow organization method and device, computer equipment and storage medium
CN111679899A (en) Task scheduling method, device, platform equipment and storage medium
CN111611077A (en) Task parameter processing method, terminal and storage medium
CN113656606B (en) Code query method, device and equipment of application program and storage medium
CN109561146A (en) Document down loading method, device, terminal device

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221206

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.