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

Single-process data processing method and device Download PDF

Info

Publication number
CN105528257B
CN105528257B CN201610013080.3A CN201610013080A CN105528257B CN 105528257 B CN105528257 B CN 105528257B CN 201610013080 A CN201610013080 A CN 201610013080A CN 105528257 B CN105528257 B CN 105528257B
Authority
CN
China
Prior art keywords
message window
application program
command line
line parameters
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610013080.3A
Other languages
Chinese (zh)
Other versions
CN105528257A (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/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

Abstract

The application discloses a single-process data processing method and a device, wherein the method comprises the following steps: when an application program starting request is responded, a process corresponding to the application program is created and serves as a current process, the current process comprises command line parameters, whether a message window corresponding to the application program exists or not is inquired, if yes, the fact that the application program is started before the application program is started is indicated, namely the process and the message window which are created when the application program is started for the first time exist in an operating system, the command line parameters are sent to the inquired message window, the process which is created when the application program is started for the first time reads and executes the command line parameters from the message window, and then the current process is destroyed. According to the scheme, the data transmission between the two processes is realized by using the message window, and only one process corresponding to the application program in the operating system is ensured, namely the realization of a singleton mode is ensured.

Description

Single-process data processing method and device
Technical Field
The present application relates to the field of software technologies, and in particular, to a method and an apparatus for processing single-process data.
Background
The singleton schema is a common software design schema. Only one special class called singleton class is included in its core structure. The single-case mode can ensure that one application program in the system only has one process (instance), thereby facilitating the control of the number of the processes (instances) and saving system resources.
The prior art implements a singleton schema by naming kernel objects. Specifically, a process is created when an application program is started for the first time, and a kernel object is named according to a name corresponding to a preset application program; and when the user starts the application program again by double-clicking the application program shortcut and the like, creating a new process, inquiring whether a kernel object with a name corresponding to the application program exists, and when the kernel object exists, destroying the newly created process. Thus, data cannot be directly transferred between two processes created successively for the same application program.
Disclosure of Invention
In view of this, the present application provides a single-process data processing method and apparatus, which are used to solve the problem that data cannot be directly transferred between two processes successively created by a same application program when a single-instance mode is implemented in the prior art.
In order to achieve the above object, the following solutions are proposed:
a single-process data processing method comprises the following steps:
responding to an application program starting request, and creating a process corresponding to the application program as a current process, wherein the current process comprises command line parameters;
inquiring whether a message window corresponding to the application program exists or not;
if so, sending the command line parameters to the inquired message window so that the process created when the application program is started for the first time reads the command line parameters from the inquired message window and executes the command line parameters, wherein the inquired message window is created when the application program is started for the first time;
and destroying the current process.
A single process data processing apparatus comprising:
the system comprises a process creating unit, a processing unit and a processing unit, wherein the process creating unit is used for responding to an application program starting request and creating a process corresponding to the application program as a current process, and the current process comprises command line parameters;
the window inquiry unit is used for inquiring whether a message window corresponding to the application program exists or not;
the parameter sending unit is used for sending the command line parameters to the inquired message window when the message window corresponding to the application program is inquired so that the process created when the application program is started for the first time reads the command line parameters from the inquired message window and executes the command line parameters, wherein the inquired message window is created when the application program is started for the first time;
and the process destroying unit is used for destroying the current process.
It can be seen from the foregoing technical solutions that, with the single-process data processing method provided in this embodiment of the present application, when an application start request is responded, a process corresponding to an application is created as a current process, where the current process includes a command line parameter, and whether a message window corresponding to the application exists is queried, and if so, it is indicated that the application has been started before the application is started this time, that is, there are a process and a message window created when the application is started for the first time in an operating system, and therefore the command line parameter is sent to the queried message window, so that the process created when the application is started for the first time reads and executes the command line parameter from the message window, and the current process is destroyed. According to the scheme, the data transmission between the two processes is realized by using the message window, and only one process corresponding to the application program in the operating system is ensured, namely the realization of a singleton mode is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a single-process data processing method disclosed in an embodiment of the present application;
FIG. 2 is a flow chart of another single-process data processing method disclosed in the embodiments of the present application;
FIG. 3 is a flowchart of another single-process data processing method disclosed in the embodiments of the present application;
FIG. 4 is a schematic structural diagram of a single-process data processing apparatus according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a window query unit according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of another single-process data processing apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a parameter sending unit disclosed in an embodiment of the present application;
fig. 8 is a schematic diagram of a hardware structure of a terminal device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application introduces a single-process data processing method applied to an operating system of a terminal, and realizes data transmission between two processes which are successively created for the same application program under the condition of ensuring a single-case mode.
Referring to fig. 1, fig. 1 is a flowchart of a single-process data processing method disclosed in the embodiment of the present application.
As shown in fig. 1, the method includes:
step S100, responding to an application program starting request, and creating a process corresponding to the application program as a current process, wherein the current process comprises command line parameters;
specifically, the start request of the application program can be a shortcut for double-clicking the application program on the desktop by the user, or the user starts the application program by inputting a command statement.
The process is a running activity of a program in a computer on a data set, is a basic unit for resource allocation and scheduling of a system, and is the basis of an operating system structure. In early process-oriented design of computer architecture, processes were the basic execution entities of programs; in contemporary thread-oriented computer architectures, processes are containers for threads. A program is a description of instructions, data, and their organization, and a process is an entity of a program.
Step S110, inquiring whether a message window corresponding to the application program exists, and if so, executing step S120;
specifically, a process and message window are created when an application is first launched. Therefore, in this step, it is queried whether there is a message window corresponding to the application program, and if so, it indicates that the application program has been started before the application program is started this time, that is, the corresponding process and message window have been created when the application program is started for the first time.
The message window is transparent to the user, and is used for loading messages processed by the process, that is, messages corresponding to the application program are loaded into the message window, and the process reads and executes the messages from the message window.
Step S120, the command line parameters are sent to the inquired message window;
specifically, when a message window corresponding to an application program is queried, sending a command line parameter of a current process to the queried message window so that the process created when the application program is started for the first time reads and executes the command line parameter from the queried message window, wherein the queried message window is created when the application program is started for the first time.
Data transmission between the current process and the process created when the application program is started for the first time is realized through the message window.
And S130, destroying the current process.
And after the command line parameters are transmitted, the current process created this time is destroyed, and only one process corresponding to the application program exists in the operating system.
By applying the single-process data processing method provided by the embodiment of the application, when an application program starting request is responded, a process corresponding to the application program is created and serves as a current process, the current process comprises a command line parameter, whether a message window corresponding to the application program exists is inquired, if yes, the application program is started before the application program is started, namely the process and the message window which are created when the application program is started for the first time exist in an operating system, and therefore the command line parameter is sent to the inquired message window so that the process created when the application program is started for the first time reads and executes the command line parameter from the message window, and the current process is destroyed. According to the scheme, the data transmission between the two processes is realized by using the message window, and only one process corresponding to the application program in the operating system is ensured, namely the realization of a singleton mode is ensured.
Referring to fig. 2, fig. 2 is a flowchart of another single-process data processing method disclosed in the embodiment of the present application.
As shown in fig. 2, the method includes:
step S200, responding to an application program starting request, and creating a process corresponding to the application program as a current process, wherein the current process comprises command line parameters;
specifically, the start request of the application program can be a shortcut for double-clicking the application program on the desktop by the user, or the user starts the application program by inputting a command statement.
Step S210, reading a preset message window class name which has a corresponding relation with the application program;
specifically, in this embodiment, a class name of a message window of each application program is preset, a message window class name corresponding to the application program is stored, and when the application program is started and a corresponding message window is created, the created message window is named according to the set class name. For example, the message window class name corresponding to application 1 is a, and the message window class name corresponding to application 2 is B.
Step S220, inquiring whether a message window with the same class name as the class name of the message window exists, if so, executing step S230;
specifically, in this step, whether a message window with the same class name exists is queried in the system global according to the queried class name of the message window, and if the query is found, it is indicated that the application program has been started before the application program is started this time, that is, the corresponding process and message window have been created when the application program is started for the first time.
Step S230, sending the command line parameters to the inquired message window;
specifically, when a message window corresponding to an application program is queried, sending a command line parameter of a current process to the queried message window so that the process created when the application program is started for the first time reads and executes the command line parameter from the queried message window, wherein the queried message window is created when the application program is started for the first time.
Data transmission between the current process and the process created when the application program is started for the first time is realized through the message window.
And step S240, destroying the current process.
And after the command line parameters are transmitted, the current process created this time is destroyed, and only one process corresponding to the application program exists in the operating system.
In this embodiment, a process of querying a message window corresponding to an application program is described in detail, that is, a message window class name corresponding to the application program is preset, and then a message window with the same class name is searched for by the message window class name.
Referring to fig. 3, fig. 3 is a flowchart of another single-process data processing method disclosed in the embodiment of the present application.
As shown in fig. 3, the method includes:
step S300, responding to an application program starting request, and creating a process corresponding to the application program as a current process, wherein the current process comprises command line parameters;
specifically, the start request of the application program can be a shortcut for double-clicking the application program on the desktop by the user, or the user starts the application program by inputting a command statement.
Step S310, reading a preset message window class name which has a corresponding relation with the application program;
specifically, in this embodiment, a class name of a message window of each application program is preset, a message window class name corresponding to the application program is stored, and when the application program is started and a corresponding message window is created, the created message window is named according to the set class name.
Step S320, inquiring whether a message window with the same class name as the class name of the message window exists, if not, executing step S330, and if so, executing step S340;
specifically, in this step, whether a message window with the same class name exists is queried in the system global according to the queried class name of the message window, and if the query is found, it is indicated that the application program has been started before the application program is started this time, that is, the corresponding process and message window have been created when the application program is started for the first time.
Step S330, creating a message window, wherein the class name of the message window is the class name of the message window which has the corresponding relation with the application program;
specifically, when a message window with the same class name is not queried, it is described that the application program is started for the first time, and therefore a message window corresponding to the application program is created, and the class name of the message window is the message window class name corresponding to the application program according to the set corresponding relationship.
Step S340, sending the command line parameters to the inquired message window;
specifically, when a message window corresponding to an application program is queried, sending a command line parameter of a current process to the queried message window so that the process created when the application program is started for the first time reads and executes the command line parameter from the queried message window, wherein the queried message window is created when the application program is started for the first time.
Data transmission between the current process and the process created when the application program is started for the first time is realized through the message window.
And step S350, destroying the current process.
And after the command line parameters are transmitted, the current process created this time is destroyed, and only one process corresponding to the application program exists in the operating system.
Compared with the above embodiments, this embodiment introduces an operation step when it is determined that there is no message window corresponding to the application program, that is, creates a message window corresponding to the application program, and names the created message window according to a set manner.
Optionally, on the basis of the above embodiment, when sending the command line parameter to the queried message window, the application may specifically encode the command line parameter to obtain the numbered command line parameter, and then send the encoded command line parameter to the queried message window, so that the process created when the application program is started for the first time reads the encoded command line parameter from the queried message window, and executes the encoded command line parameter after analysis.
By encoding the command line parameters, the command line parameters can be transmitted according to a uniform format, and the command line parameters are prevented from being interfered and modified in the transmission process.
Further, as for the sending mode of the encoded command line parameters, the sending mode can be specifically selected to be sent to the queried message window in the form of Windows message.
The following describes the single-process data processing apparatus provided in the embodiment of the present application, and the single-process data processing apparatus described below and the single-process data processing method described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a single-process data processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 4, the single-process data processing apparatus includes:
a process creating unit 41, configured to respond to an application start request, and create a process corresponding to the application as a current process, where the current process includes a command line parameter;
a window querying unit 42, configured to query whether a message window corresponding to the application exists;
a parameter sending unit 43, configured to send the command line parameter to the queried message window when querying the message window corresponding to the application program, so that a process created when the application program is started for the first time reads and executes the command line parameter from the queried message window, where the queried message window is created when the application program is started for the first time;
and the process destroying unit 44 is used for destroying the current process.
By applying the single-process data processing device provided by the embodiment of the application, when an application program starting request is responded, a process corresponding to the application program is created and serves as a current process, the current process comprises a command line parameter, whether a message window corresponding to the application program exists is inquired, if yes, the application program is started before the application program is started, namely, the process and the message window which are created when the application program is started for the first time exist in an operating system, and therefore the command line parameter is sent to the inquired message window so that the process created when the application program is started for the first time reads and executes the command line parameter from the message window, and the current process is destroyed. According to the scheme, the data transmission between the two processes is realized by using the message window, and only one process corresponding to the application program in the operating system is ensured, namely the realization of a singleton mode is ensured.
Optionally, an embodiment of the present application discloses an optional structure of the window querying unit 42, and as shown in fig. 5, the window querying unit 42 may include:
a class name reading unit 421, configured to read a preset message window class name having a correspondence with the application program;
a class name matching unit 422, configured to query whether there is a message window with a class name that is the same as the class name of the message window, determine that there is a message window corresponding to the application program if the message window exists, and determine that there is no message window corresponding to the application program if the message window does not exist.
Optionally, an embodiment of the present application discloses another optional structure of the single-process data processing apparatus, and as can be seen in fig. 4 and fig. 6, the apparatus may further include:
and a window creating unit 45, configured to create a message window when the window querying unit 42 determines that there is no message window corresponding to the application program, where a class name of the message window is the message window class name having a corresponding relationship with the application program.
Optionally, an optional structure of the parameter sending unit 43 is disclosed in this embodiment of the application, and as shown in fig. 7, the parameter sending unit 43 may include:
a parameter encoding unit 431, configured to encode the command line parameter to obtain an encoded command line parameter;
an encoding parameter sending unit 432, configured to send the encoded command line parameter to the queried message window, so that the process created when the application program is started for the first time reads the encoded command line parameter from the queried message window, and executes the encoded command line parameter after parsing.
Optionally, the encoding parameter sending unit 432 may specifically include:
and the first coding parameter sending subunit is used for sending the coded command line parameters to the inquired message window in a Windows message form.
The application also provides a terminal device, which comprises the single-process data processing device. As for the hardware structure of the terminal device, referring to fig. 8, fig. 8 is a schematic diagram of the hardware structure of the terminal device provided in the embodiment of the present application. As shown in fig. 8, the terminal device may include:
a processor 1, a communication interface 2, a memory 3, a communication bus 4, and a display screen 5;
the processor 1, the communication interface 2, the memory 3 and the display screen 5 are communicated with each other through a communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;
a processor 1 for executing a program;
a memory 3 for storing a program;
the program may include program code including operating instructions of the processor.
The processor 1 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present application.
The memory 3 may comprise a high-speed RAM memory and may also comprise a non-volatile memory, such as at least one disk memory.
Among them, the procedure can be specifically used for:
responding to an application program starting request, and creating a process corresponding to the application program as a current process, wherein the current process comprises command line parameters;
inquiring whether a message window corresponding to the application program exists or not;
if so, sending the command line parameters to the inquired message window so that the process created when the application program is started for the first time reads the command line parameters from the inquired message window and executes the command line parameters, wherein the inquired message window is created when the application program is started for the first time;
and destroying the current process.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A single-process data processing method is characterized by comprising the following steps:
responding to an application program starting request, and creating a process corresponding to the application program as a current process, wherein the current process comprises command line parameters;
inquiring whether a message window corresponding to the application program exists or not;
if so, sending the command line parameters to a queried message window so that a process created when an application program is started for the first time reads the command line parameters from the queried message window and executes the command line parameters, wherein the queried message window is created when the application program is started for the first time, the message window is a transparent window used for loading messages corresponding to the application program, and one application program corresponds to one message window;
and destroying the current process.
2. The method of claim 1, wherein querying whether a message window corresponding to the application exists comprises:
reading a preset message window class name which has a corresponding relation with the application program;
and inquiring whether a message window with the same class name as the class name of the message window exists or not, if so, determining that the message window corresponding to the application program exists, and if not, determining that the message window corresponding to the application program does not exist.
3. The method of claim 2, wherein upon determining that there is no message window corresponding to the application, the method further comprises:
and creating a message window, wherein the class name of the message window is the class name of the message window which has the corresponding relation with the application program.
4. The method of claim 1, wherein sending the command line parameters to the queried message window comprises:
coding the command line parameters to obtain coded command line parameters;
and sending the coded command line parameters to a queried message window so that the coded command line parameters are read from the queried message window by a process established when an application program is started for the first time, and are analyzed and executed.
5. The method of claim 4, wherein sending the encoded command line parameters to the queried message window comprises:
and sending the coded command line parameters to the inquired message window in a Windows message form.
6. A single-process data processing apparatus, comprising:
the system comprises a process creating unit, a processing unit and a processing unit, wherein the process creating unit is used for responding to an application program starting request and creating a process corresponding to the application program as a current process, and the current process comprises command line parameters;
the window inquiry unit is used for inquiring whether a message window corresponding to the application program exists or not;
a parameter sending unit, configured to send the command line parameter to a queried message window when querying the message window corresponding to the application program, so that a process created when the application program is started for the first time reads and executes the command line parameter from the queried message window, where the queried message window is created when the application program is started for the first time, the message window is a transparent window for loading a message corresponding to the application program, and one application program corresponds to one message window;
and the process destroying unit is used for destroying the current process.
7. The apparatus of claim 6, wherein the window searching unit comprises:
the class name reading unit is used for reading a preset message window class name which has a corresponding relation with the application program;
and the class name matching unit is used for inquiring whether a message window with the same class name as the class name of the message window exists or not, if so, determining that the message window corresponding to the application program exists, and if not, determining that the message window corresponding to the application program does not exist.
8. The apparatus of claim 7, further comprising:
and the window creating unit is used for creating the message window when determining that the message window corresponding to the application program does not exist, and the class name of the message window is the class name of the message window which has the corresponding relation with the application program.
9. The apparatus of claim 6, wherein the parameter sending unit comprises:
the parameter coding unit is used for coding the command line parameters to obtain coded command line parameters;
and the coding parameter sending unit is used for sending the coded command line parameters to the inquired message window so as to enable the process created when the application program is started for the first time to read the coded command line parameters from the inquired message window and execute the coded command line parameters after analysis.
10. The apparatus of claim 9, wherein the coding parameter sending unit comprises:
and the first coding parameter sending subunit is used for sending the coded command line parameters to the inquired message window in a Windows message form.
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 CN105528257A (en) 2016-04-27
CN105528257B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975311B (en) * 2016-05-09 2021-01-29 腾讯科技(深圳)有限公司 Application starting method and device
CN109375991B (en) * 2017-08-10 2021-07-27 中国石油化工股份有限公司 Method and system for transforming single process into multiple processes
CN109189498B (en) * 2018-08-07 2021-09-07 武汉斗鱼网络科技有限公司 Android horizontal and vertical screen data synchronization method and device, terminal and readable medium
CN110968368B (en) * 2018-09-30 2022-05-13 武汉斗鱼网络科技有限公司 Live broadcast data processing method and related equipment thereof
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
CN113448651B (en) * 2021-08-31 2021-12-14 北京鲸鲮信息系统技术有限公司 Method and device for realizing application singleton function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388214C (en) * 2005-12-30 2008-05-14 北京金山软件有限公司 Resources calling method in multiline range process
CN100392599C (en) * 2006-01-10 2008-06-04 杭州东信灵通电子实业公司 Universal interprocess communication achieving method
CN101276296B (en) * 2007-03-29 2011-03-09 上海新跃仪表厂 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (2)

* Cited by examiner, † Cited by third party
Title
使用WPF创建单实例应用程序;Dorisoy;《https://www.cnblogs.com/mschen/p/4303944.html》;20150227;第1-5页 *
腾讯照片管家PC客户端的设计与实现;王军;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150715;I138-95 *

Also Published As

Publication number Publication date
CN105528257A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN105528257B (en) Single-process data processing method and device
CN108845816B (en) Application program updating method, system, computer device and storage medium
US9336001B2 (en) Dynamic instrumentation
WO2016177341A1 (en) Interface calling method and device, and terminal
CN110888842A (en) File storage method, file query method, file storage device, file query device and file query equipment
CN110609755A (en) Message processing method, device, equipment and medium for cross-block chain node
CN108241496B (en) Smooth upgrading method and device for application program
CN107818023B (en) Thread-based message processing method, intelligent device and storage medium
CN108021405B (en) Method and device for driving storage medium in SOC system starting process
CN108549534B (en) Graphical user interface redrawing method, terminal device and computer-readable storage medium
CN110888844A (en) Data deleting method, system, equipment and computer readable storage medium
CN104503750A (en) Process clearing method and process clearing device
CN113342554B (en) IO multiplexing method, medium, device and operating system
CN111008254A (en) Object creating method and device, computer equipment and storage medium
CN107844310B (en) Configuration information updating method and system
CN111045789B (en) Virtual machine starting method and device, electronic equipment and storage medium
CN106550021B (en) Push method and device for push message
CN109240773B (en) Method, device, terminal and readable storage medium for solving room string data
CN113746932B (en) Network request merging method, device, electronic device and computer program product
CN115373815A (en) Task scheduling method and device, electronic equipment and storage medium
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
CN107632893B (en) Message queue processing method and device
CN114866517A (en) Installation file execution method and device and storage medium
CN108809763B (en) Network performance parameter acquisition method, terminal device and storage medium
CN108804195B (en) Page display method and device, server and client

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

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.

TR01 Transfer of patent right