CN110007936A - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN110007936A CN110007936A CN201910303574.9A CN201910303574A CN110007936A CN 110007936 A CN110007936 A CN 110007936A CN 201910303574 A CN201910303574 A CN 201910303574A CN 110007936 A CN110007936 A CN 110007936A
- Authority
- CN
- China
- Prior art keywords
- small routine
- running background
- small
- data
- routine
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 24
- 230000010354 integration Effects 0.000 claims abstract description 6
- 230000000007 visual effect Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 4
- 238000013497 data interchange Methods 0.000 abstract description 5
- 238000012545 processing Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 238000012800 visualization Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/541—Interprogram communication via adapters, e.g. between incompatible applications
Abstract
The embodiment of the present application discloses data processing method and device.The above method and device are applied to terminal device.The target host application integration of the installing terminal equipment has at least one small routine, which includes the first small routine and the second small routine.One specific embodiment of this method includes: default running background interface to be called, in running background second small routine in response to receiving running first small routine to the data acquisition request of second small routine not in operation;The data of second small routine are supplied to first small routine.The embodiment of the present application can run the small routine in the way of the starting of backstage, and the data of the small routine are supplied to other small routines in the case where user's inactive small routine.The demand of other small routines can be answered to carry out the data interchange between small routine at any time in this way, and do not influence user currently in the operation on foreground.
Description
Technical field
The invention relates to field of computer technology, and in particular at Internet technical field more particularly to data
Manage method and apparatus.
Background technique
It can integrate various small routines in host's application, if terminal device is by one of small routine
Data are supplied to another small routine, generally require the two small routines all in operation.
In the prior art, it needs user to start the two small routines, is just able to achieve above-mentioned data and process is provided, because
And the data interchange between small routine has biggish condition to limit.
Summary of the invention
The embodiment of the present application proposes data processing method and device.
In a first aspect, the embodiment of the present application provides a kind of data processing method, it is applied to terminal device, comprising: terminal
The target host application integration of equipment installation has at least one small routine, at least one small routine includes the first small routine and second
Small routine;Method includes: in response to receiving running first small routine to the data of the second small routine not in operation
Acquisition request calls default running background interface, in the second small routine of running background;The data of second small routine are supplied to
One small routine.
Second aspect, the embodiment of the present application provide a kind of data processing equipment, are applied to terminal device, terminal device peace
The target host application integration of dress has at least one small routine, at least one small routine includes the first small routine and the second little Cheng
Sequence;Device includes: running unit, be configured in response to receive running first small routine to not in operation second
The data acquisition request of small routine calls default running background interface, in the second small routine of running background;Unit is provided, is matched
It is set to and the data of the second small routine is supplied to the first small routine.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress
It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more
A processor realizes the method such as any embodiment in data processing method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the method such as any embodiment in data processing method when the program is executed by processor.
Data processing scheme provided by the embodiments of the present application is applied to terminal device, the target host of installing terminal equipment
Application integration has at least one small routine, at least one small routine includes the first small routine and the second small routine.Firstly, in response to
Running first small routine is received to the data acquisition request of the second small routine not in operation, default backstage is called to transport
Line interface, in the second small routine of running background.Later, the data of the second small routine are supplied to the first small routine.The application is real
The scheme for applying example offer can run the small routine in the way of the starting of backstage in the case where user's inactive small routine,
And the data of the small routine are supplied to other small routines.Between the demand of other small routines can be answered to carry out small routine at any time in this way
Data interchange, and do not influence user currently in the operation on foreground.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the data processing method of the application;
Fig. 3 is the schematic diagram according to host's application scenarios of the data processing method of the application;
Fig. 4 is the flow chart according to another embodiment of the data processing method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the data processing equipment of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be with host using the data processing method of the application or the example of the embodiment of data processing equipment
Property system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end host applications, such as data processing place can be installed on terminal device 101,102,103
Main application, video class host application, live streaming host's application, instant messaging tools, mailbox client, social platform software etc..
Here terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,
103 be hardware when, can be the various electronic equipments with display screen, including but not limited to smart phone, tablet computer, electronics
Book reader, pocket computer on knee and desktop computer etc..It, can be with when terminal device 101,102,103 is software
It is mounted in above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing distribution in it
The multiple softwares or software module of formula service), single software or software module also may be implemented into.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as provide support to terminal device 101,102,103
Background server.Background server can analyze the data such as the small routine mark for being integrated in host's application received
Deng processing, and processing result (such as data acquisition request) is fed back into terminal device.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process 200 of one embodiment of the data processing method according to the application is shown.The number
According to processing method, comprising the following steps:
Step 201, in response to receiving running first small routine to the data of the second small routine not in operation
Acquisition request calls default running background interface, in the second small routine of running background.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of data processing method can be in response to
Data acquisition request is received, the default running background interface of the second small routine is called, in above-mentioned second small routine of running background.
Received data acquisition request can be server transmission, be also possible to user to the predetermined registration operation of terminal device.Data
Acquisition request is for requesting above-mentioned executing subject that the data of the second small routine are supplied to above-mentioned first small routine.Here data
It can be user behavior data, userspersonal information and/or small routine running log etc..User behavior data refer to user about
Data caused by the behavior of small routine.For example, user behavior data may include user by small routine access webpage when
Between and webpage network address.Userspersonal information can refer to the name of user, gender, height etc..Default running background interface refers to
It can star the interface that the running background of small routine is shown to user without being used in foreground.
Each small routine operation platform can correspond to a default running background interface, in this way, above-mentioned executing subject can be with
Call each small routine of the interface in running background small routine operation platform.In addition it is also possible to be each small routine or
Each corresponding default running background interface of host's application, in this way, above-mentioned executing subject can call different small routines respectively
Default running background interface in each small routine of running background, or the same default running background interface is called, on backstage
Run each small routine that host's application integrates.Host's application refers to that there are the applications of small routine operation platform.
In some optional implementations of the present embodiment, information caused by the running background process of the second small routine
For non-visual information.
In these optional implementations, the running background process of the second small routine will not be generated for showing to user
Visual information, that is, be used in the second small routine operation description components in include generate visual information logic,
It is that the logic is strictly forbidden to realize.Thread corresponding to running background can be carried out at non-visualization thread stack, to realize
The information of generation is non-visual information.Specifically, visual information is the information for showing to user, for example, interface and
Element in interface.
In this way, memory source can be saved, while ensuring not show the small routine just in running background on foreground.
In some optional host's application scenarios of these implementations, method further include: in response to detecting to
The visual information of two small routines generates operation, calls preset interface, generates visualization using the description components of the second small routine
Information;By the second small routine, visual information is shown in terminal device.
In these optional host's application scenarios, above-mentioned executing subject can be believed in response to detecting the visualization of user
Breath generates operation, calls preset interface, generates visual information using description components, and show.Specifically, it is transported on backstage
During row if information generated be non-visual information, above-mentioned executing subject can by user front end operation touch
Hair calls preset interface, for example (Application Programming Interface, host application programming connect API
Mouthful) Lai Liyong description components generation visual information.In this way, user is just it can be seen that interface about the second small routine.
It include the same small routine operation platform in running background stack in some optional implementations of the present embodiment
The description components of at least one corresponding small routine.
In these optional implementations, running background stack can be arranged and be only capable of accommodating a description components, to
The corresponding component of other small routines is put into wherein, needs to remove existing description components.In addition it is also possible to running background
Stack setting can accommodate multiple description components, in order to which multiple small routines of a small routine operation platform carry out backstage fortune simultaneously
Row.
In some optional host's application scenarios of these implementations, method further include: in response to running background stack
In include the corresponding multiple small routines of the same small routine operation platform description components, utilize the preset group in running background stack
Part, in the multiple small routines of running background, wherein the description components of different small routines correspond to different operation processes.
In these optional host's application scenarios, each small routine has corresponding description components, different little Cheng
The description components of sequence are different.Also, different small routines is during carrying out running background using description components, each little Cheng
The operation process of sequence is independent from each other.
These host's application scenarios can carry out data isolation to the data in process corresponding to each small routine, to keep away
The data for exempting from small routine are arbitrarily used.
Step 202, the data of the second small routine are supplied to the first small routine.
In the present embodiment, after starting from the background and running the second small routine, above-mentioned executing subject can be second
Small routine in operation in the case where, the data of the second small routine are supplied to the first small routine.Above-mentioned executing subject can adopt
Data offer is carried out with various ways, for example, the data of the second small routine can be transmitted directly to first by above-mentioned executing subject
The corresponding server of small routine, for server use.In addition, above-mentioned executing subject can also utilize the use of the second small routine
Family personal information supplements the userspersonal information of the first small routine.
With continued reference to the signal that Fig. 3, Fig. 3 are according to host's application scenarios of the data processing method of the present embodiment
Figure.In host's application scenarios of Fig. 3, instant messaging host's application integration of installing terminal equipment has 3 small routines, and this 3
Small routine includes a game small routine and a shopping small routine.Executing subject 301 can be running in response to receiving
Above-mentioned game small routine calls default running background to the data acquisition request 302 of above-mentioned shopping small routine not in operation
Interface 303, in the above-mentioned shopping small routine 304 of running background.The data of above-mentioned shopping small routine are supplied to above-mentioned game little Cheng
Sequence 305.
The method provided by the above embodiment of the application can be in the case where user's inactive small routine, using opening from the background
Dynamic mode runs the small routine, and the data of the small routine are supplied to other small routines.Other small routines can be answered in this way
Demand carry out the data interchange between small routine at any time, and do not influence user currently in the operation on foreground.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of data processing method.The data processing
The process 400 of method, comprising the following steps:
Step 401, running background stack is arranged in the small routine operation platform run on to the second small routine, wherein backstage
Running stack is for the small routine in small routine operation platform in running background.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of data processing method operation thereon
The running background stack for small routine in running background small routine operation platform can be arranged.Above-mentioned small routine operation platform is
The small routine operation platform that second small routine is run on, small routine in all small routine operation platforms can be based on should
Running background stack carries out running background.
Running background stack and small routine operation platform have one-to-one relationship, each little Cheng that can be applied to target host
A running background stack is arranged in sort run platform.In this way, the small routine in the small routine operation platform can be based on running background
Stack carries out running background.Running background stack is execution stack (execution stack), can be used for storing the little Cheng being currently running
The component of sequence stores information using the rule that last in, first out in running background stack.Here running background stack can reside in
In above-mentioned non-visualization thread stack.
Small routine operation platform is used to provide running environment in host's application for small routine, is that small routine can be in host
The necessary condition started and run in.Small routine operation platform can be provided to small routine interface to be shown template,
Browser and for different hosts application or different operating system personalized service.Terminal device is installed any one
May exist multiple and different small routine operation platforms in a host's application.
Step 402, in response to receiving running first small routine to the data of the second small routine not in operation
Acquisition request calls default running background interface, in the second small routine of running background.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of data processing method can be in response to
Data acquisition request is received, the default running background interface of the second small routine is called, in above-mentioned second small routine of running background.
Received data acquisition request can be server transmission, be also possible to user to the predetermined registration operation of terminal device.Data
Acquisition request is for requesting above-mentioned executing subject that the data of the second small routine are supplied to above-mentioned first small routine.
In some optional implementations of the present embodiment, step 402 may include:
Default running background interface is called, running background stack is added in the description components of the second small routine;It is transported using backstage
Description components in broker's storehouse, in the second small routine of running background.
In these optional implementations, above-mentioned executing subject can call default running background interface, by second
Running background stack is added in the description components of small routine.In this way, above-mentioned executing subject can use the preset group in running background stack
Part carries out running background.These implementations can not include the case where the description components of the second small routine in running background stack
Under, the description components are added, and utilize running background stack, realizes the running background of the second small routine, and then realize the first little Cheng
The data interchange of sequence and the second small routine.
In some optional implementations of the present embodiment, step 402 may include:
If it is determined that include the description components of the second small routine in running background stack, using description components, in running background the
Two small routines.
In these optional implementations, whether it includes second that above-mentioned executing subject can be determined first in running background stack
The description components of small routine, and in running background stack include above-mentioned description components in the case where, directly utilize description components into
Row running background.Above-mentioned executing subject can call above-mentioned default running background interface to find and start above-mentioned preset group
Part, and then realize using description components in the second small routine of running background.
Step 403, the data of the second small routine are supplied to the first small routine.
In the present embodiment, after starting from the background and running the second small routine, above-mentioned executing subject can be second
Small routine in operation in the state of, the data of the second small routine are supplied to the first small routine.Above-mentioned executing subject can adopt
Data offer is carried out with various ways, for example, the data of the second small routine can be transmitted directly to first by above-mentioned executing subject
The corresponding server of small routine, for server use.In addition, above-mentioned executing subject can also utilize the use of the second small routine
Family personal information supplements the userspersonal information of the first small routine.
In some optional implementations of the present embodiment, step 403 may include:
Determine the data acquisition permission for obtaining the data of the second small routine;In response to determining the number of data acquisition permission instruction
Include the first small routine according to main body is obtained, the data of the second small routine are supplied to the first small routine.
In these optional implementations, above-mentioned executing subject can determine the data acquisition permission of the second small routine.
If the data acquisition main body of data acquisition permission instruction includes the first small routine, the data that can state the second small routine are supplied to
First small routine.Data acquisition permission can indicate the data acquisition main body with the permission for obtaining data, also can be by the
The data of two small routines are supplied to those small routines.Data acquisition permission can store file corresponding in small routine operation platform
In or the corresponding file of small routine in.These implementations can accurately determine out above-mentioned execution by data acquisition permission
Which small routine is the data of second small routine can be supplied to by main body, to prevent the data of the second small routine from arbitrarily being made
With.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of data processing dresses
The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively
In kind electronic equipment.
As shown in figure 5, the data processing equipment 500 of the present embodiment includes: running unit 501 and offer unit 502.Its
In, running unit 501 is configured in response to receive running first small routine to the second small routine not in operation
Data acquisition request, default running background interface is called, in the second small routine of running background;Unit 502 is provided, is configured to
The data of second small routine are supplied to the first small routine.
In some embodiments, the running unit 501 of data processing equipment 500 can be asked in response to receiving data acquisition
It asks, the default running background interface of the second small routine is called, in above-mentioned second small routine of running background.Received data obtains
Request can be server transmission, be also possible to user to the predetermined registration operation of terminal device.
In some embodiments, provide unit 502 the second small routine in operation in the case where, by the second small routine
Data are supplied to the first small routine.Above-mentioned executing subject can carry out data offer using various ways, for example, above-mentioned execution master
The data of second small routine can be transmitted directly to the corresponding server of the first small routine by body, for server use.
In some optional implementations of the present embodiment, device further include: setting unit is configured to small to second
Running background stack is arranged in the small routine operation platform that program is run on, wherein running background stack is used for small routine operation platform
In small routine in running background.
In some optional implementations of the present embodiment, running unit is further configured to as follows
It executes and calls default running background interface, in the second small routine of running background: default running background interface is called, by the second little Cheng
Running background stack is added in the description components of sequence;Using the description components in running background stack, in the second small routine of running background.
In some optional implementations of the present embodiment, running unit is further configured to as follows
It executes and calls default running background interface, in the second small routine of running background: if it is determined that including the second little Cheng in running background stack
The description components of sequence, using description components, in the second small routine of running background.
In some optional implementations of the present embodiment, information caused by the running background process of the second small routine
For non-visual information.
In some optional implementations of the present embodiment, device further include: generation unit is configured in response to examine
It measures and operation is generated to the visual information of the second small routine, call preset interface, it is raw using the description components of the second small routine
At visual information;Display unit, is configured to through the second small routine, shows visual information in terminal device.
In some optional implementations of the present embodiment, unit is provided, is further configured to as follows
It executes and the data of the second small routine is supplied to the first small routine: determining that the data acquisition for the data for obtaining the second small routine is weighed
Limit;In response to determining that the data acquisition main body of data acquisition permission instruction includes the first small routine, by the data of the second small routine
It is supplied to the first small routine.
It include the same small routine operation platform in running background stack in some optional implementations of the present embodiment
The description components of at least one corresponding small routine.
In some optional implementations of the present embodiment, device further include: execution unit, after being configured in response to
It include the description components of the corresponding multiple small routines of the same small routine operation platform in platform running stack, using in running background stack
Description components, in the multiple small routines of running background, wherein the description components of different small routines correspond to different operation processes.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.)
601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608
Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment
Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM603 are connected with each other by bus 604.
Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 607 of dynamic device etc.;Storage device 608;And communication device 609.Communication device 609 can permit electronic equipment
600 are wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows the electronic equipment with various devices
600, it should be understood that being not required for implementing or having all devices shown.It can alternatively implement or have more
Or less device.Each box shown in Fig. 6 can represent a device, also can according to need and represent multiple devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608
It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the implementation of the disclosure is executed
The above-mentioned function of being limited in the method for example.It should be noted that the computer-readable medium of embodiment of the disclosure can be meter
Calculation machine readable signal medium or computer readable storage medium either the two any combination.Computer-readable storage
Medium for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor,
Or any above combination.The more specific example of computer readable storage medium can include but is not limited to: have one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM),
Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In embodiment of the disclosure, computer-readable to deposit
Storage media can be any tangible medium for including or store program, which can be commanded execution system, device or device
Part use or in connection.And in embodiment of the disclosure, computer-readable signal media may include in base band
In or as carrier wave a part propagate data-signal, wherein carrying computer-readable program code.This propagation
Data-signal can take various forms, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Meter
Calculation machine readable signal medium can also be any computer-readable medium other than computer readable storage medium, which can
Read signal medium can be sent, propagated or be transmitted for being used by instruction execution system, device or device or being tied with it
Close the program used.The program code for including on computer-readable medium can transmit with any suitable medium, including but not
It is limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
It includes running unit and unit is provided.Wherein, the title of these units does not constitute the limit to the unit itself under certain conditions
It is fixed, for example, providing unit is also described as " data of the second small routine are supplied to the unit of the first small routine ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device: it in response to receiving running first small routine to the data acquisition request of the second small routine not in operation, adjusts
With default running background interface, in the second small routine of running background;The data of second small routine are supplied to the first small routine.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (11)
1. a kind of data processing method, be applied to terminal device, the target host application integration of the installing terminal equipment have to
A few small routine, at least one described small routine include the first small routine and the second small routine;The described method includes:
In response to receiving running first small routine to the data acquisition of second small routine not in operation
Default running background interface, the second small routine described in running background are called in request;
The data of second small routine are supplied to first small routine.
2. according to the method described in claim 1, wherein, in response to receiving running first small routine to not existing
The data acquisition request of running second small routine calls default running background interface, second described in the running background
Before small routine, the method also includes:
Running background stack is arranged in the small routine operation platform run on to second small routine, wherein the running background
Stack is for the small routine in the small routine operation platform in running background.
3. described to call default running background interface according to the method described in claim 2, wherein, the described in the running background
Two small routines, comprising:
The default running background interface is called, the running background stack is added in the description components of second small routine;
Using the description components in the running background stack, the second small routine described in running background.
4. described to call default running background interface according to the method described in claim 2, wherein, the described in the running background
Two small routines, comprising:
If it is determined that including the description components of second small routine in the running background stack, using the description components, rear
Platform runs second small routine.
5. according to the method described in claim 1, wherein, information caused by the running background process of second small routine is
Non- visual information.
6. according to the method described in claim 5, wherein, the method also includes:
Operation is generated to the visual information of second small routine in response to detecting, calls preset interface, utilizes described the
The description components of two small routines generate visual information;
By second small routine, the visual information is shown in the terminal device.
7. according to the method described in claim 1, wherein, it is small that the data by second small routine are supplied to described first
Program, comprising:
Determine the data acquisition permission for obtaining the data of second small routine;
Data acquisition main body in response to the determination data acquisition permission instruction includes first small routine, by described second
The data of small routine are supplied to first small routine.
8. according to the method described in claim 1, including the same small routine operation platform pair in the running background stack wherein
The description components at least one small routine answered.
9. according to the method described in claim 8, wherein, the method also includes:
In response to including the description components of the corresponding multiple small routines of the same small routine operation platform in running background stack, utilize
The description components in the running background stack, in the multiple small routine of running background, wherein different small routines are preset
Component corresponds to different operation processes.
10. a kind of electronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-9.
11. a kind of computer readable storage medium, is stored thereon with computer program, wherein when the program is executed by processor
Realize the method as described in any in claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910303574.9A CN110007936B (en) | 2019-04-16 | 2019-04-16 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910303574.9A CN110007936B (en) | 2019-04-16 | 2019-04-16 | Data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110007936A true CN110007936A (en) | 2019-07-12 |
CN110007936B CN110007936B (en) | 2022-04-29 |
Family
ID=67172154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910303574.9A Active CN110007936B (en) | 2019-04-16 | 2019-04-16 | Data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007936B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110865855A (en) * | 2019-11-18 | 2020-03-06 | 百度在线网络技术(北京)有限公司 | Applet processing method and related device |
CN112565466A (en) * | 2021-02-20 | 2021-03-26 | 支付宝(杭州)信息技术有限公司 | Method and device for cross-application association of users |
CN112579213A (en) * | 2019-09-29 | 2021-03-30 | 北京国双科技有限公司 | Method, device, terminal, server and storage medium for associating small program data |
WO2022134425A1 (en) * | 2020-12-23 | 2022-06-30 | 北京百度网讯科技有限公司 | Applet running method and apparatus, electronic device, and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017136005A1 (en) * | 2016-02-02 | 2017-08-10 | Koeuth Lynetta Hawkins | K i h panels |
CN108170362A (en) * | 2017-12-28 | 2018-06-15 | 维沃移动通信有限公司 | A kind of application operation condition control method and mobile terminal |
CN108196930A (en) * | 2018-01-18 | 2018-06-22 | 腾讯科技(深圳)有限公司 | Applied program processing method, device, storage medium and computer equipment |
CN108933838A (en) * | 2018-08-08 | 2018-12-04 | 网易(杭州)网络有限公司 | Application data processing method and device |
CN109525584A (en) * | 2018-11-26 | 2019-03-26 | 竞技世界(北京)网络技术有限公司 | A method of the building cross-platform polymorphic type application container in mobile terminal |
-
2019
- 2019-04-16 CN CN201910303574.9A patent/CN110007936B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017136005A1 (en) * | 2016-02-02 | 2017-08-10 | Koeuth Lynetta Hawkins | K i h panels |
CN108170362A (en) * | 2017-12-28 | 2018-06-15 | 维沃移动通信有限公司 | A kind of application operation condition control method and mobile terminal |
CN108196930A (en) * | 2018-01-18 | 2018-06-22 | 腾讯科技(深圳)有限公司 | Applied program processing method, device, storage medium and computer equipment |
CN108933838A (en) * | 2018-08-08 | 2018-12-04 | 网易(杭州)网络有限公司 | Application data processing method and device |
CN109525584A (en) * | 2018-11-26 | 2019-03-26 | 竞技世界(北京)网络技术有限公司 | A method of the building cross-platform polymorphic type application container in mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579213A (en) * | 2019-09-29 | 2021-03-30 | 北京国双科技有限公司 | Method, device, terminal, server and storage medium for associating small program data |
CN110865855A (en) * | 2019-11-18 | 2020-03-06 | 百度在线网络技术(北京)有限公司 | Applet processing method and related device |
CN110865855B (en) * | 2019-11-18 | 2023-10-27 | 百度在线网络技术(北京)有限公司 | Applet processing method and related equipment |
WO2022134425A1 (en) * | 2020-12-23 | 2022-06-30 | 北京百度网讯科技有限公司 | Applet running method and apparatus, electronic device, and medium |
CN112565466A (en) * | 2021-02-20 | 2021-03-26 | 支付宝(杭州)信息技术有限公司 | Method and device for cross-application association of users |
CN112565466B (en) * | 2021-02-20 | 2021-04-27 | 支付宝(杭州)信息技术有限公司 | Method and device for cross-application association of users |
Also Published As
Publication number | Publication date |
---|---|
CN110007936B (en) | 2022-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110007936A (en) | Data processing method and device | |
CN109995877A (en) | Information-pushing method and device | |
CN110377440B (en) | Information processing method and device | |
CN110321738A (en) | Information processing method and device | |
CN110069919B (en) | Information acquisition method and device | |
CN109255337A (en) | Face critical point detection method and apparatus | |
CN109582873A (en) | Method and apparatus for pushed information | |
CN109684188A (en) | Test method and device | |
CN110516678A (en) | Image processing method and device | |
CN110391938A (en) | Method and apparatus for deployment services | |
CN109992406A (en) | The method and client that picture requesting method, response picture are requested | |
CN109408748A (en) | Method and apparatus for handling information | |
CN109688086A (en) | Authority control method and device for terminal device | |
CN108805379A (en) | Support that multi-mode is honoured an agreement the system and method for flow | |
CN108733527A (en) | System, method and apparatus for test server function | |
CN110046000A (en) | Small routine operation method and device | |
CN109597912A (en) | Method for handling picture | |
CN109413056A (en) | Method and apparatus for handling information | |
CN108959102A (en) | Method and apparatus for generating test data, test application to be tested | |
CN111626802A (en) | Method and apparatus for processing information | |
CN109949806A (en) | Information interacting method and device | |
CN109271397A (en) | Method and apparatus for handling information | |
CN109145591A (en) | The plug-in loading method of application program | |
CN109408647A (en) | Method and apparatus for handling information | |
CN109491830A (en) | The method and system in switch data source |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231108 Address after: 200240 building 41, 398 Heqing Road, Minhang District, Shanghai Patentee after: Shanghai Chenlian Technology Co.,Ltd. Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |