CN110083467A - Processing method, equipment and the computer storage medium of small routine message - Google Patents
Processing method, equipment and the computer storage medium of small routine message Download PDFInfo
- Publication number
- CN110083467A CN110083467A CN201910358913.3A CN201910358913A CN110083467A CN 110083467 A CN110083467 A CN 110083467A CN 201910358913 A CN201910358913 A CN 201910358913A CN 110083467 A CN110083467 A CN 110083467A
- Authority
- CN
- China
- Prior art keywords
- small routine
- message
- message body
- data
- host
- 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
Classifications
-
- 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/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides processing method, equipment and the computer storage mediums of a kind of small routine message, wherein method includes: that small routine obtains the small routine message data and session object information to be sent, and the small routine message data includes: message content data and showing structural information;The server end that the small routine message data and session object information are applied to host is sent, is applied so that the small routine message data is sent to the corresponding host of the session object information by server end;Wherein, the small routine message data shows corresponding small routine message body for host's application.The present invention can facilitate that the developer of small routine message is autonomous, neatly controls showing for small routine message.
Description
[technical field]
The present invention relates to computer application technology, in particular to a kind of processing method of small routine message, equipment and
Computer storage medium.
[background technique]
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description is not regarded as the prior art because being included in this section.
Small routine (Mini Program) is that one kind does not need the i.e. workable application of downloading installation, runs on host and answers
In the environment of offer.It is more and more widely used due to can be used at any time without install unloading.User makes
Small routine message is sent or received with usually may require that during small routine, the transmitting of small routine message relies on host to answer at present
With.The server end applied from small routine to host provides message content data, such as picture, title etc., is applied by host
Server end by the message content data and pre-set template be supplied to host application, by host apply to message content
Data pass through session showing interface after being assembled, which is linked to the small routine interface of setting.When user exists
When small routine message is clicked at the session interface of host's application, fixation jumps to corresponding small routine interface.
Obviously, the form constrained that shows of existing small routine message is applied in host, and the developer of small routine message can not be certainly
Master neatly controls showing for small routine message.
[summary of the invention]
In view of this, the present invention provides processing method, equipment and the computer storage medium of a kind of small routine message, with
Facilitate that the developer of small routine message is autonomous, neatly controls showing for small routine message.
Specific technical solution is as follows:
In a first aspect, the present invention provides a kind of processing methods of small routine message, this method comprises:
Small routine obtains the small routine message data and session object information to be sent, the small routine message packets
It includes: message content data and showing structural information;
The server end that the small routine message data and session object information are applied to host is sent, so as to server end
The small routine message data is sent to the corresponding host's application of the session object information;
Wherein, the small routine message data shows corresponding small routine message body for host's application.
A preferred embodiment according to the present invention, small routine obtain the small routine message data to be sent and session object letter
Breath includes:
Small routine obtains the small routine message data to be sent and institute of the user by the sharing function triggering in small routine
State the session object information that user selects in the sharing function;Alternatively,
Small routine obtains the notice class small routine message data of user's payment or submission form triggering, and by the letter of the user
Breath is used as session object information.
A preferred embodiment according to the present invention, the small routine message data further include: executable code segment;
The executable code segment is used to respond being generated by the message body of returning after the message body is demonstrated
Event.
A preferred embodiment according to the present invention, by the event that the message body generates include: user's alternative events and/or
The program run case of the message body.
A preferred embodiment according to the present invention, the executable code segment is for responding after the message body is demonstrated
Passback the event generated by the message body include:
The executable code segment is according to the displaying content for changing the message body by the event that the message body generates
Or form;Alternatively,
The executable code segment according to the event generated by the message body, open webpage, small routine or other answer
Interface.
A preferred embodiment according to the present invention, the event generated by the message body are returned and are synchronized to same session
In each message body executable code segment.
Second aspect, the present invention also provides a kind of processing methods of small routine message, this method comprises:
The server of host's application obtains small routine message data and session object information that small routine is sent, the little Cheng
Sequence message data includes: message content data and showing structural information;
The small routine message data is sent to the corresponding host's application of the session object information;
Wherein, the small routine message data shows corresponding small routine message body for host's application.
A preferred embodiment according to the present invention, the small routine message data further include: executable code segment;
The executable code segment is used to respond being generated by the message body of returning after the message body is demonstrated
Event.
A preferred embodiment according to the present invention, this method further include:
The event of passback described in the server sync of host's application generated by the message body is into same session
The executable code segment of each message body.
The third aspect, the present invention also provides a kind of processing methods of small routine message, this method comprises:
Host's application, which receives after server gets the small routine message data and session object information that small routine is sent, to be turned
The small routine message data of hair, the host applies to apply for the corresponding host of the session object information, and the small routine disappears
Breath data include: message content data and show structural information;
Show corresponding small routine message body of the small routine message data.
A preferred embodiment according to the present invention, the small routine message data further include: executable code segment;
The executable code segment is used to respond being generated by the message body of returning after the message body is demonstrated
Event.
A preferred embodiment according to the present invention shows the corresponding small routine message body packet of the small routine message data
It includes:
Show structural information using described the message content data assembled, and is embedded in the executable segment,
Obtain small routine message body.
A preferred embodiment according to the present invention shows the corresponding small routine message body packet of the small routine message data
It includes:
At the session interface of the user with the small routine, the corresponding small routine message of the small routine message data is shown
Body;Alternatively,
At the interface of notification message, corresponding small routine message body of the small routine message data is shown.
Fourth aspect, the present invention also provides a kind of equipment, the equipment includes:
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 processing
Device realizes above-mentioned method.
5th aspect, the present invention also provides a kind of storage medium comprising computer executable instructions, the computers
Executable instruction by computer processor when being executed for executing method as described above.
As can be seen from the above technical solutions, by message content data and show structural information hair by small routine in the present invention
Server end is given, is shown so that server end forwards it to host's application.The developer or user of small routine in this way
Can it is autonomous, neatly customized small routine message shows structure, and be not only restricted to host's application.
[Detailed description of the invention]
Fig. 1 is the method flow diagram that the embodiment of the present invention one provides;
Fig. 2 is method flow diagram provided by Embodiment 2 of the present invention;
Fig. 3 a~Fig. 3 d is examples of interfaces figure provided in an embodiment of the present invention;
Fig. 4 shows the block diagram for being suitable for the exemplary computer system/server for being used to realize embodiment of the present invention.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
It is related to three main objects: the server end that small routine, host's application and host apply in the present invention.First
The concept and relationship of these three main objects are defined:
Small routine relies on host's application to run on terminal device, and the environment where small routine operation is that host's application provides
's.It is usually the server end for being transmitted to host's application by host's application by the message that small routine is sent, then is applied by host
Server end be transmitted to the session object information corresponding host application of the message.For the convenience of description, subsequent by host
The server end of application is referred to as server end.
Core of the invention thought is, by message content data and is showed structural information by small routine and is sent to server
End is shown so that server end forwards it to host's application.The developer or user of small routine in this way can be flexible
The customized small routine message in ground shows structure, and is not only restricted to host's application.Below with reference to embodiment to provided by the invention
Method is described in detail.
Embodiment one,
Fig. 1 is the method flow diagram that the embodiment of the present invention one provides, and as shown in fig. 1, this method may include following step
It is rapid:
In 101, small routine obtains the small routine message data and session object information to be sent, the small routine message
Data include message content data and show structural information.
The mode that triggering sends small routine message may include a variety of, including but not limited to following two:
First way: user sends small routine message by the sharing function triggering of small routine.Such as user is using
During small routine, the content on current small routine interface or the specified content share on small routine is want to give other use
Family can then trigger particular control on small routine interface and realize sharing function, when realizing sharing function, user can from
Specific user or group are selected in the list of family, and the session of small routine message is determined according to the specific user of user's selection or group
Object.It should be noted that " sharing " function above-mentioned in some small routines referred to as " may also forward " function etc., other claim
It exhales, but its purpose is provided to the content in small routine being sent to other users, within that scope of the present invention.
The second way: user's payment or submission form trigger notice class small routine message.It is provided in host's application platform
Some mechanism come the transmission of trigger notice class small routine message, existing mainly user payment or submission form to trigger,
But it is not limited to both mechanism.It is so-called notice class small routine message be namely based on user payment or submission form behavior to this
User sends based on notification message caused by these behaviors, and this kind of message is usually in the interface exhibition of the notification message of host's application
It is existing, such as " Service Notification " interface etc..Therefore, in this case, the session object of small routine message is exactly that triggering sends little Cheng
User of sequence message itself and the session between small routine server-side can be believed the information of the user as session object
Breath.
Above-mentioned message content data refers to textual resources, picture resource, video resource that message includes etc. and content phase
The data of pass.Showing structural information is that instruction message content data is showed according to which type of structure to obtain specific sample
Formula may include layout information and resource type information etc..
Wherein, showing structural information can be preset by the developer of small routine, can also be provided a user and be connect
Mouthful, it is preset by the interface to structural information is showed by user.It is automatic to carry when triggering sends small routine message
It is pre-set to show structural information.
Session object refers to that the small routine message session to be sent to, the session can be between user and user
, it can be group, be also possible to user and small routine server-side.Under normal conditions, each session can use session
ID (mark) is identified, and the user information for belonging to the session can be determined according to the session id.User is when using small routine
The general account using host's application directly logs in, then user information can be host using account information.The session pair
Image information is usually specified by user when triggering the transmission of small routine message, alternatively, then usual for notice class small routine message
Triggering is sent into the information of the user of small routine message as session object information.It the part also will be in subsequent specific embodiment
It is described in detail.
In 102, small routine sends the server end that small routine message data and session object information are applied to host.
The small routine message data and session object information that small routine is sent are sent by host's application of this terminal device
The server end applied to host.
In 103, small routine message data is sent to the corresponding host of session object information and applied by server end.
In embodiments of the present invention, the template data of small routine message is no longer determined by server end, but server end
It is main to execute forwarding capability, it include message content data and the small routine message for showing structural information by what is sent by small routine
Data forwarding is to the corresponding host application of session object information.
In 104, the corresponding host's application of session object information shows the corresponding small routine message of small routine message data
Body.
In embodiments of the present invention, all user informations in the session can be determined according to session object information, that
Above-mentioned small routine message data can be sent to host's application of all users in session.Host's application receives server end
After the small routine message data of transmission, shows structural information using therein message content data is assembled, obtain little Cheng
Sequence message body.
When showing of small routine message body is being carried out, it can be in the session interface with the user for sending small routine message, exhibition
Show small routine message body.For example, user A, which triggers small routine by the sharing function of small routine, sends small routine message data, meeting
Session of the object between user A and user B is talked about, then the host that user B is logged in applies session circle in user B and user A
Corresponding small routine message body of small routine message data is shown on face, at the same time, host's application that user A is logged in also can be
Corresponding small routine message body of small routine message data is shown on the session interface of user A and user B.
It can also be in corresponding small routine message body of showing interface small routine message data of notification message.For example, user A
Payment or submission form trigger notice class small routine message, at this time meeting of the session object between user A and small routine server-side
Words, then the small routine message data is sent to the host that user A is logged in and applied by server end, which applies disappears in notice
Corresponding small routine message body of small routine message data is shown on the interface of breath.
Embodiment two,
Fig. 2 is method flow diagram provided by Embodiment 2 of the present invention, and as shown in Figure 2, this method may include following step
It is rapid:
In 201, small routine obtains the small routine message data and session object information to be sent, the small routine message
Data include message content data, show structural information and executable code segment.
Similarly with embodiment one, triggering send small routine message mode may include it is a variety of, including but not limited to
Lower two kinds:
First way: user sends small routine message by the sharing function triggering of small routine.Such as user is using
During small routine, the content on current small routine interface or the specified content share on small routine is want to give other use
Family can then trigger particular control on small routine interface and realize sharing function, when realizing sharing function, user can from
Select specific user as the session object of small routine message in the list of family.It should be noted that in some small routines
Other addresses such as function may also referred to as " be forwarded " by stating " sharing " function, but its purpose is provided to the content in small routine
Other users are sent to, within that scope of the present invention.
The second way: user's payment or submission form trigger notice class small routine message.It is provided in host's application platform
Some mechanism come the transmission of trigger notice class small routine message, existing mainly user payment or submission form to trigger,
But it is not limited to both mechanism.It is so-called notice class small routine message be namely based on user payment or submission form behavior to this
User sends based on notification message caused by these behaviors, and this kind of message is usually in the interface exhibition of the notification message of host's application
It is existing, such as " Service Notification " interface etc..Therefore, in this case, the session object of small routine message is exactly that triggering sends little Cheng
The user of sequence message itself.
Above-mentioned message content data refers to textual resources, picture resource, video resource that message includes etc. and content phase
The data of pass.Showing structural information is that instruction message content data is showed according to which type of structure to obtain specific sample
Formula may include layout information and resource type information etc..
Wherein, showing structural information can be preset by the developer of small routine, can also be provided a user and be connect
Mouthful, it is preset by the interface to structural information is showed by user.It is automatic to carry when triggering sends small routine message
It is pre-set to show structural information.
Session object refers to the small routine message user information to be sent to, such as the account information of user.It is logical
In normal situation, user is directly logged in when using small routine using the account that host applies, then session object information is exactly this
The small routine message host to be sent to applies account information.The session object information is usually disappeared by user in triggering small routine
It is specified when the transmission of breath, alternatively, triggering then usually to be sent to the letter of the user of small routine message for notice class small routine message
Breath is used as session object information.
What is different from the first embodiment is that in the present embodiment, small routine message data further comprises executable code.
When i.e. user triggers transmission small routine message, pre-set executable code can be sent to host automatically together and answered by small routine
Server.The function of executable code will be described in detail in the next steps.
In embodiments of the present invention, the developer of small routine can be arranged different for different types of small routine message
Executable code.
In 202, small routine sends the server end that small routine message data and session object information are applied to host.
In 203, small routine message data is sent to the corresponding host of session object information and applied by server end.
Above-mentioned steps 202~203 are similar with a kind of step 102~103 of embodiment, only include in small routine message data
Executable code does not repeat them here.
In 204, the corresponding host of session object information apply using show structural information to message content data progress
Assembling, and it is embedded in executable segment, small routine message body is obtained, small routine message body is showed.
Similarly with embodiment one, when showing of small routine message body is being carried out, it can be with the corresponding meeting of session object information
Interface is talked about, shows small routine message body.Disappear for example, user A triggers small routine transmission small routine by the sharing function of small routine
Data, session of the session object between user A and user B are ceased, then the host that user B is logged in applies in user B and user A
Session interface on show corresponding small routine message body of small routine message data, at the same time, the host that user A is logged in answers
With can also show corresponding small routine message body of small routine message data on the session interface of user A and user B.
It can also be in corresponding small routine message body of showing interface small routine message data of notification message.For example, user A
Payment or submission form trigger notice class small routine message, at this time meeting of the session object between user A and small routine server-side
Words, then the small routine message data is sent to the host that user A is logged in and applied by server end, which applies disappears in notice
Corresponding small routine message body of small routine message data is shown on the interface of breath.
What is different from the first embodiment is that being embedded in executable code segment in the message body showed.Executable code segment
The event generated by message body returned after being demonstrated for response message body.That is, after small routine message body is demonstrated,
The event generated by the message body can be back to the executable code segment in the message body.
Wherein, it is transported by the program that the event that message body generates can include but is not limited to user's alternative events and/message body
Act part.
User's alternative events can include but is not limited to such as: click, sliding, long-pressing, mostly finger interaction on message body
Deng.The program run case of message body can include but is not limited to the showing of message body, the recalling of message body, the end of message body
Etc..
Executable code segment can change message body according to the event generated by message body and open up on host's application interface
The interior perhaps form shown.
For example, knowing that message body is in after executable code segment gets the event that message body shows and showing state.If
It further gets that two fingers of the user on the message body are opposite or reversed moving event, then can zoom in or out message body
Display.
For another example executable code segment get message body recall event after, can by message body carry out it is gradually light
The display of change is until message body disappears.
For another example executable code segment gets user on the message body showed to the point of " hiding/display " component
Event is hit, then show hiding message content or hides the message content shown.
Executable code segment can also open webpage, small routine or other application according to the event generated by message body
Interface.
For example, executable code segment get user on message body to the click event of specific link after, can touch
Hair opens small routine to show specific interface.
In addition, the event that message body generates in same session can be synchronized to the executable generation of all message bodies in the session
Chip segment.Such as include user A, B and C, after user A generates click event on message body, user A's in certain cluster conversation
The click event of passback is uploaded to host's application using the executable code segment of shown small routine message body by host
Server end, by server end by the host of the click event synchronization to user B and C using shown small routine message body can
Execute code snippet.Each host showed small routine message body of application in same session is thereby realized to be produced based on event
The interior perhaps form of raw small routine message body, which changes, to be synchronized.
It gives one example herein.
Assuming that user is in the use process of certain game class small routine, by triggering on small routine interface as shown in Figure 3a
Small routine message is sent, i.e. the button triggering of click " going to invite good friend in group " sends small routine message.User clicks and " goes in group
After invitation good friend " button, shows interface as shown in Figure 3b, the session object to be forwarded is selected from the interface.Such as user
" game group " is selected, then session object is exactly game group.
The information of small routine message data and session object is sent to the server of host's application, the small routine by small routine
Message content data is contained in message data, shows structural information and executable code segment.Wherein, message content data can
To be the text data about the selection of game role type.Showing structural information and executable code segment can be and Fig. 3 a institute
Show that game class small routine interface is corresponding and preset by the developer of the game class small routine.
Small routine message data is sent to the corresponding host of session object and applied by the server of host's application, that is, is sent to
The host of each user of game group applies.The host of each user of game group, which applies, shows knot using in small routine message data
Structure information assembles message content data, and is embedded in executable segment, obtains small routine message body, shows the small routine and disappear
Cease body.Small routine message body as shown in Figure 3c can be showed as the group message in " game group ".
Assuming that the component where group friend 1 clicks in small routine message body " chivalrous person " carries out game role selection, 2 points of group friend
Component where having hit " Master " carries out game role selection, and the component where group friend 3 clicks " king " carries out game role
Selection.These return to the executable code of small routine message body based on the click event of small routine message body, and in the meeting
Synchronous in all executable codes in words, executable code responds click event, changes the display of small routine message body
Content.Such as shown in Fig. 3 d, the user information of the role is selected in the component display where each role.
Fig. 4 shows the frame for being suitable for the exemplary computer system/server 012 for being used to realize embodiment of the present invention
Figure.The computer system/server 012 that Fig. 4 is shown is only an example, should not function and use to the embodiment of the present invention
Range band carrys out any restrictions.
As shown in figure 4, computer system/server 012 is showed in the form of universal computing device.Computer system/clothes
The component of business device 012 can include but is not limited to: one or more processor or processing unit 016, system storage
028, connect the bus 018 of different system components (including system storage 028 and processing unit 016).
Bus 018 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 012 typically comprises a variety of computer system readable media.These media, which can be, appoints
The usable medium what can be accessed by computer system/server 012, including volatile and non-volatile media, movably
With immovable medium.
System storage 028 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 030 and/or cache memory 032.Computer system/server 012 may further include other
Removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 034 can
For reading and writing immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although in Fig. 4
It is not shown, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to can
The CD drive of mobile anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these situations
Under, each driver can be connected by one or more data media interfaces with bus 018.Memory 028 may include
At least one program product, the program product have one group of (for example, at least one) program module, these program modules are configured
To execute the function of various embodiments of the present invention.
Program/utility 040 with one group of (at least one) program module 042, can store in such as memory
In 028, such program module 042 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 042 usually executes function and/or method in embodiment described in the invention.
Computer system/server 012 can also with one or more external equipments 014 (such as keyboard, sensing equipment,
Display 024 etc.) communication, in the present invention, computer system/server 012 is communicated with outside radar equipment, can also be with
One or more enable a user to the equipment interacted with the computer system/server 012 communication, and/or with make the meter
Any equipment (such as network interface card, the modulation that calculation machine systems/servers 012 can be communicated with one or more of the other calculating equipment
Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 022.Also, computer system/clothes
Being engaged in device 012 can also be by network adapter 020 and one or more network (such as local area network (LAN), wide area network (WAN)
And/or public network, such as internet) communication.As shown, network adapter 020 by bus 018 and computer system/
Other modules of server 012 communicate.It should be understood that although not shown in fig 4, computer system/server 012 can be combined
Using other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, external magnetic
Dish driving array, RAID system, tape drive and data backup storage system etc..
Processing unit 016 by the program that is stored in system storage 028 of operation, thereby executing various function application with
And data processing, such as realize method flow provided by the embodiment of the present invention.
Above-mentioned computer program can be set in computer storage medium, i.e., the computer storage medium is encoded with
Computer program, the program by one or more computers when being executed, so that one or more computers execute in the present invention
State method flow shown in embodiment and/or device operation.For example, it is real to execute the present invention by said one or multiple processors
Apply method flow provided by example.
With time, the development of technology, medium meaning is more and more extensive, and the route of transmission of computer program is no longer limited by
Tangible medium, can also be directly from network downloading etc..It can be using any combination of one or more computer-readable media.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer-readable storage medium
Matter 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 of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (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 this document, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
Method, equipment and computer storage medium provided by the invention can have following it can be seen from above description
Advantage:
1) by message content data and showed structural information by small routine and be sent to server end, so as to server end by its
Host's application is transmitted to be shown.The developer or user of small routine being capable of autonomous, neatly customized small routines in this way
Message shows structure, and is not only restricted to host's application.
2) by being embedded in executable code segment in small routine message body in the application, to based on small routine message body
Event is responded, so that dynamically change small routine message shows content and form, provides interactive form more abundant.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (15)
1. a kind of processing method of small routine message, which is characterized in that this method comprises:
Small routine obtains the small routine message data and session object information to be sent, and the small routine message data includes: disappearing
It ceases content-data and shows structural information;
The server end that the small routine message data and session object information are applied to host is sent, so that server end is by institute
It states small routine message data and is sent to the corresponding host's application of the session object information;
Wherein, the small routine message data shows corresponding small routine message body for host's application.
2. the method according to claim 1, wherein small routine obtains the small routine message data and meeting to be sent
Talking about object information includes:
Small routine obtains user and passes through the small routine message data to be sent and the use of the sharing function triggering in small routine
The session object information that family selects in the sharing function;Alternatively,
Small routine obtains the notice class small routine message data of user's payment or submission form triggering, and the information of the user is made
For session object information.
3. the method according to claim 1, wherein the small routine message data further include: executable code
Segment;
The executable code segment is for responding the event generated by the message body returned after the message body is demonstrated.
4. according to the method described in claim 3, it is characterized in that, including: user's interaction by the event that the message body generates
Event and/or the program run case of the message body.
5. according to the method described in claim 4, it is characterized in that, the executable code segment is for responding the message body
The event generated by the message body returned after being demonstrated includes:
The executable code segment changes in the displaying of the message body perhaps shape according to by the event that the message body generates
Formula;Alternatively,
The executable code segment opens webpage, small routine or other application according to the event generated by the message body
Interface.
6. according to method described in claim 3,4 or 5, which is characterized in that the event generated by the message body is returned simultaneously
It is synchronized to the executable code segment of each message body in same session.
7. a kind of processing method of small routine message, which is characterized in that this method comprises:
The server of host's application obtains small routine message data and session object information that small routine is sent, and the small routine disappears
Breath data include: message content data and show structural information;
The small routine message data is sent to the corresponding host's application of the session object information;
Wherein, the small routine message data shows corresponding small routine message body for host's application.
8. the method according to the description of claim 7 is characterized in that the small routine message data further include: executable code
Segment;
The executable code segment is for responding the event generated by the message body returned after the message body is demonstrated.
9. according to the method described in claim 8, it is characterized in that, this method further include:
The event of passback described in the server sync of host's application generated by the message body respectively disappears into same session
Cease the executable code segment of body.
10. a kind of processing method of small routine message, which is characterized in that this method comprises:
What host forwarded after applying reception server to get the small routine message data and session object information that small routine is sent
Small routine message data, the host apply as the corresponding host's application of the session object information, the small routine message count
According to including: message content data and to show structural information;
Show corresponding small routine message body of the small routine message data.
11. according to the method described in claim 10, it is characterized in that, the small routine message data further include: executable generation
Chip segment;
The executable code segment is for responding the event generated by the message body returned after the message body is demonstrated.
12. according to the method for claim 11, which is characterized in that show the corresponding small routine of the small routine message data
Message body includes:
Show structural information using described the message content data is assembled, and be embedded in the executable segment, obtains
Small routine message body.
13. according to the method described in claim 10, it is characterized in that, showing the corresponding small routine of the small routine message data
Message body includes:
At the session interface of the user with the small routine, corresponding small routine message body of the small routine message data is shown;
Alternatively,
At the interface of notification message, corresponding small routine message body of the small routine message data is shown.
14. a kind of equipment, which is characterized in that the equipment includes:
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-13.
15. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal
For executing the method as described in any in claim 1-13 when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910358913.3A CN110083467B (en) | 2019-04-30 | 2019-04-30 | Method and device for processing applet message and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910358913.3A CN110083467B (en) | 2019-04-30 | 2019-04-30 | Method and device for processing applet message and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110083467A true CN110083467A (en) | 2019-08-02 |
CN110083467B CN110083467B (en) | 2021-10-26 |
Family
ID=67417974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910358913.3A Active CN110083467B (en) | 2019-04-30 | 2019-04-30 | Method and device for processing applet message and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083467B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704054A (en) * | 2019-09-06 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Method and device for accessing target application program through applet, electronic equipment and storage medium |
CN112650540A (en) * | 2019-09-26 | 2021-04-13 | 华为技术有限公司 | Method for starting fast application and related device |
WO2023000803A1 (en) * | 2021-07-22 | 2023-01-26 | 北京字跳网络技术有限公司 | Hosted application superscript processing method and apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2735965A2 (en) * | 2012-11-22 | 2014-05-28 | Mitsubishi Electric Corporation | Resume method and information processing device |
CN104573552A (en) * | 2014-12-29 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method and device for hiding application icons |
CN105207886A (en) * | 2015-08-12 | 2015-12-30 | 深圳前海珩昌科技有限公司 | Instant messaging (IM) message sending and display methods, IM message sending and display devices, and IM message system |
CN108958780A (en) * | 2018-09-30 | 2018-12-07 | 上海掌门科技有限公司 | A kind of method and apparatus of the more new information for program of lodging for rendering |
-
2019
- 2019-04-30 CN CN201910358913.3A patent/CN110083467B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2735965A2 (en) * | 2012-11-22 | 2014-05-28 | Mitsubishi Electric Corporation | Resume method and information processing device |
CN104573552A (en) * | 2014-12-29 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method and device for hiding application icons |
CN105207886A (en) * | 2015-08-12 | 2015-12-30 | 深圳前海珩昌科技有限公司 | Instant messaging (IM) message sending and display methods, IM message sending and display devices, and IM message system |
CN108958780A (en) * | 2018-09-30 | 2018-12-07 | 上海掌门科技有限公司 | A kind of method and apparatus of the more new information for program of lodging for rendering |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704054A (en) * | 2019-09-06 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Method and device for accessing target application program through applet, electronic equipment and storage medium |
CN112650540A (en) * | 2019-09-26 | 2021-04-13 | 华为技术有限公司 | Method for starting fast application and related device |
CN112650540B (en) * | 2019-09-26 | 2022-07-22 | 华为技术有限公司 | Method for starting fast application and related device |
WO2023000803A1 (en) * | 2021-07-22 | 2023-01-26 | 北京字跳网络技术有限公司 | Hosted application superscript processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN110083467B (en) | 2021-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110113252B (en) | Method and device for processing applet notification message and computer storage medium | |
CN110890970B (en) | Method and device for creating group, storage medium and electronic equipment | |
CN111246308B (en) | Method and device for accessing live broadcast room, live broadcast server and storage medium | |
CN110113407A (en) | Small routine state synchronization method, equipment and computer storage medium | |
JP7476352B2 (en) | COMMUNICATION METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM BASED ON VIRTUAL CHARACTER INTERACTION INTERFACE - Patent application | |
JP7219296B2 (en) | Server, system, user terminal, method and program for messaging service | |
US20200301648A1 (en) | Method of operating a shared object in a video call | |
CN109960541A (en) | Start method, equipment and the computer storage medium of small routine | |
CN110083467A (en) | Processing method, equipment and the computer storage medium of small routine message | |
CN106716417A (en) | Information viewing method, device and equipment | |
JP6277497B2 (en) | System and method for providing service using social group community function | |
CN109710333A (en) | Processing method, equipment and the computer readable storage medium of boarding application | |
CN109933442A (en) | The means of communication, equipment and computer storage medium between small routine platform | |
CN109992732A (en) | Information sharing method, device, electronic equipment and storage medium | |
CN111901225B (en) | Message prompting method and device, storage medium and electronic device | |
US20180113609A1 (en) | Enhanced Keyboard Including Multiple Application Execution | |
WO2014110989A1 (en) | Method, apparatus, system and computer readable storage medium of adding instant message contact | |
CN108574618A (en) | Pushed information methods of exhibiting and device based on social networks chain | |
CN110392312A (en) | Group chat construction method, system, medium and electronic equipment | |
CN110287146A (en) | Using the method, equipment and computer storage medium of downloading | |
CN110098998A (en) | Method and apparatus for handling information | |
KR102396392B1 (en) | System and method for providing virtual communication session for portion of participants connecting to communication session | |
CN110517028A (en) | Method, equipment and the computer storage medium of payment bill | |
CN109495549A (en) | Method, equipment and the computer storage medium of work are drawn in a kind of application | |
CN109976922A (en) | Discovery method, equipment and computer storage medium between small routine platform |
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 |