CN108829528B - Content sharing method and device, and message processing method and device - Google Patents

Content sharing method and device, and message processing method and device Download PDF

Info

Publication number
CN108829528B
CN108829528B CN201810594633.8A CN201810594633A CN108829528B CN 108829528 B CN108829528 B CN 108829528B CN 201810594633 A CN201810594633 A CN 201810594633A CN 108829528 B CN108829528 B CN 108829528B
Authority
CN
China
Prior art keywords
application
sub
parent application
user
parent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810594633.8A
Other languages
Chinese (zh)
Other versions
CN108829528A (en
Inventor
肖文
李斌
杨培艺
文孝木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810594633.8A priority Critical patent/CN108829528B/en
Publication of CN108829528A publication Critical patent/CN108829528A/en
Application granted granted Critical
Publication of CN108829528B publication Critical patent/CN108829528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a content sharing method and device and a message processing method and device, wherein the content sharing method comprises the following steps: determining content to be shared through a child application running on a first parent application; acquiring a user identifier belonging to a second parent application; generating a sharing message including the content and sub-application identification information of the sub-application; sending the sharing message to the second parent application logged in with the user identifier; the sharing message is used for indicating the sub-application running on the second parent application and corresponding to the sub-application identification information to process the content; the first parent application and the second parent application are different applications. The scheme provided by the application can realize communication among different applications.

Description

Content sharing method and device, and message processing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for sharing sub-content and processing a message, a computer-readable storage medium, and a computer device.
Background
As computer technology has developed, more and more applications have been developed and used. An application program is a program installed on a computer device that can provide an application for a user. The user can install different application programs on the computer equipment according to the requirement of the user to realize different functions.
However, different applications are independent of each other and belong to different application systems. Often, there is no direct communication between the different applications.
Disclosure of Invention
Based on this, it is necessary to provide a content sharing and message processing method, device, computer readable storage medium and computer device for solving the technical problem that direct communication between different applications is often impossible.
A content sharing method, comprising:
determining content to be shared through a child application running on a first parent application;
acquiring a user identifier belonging to a second parent application;
generating a sharing message including the content and sub-application identification information of the sub-application;
sending the sharing message to the second parent application logged in with the user identifier; the sharing message is used for indicating the sub-application running on the second parent application and corresponding to the sub-application identification information to process the content; the first parent application and the second parent application are different applications.
A content sharing apparatus, the apparatus comprising:
a first parent application for running a child application;
the sub-application is used for determining the content to be shared; acquiring a user identifier belonging to a second parent application; generating a sharing message including the content and sub-application identification information of the sub-application;
the first parent application is further used for sending the sharing message to the second parent application logged in with the user identifier;
the sharing message is used for indicating the sub-application running on the second parent application and corresponding to the sub-application identification information to process the content; the first parent application and the second parent application are different applications.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the content sharing method.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the content sharing method.
According to the content sharing method, the content sharing device, the computer readable storage medium and the computer equipment, the content to be shared is determined through the sub-application running on the first parent application, and the sharing message comprising the content and the sub-application identification information of the sub-application is generated. The generated sharing message comprises the content to be shared and the sub-application identification information. After the sharing message is sent to the second parent application logged in by the user identifier belonging to the second parent application, the second parent application can call and run the child application corresponding to the child application identifier information so as to process the received content. Therefore, the first parent application and the second parent application which are different applications respectively can provide the running environment for running the child application, and the second parent application can process the messages which are sent by the first parent application and are related to the child application after receiving the messages, so that the communication of the child application messages among different application programs is realized.
A method of message processing, comprising:
receiving a sharing message shared by a child application running on a first parent application;
acquiring content and sub-application identification information carried by the sharing message;
entering the child application running on a second parent application according to the child application identification information; the second parent application and the first parent application are different applications;
processing the content by the child application running on the second parent application.
A message processing apparatus comprising:
the second parent application is used for receiving the sharing message shared by the child applications running on the first parent application; acquiring content and sub-application identification information carried by the sharing message; entering the child application running on a second parent application according to the child application identification information; the second parent application and the first parent application are different applications;
the sub-application is configured to process the content.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the message processing method.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the message processing method.
The message processing method, the message processing device, the computer readable storage medium and the computer device receive the sharing message shared by the child application running on the first parent application, and acquire the content carried by the sharing message and the identification information of the child application. And entering the child application running on the second parent application according to the child application identification information, and processing the received content through the child application running on the second parent application. Therefore, the first parent application and the second parent application can provide the running environment for running the child application, and when the second parent application receives the content which is sent by the first parent application and shared by the child application, the content can be processed by the child application, so that the communication of the child application message among different application programs is realized.
Drawings
FIG. 1 is a diagram of an application environment of a content sharing method and/or a message processing method according to an embodiment;
FIG. 2 is a flow diagram illustrating a method for content sharing in one embodiment;
FIG. 3 is an interface diagram that illustrates the relationship between an operating system, a parent application, and a child application, according to one embodiment;
FIG. 4 is a flowchart illustrating steps of sub-application execution in one embodiment;
FIG. 5 is a flowchart illustrating the steps of sub-application association in one embodiment;
FIG. 6 is a timing diagram of the operation of a sub-application in one embodiment;
FIG. 7 is a schematic flow chart diagram illustrating the steps of data acquisition in one embodiment;
FIG. 8 is a flowchart illustrating steps in the generation of custom login state in one embodiment;
FIG. 9 is a timing diagram of user login to a sub-application in one embodiment;
FIG. 10 is a flow chart illustrating a content sharing method according to another embodiment;
FIG. 11 is a flowchart illustrating a message processing method according to an embodiment;
FIG. 12 is a flowchart illustrating a message processing method according to another embodiment;
FIG. 13(1), FIG. 13(2), FIG. 13(3), and FIG. 13(4) are schematic interface diagrams illustrating the communication of sub-application messages between different applications in one embodiment;
FIG. 14 is a block diagram of a content sharing apparatus according to an embodiment;
FIG. 15 is a block diagram showing the construction of a message processing apparatus according to one embodiment;
FIG. 16 is a block diagram showing a configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a content sharing method and/or a message processing method according to an embodiment. Referring to fig. 1, the content sharing method and/or the message processing method are applied to a data processing system. The data processing system comprises a first terminal 110, a second terminal 120, a child application server 130 corresponding to a child application, a first parent application platform 140 corresponding to a first parent application, and a second parent application platform 150 corresponding to a second parent application. The first terminal 110 may have a first parent application running thereon, and the child application runs in a running environment where the first parent application provides a flat running environment. The second terminal 120 may have a second parent application running thereon, and the child application runs in a running environment where the second parent application provides a flat running environment. The first terminal 110, the second terminal 120, the sub application server 130, the first parent application platform 140, and the second parent application platform 150 are connected to each other through a network. The first terminal 110 and the second terminal 120 may be desktop terminals or mobile terminals, and the mobile terminals may be at least one of mobile phones, tablet computers, notebook computers, and the like. The child application server 130, the first parent application platform 140, and the second parent application platform 150 may each be implemented as a separate server or a server cluster composed of a plurality of servers.
As shown in fig. 2, in one embodiment, a content sharing method is provided. The embodiment is mainly illustrated by applying the method to the first terminal 110 in fig. 1. Referring to fig. 2, the content sharing method specifically includes the following steps:
and S202, determining the content to be shared through the child application running on the first parent application.
Wherein the parent application is a native application program that runs directly on the operating system. The parent application may be an application program carrying child applications, and provides an environment for implementing the child applications. Referring to fig. 3, an operating system is run on a terminal, a parent application is run on the operating system, and a child application is generated in an environment provided by the parent application, the child application including a child application page. The terminal can obtain the sub-application identification from a local or server through the parent application.
An Operating System (OS) is a computer program for managing and controlling hardware and software resources of a terminal, and is the most basic System software directly running on a bare computer of a user terminal, and an application program needs to run under the support of the Operating System. The operating system may be a desktop operating system such as a Windows (Windows) operating system, a Linux operating system, or a Mac OS (apple desktop operating system), or may be a mobile operating system such as an iOS (apple mobile terminal operating system) or an Android operating system. The parent application may be a social application, a dedicated application that specifically supports the child applications, a file management application, a mail application, or a gaming application, among others. The Social application includes an instant messaging application, an SNS (Social Network Service) application, or a live application.
The child application is an application that can run in the environment provided by the parent application. The sub-application may specifically be a social application, a file management application, a mail application, or a game application, etc. The parent application may specifically be a WeChat program (WeChat) or an enterprise WeChat, and the corresponding child application may be referred to as an applet. The first parent application is for example an enterprise wechat application and the second parent application is for example a wechat application.
Specifically, a first parent application runs on the terminal, and the child application runs in a running environment provided by the first parent application. The terminal can determine the content to be shared through the sub-application. The content to be shared may be specifically a text, a picture, a video, or a link address.
In one embodiment, a first parent application is run on the terminal, and a child application is run on the first parent application. The terminal receives the sharing triggering operation through the interface displayed by the sub-application, and determines corresponding content according to the sharing triggering operation, wherein the determined content is the content to be shared. The sharing trigger operation is an operation for triggering a sharing action, and the sharing trigger operation may be a touch operation, a cursor operation, a key operation, or a voice operation. The touch operation can be touch click operation, touch press operation or touch slide operation, and the touch operation can be single-point touch operation or multi-point touch operation; the cursor operation can be an operation of controlling a cursor to click or an operation of controlling the cursor to press; the key operation can be a virtual key operation or a physical key operation; the voice operation may be a voice control operation.
In one embodiment, a first parent application is run on the terminal, and a child application is run on the first parent application. The terminal can receive the selection operation aiming at the content in the sub-application, and the content to be shared is determined according to the object acted by the selection operation. Specifically, the terminal may use the selected content as the content to be shared.
S204, obtaining the user identification belonging to the second parent application.
The user identifier is an identifier for distinguishing a user and is used for uniquely identifying the user. The user identifier may specifically be a letter, a number, a character string, a chinese character, or a user account. The second parent application is an application different from the first parent application. The second parent application may specifically be an application program that carries child applications, and provides an environment for implementing the child applications.
Specifically, when the terminal detects a sharing instruction triggered by the child application, the terminal may acquire the user identifier belonging to the second parent application. In one embodiment, the terminal may obtain the user identifier belonging to the second parent application through the first parent application or the child application. The first parent application may be presented with a user identification set list, where the user identification set list includes a user identification set belonging to the first parent application and a user identification set belonging to the second parent application. The terminal may obtain the selected user identifier belonging to the second parent application.
In one embodiment, the first parent application may obtain a collective user identifier corresponding to the user identifier logged into the first parent application. A user identity belonging to the second parent application associated with the user collective identity is determined.
In one embodiment, a user who logs in with a user identification corresponding to the user collective identification may expose a graphic code including the user collective identification through the first parent application. The user who logs in with the user identification belonging to the second parent application can scan the graphic code through the second parent application to obtain the user collective identification, so that the user collective identification is associated with the user collective identification.
For example, the first parent application may be an enterprise wechat application and the second parent application may be a wechat application. The enterprise wechat user can display the two-dimensional code with the enterprise identification through the enterprise wechat application, and the wechat user can pay attention to the enterprise through scanning the two-dimensional code. The enterprise wechat may add the user identification of the wechat user to the external contacts of the enterprise wechat.
In an embodiment, when the terminal detects the sharing instruction, the sharing interface of the second parent application may be called, and the user identifier set belonging to the second parent application is obtained according to the sharing interface of the second parent application. The user can select the user identifier corresponding to the user to be shared through preset operations such as touch, click or sliding.
The execution order of steps S202 and S204 is not limited, and step S204 can be executed before, simultaneously with, or after step S202.
And S206, generating a sharing message comprising the content and the sub-application identification information of the sub-application.
The sub-application identification information is information related to the sub-application identification, and may specifically be a number, a letter, a character, a figure, a character string, or the like. The sub-application identifier is an identifier of the sub-application and is used for uniquely identifying the sub-application.
Specifically, the terminal may generate the sharing message according to the content to be shared determined on the sub-application and the sub-application identification information. The generated sharing message may be a sharing link including the content to be shared and the sub-application identification information.
In one embodiment, after the terminal determines the content to be shared through the sub-application running on the first parent application, a sharing message including the content and sub-application identification information of the sub-application may be generated through the sub-application.
In an embodiment, after the terminal determines the content to be shared through the child application running on the first parent application, the first parent application may obtain the content to be shared and the child application identification information of the child application, and generate a sharing message including the information.
S208, sending a sharing message to the second parent application logged in by the user identifier; the sharing message is used for indicating the sub-application processing content which runs on the second parent application and corresponds to the sub-application identification information; the first parent application and the second parent application are different applications.
Specifically, the terminal may send the sharing message to a second parent application logged in with a user identifier belonging to the second parent application through a first parent application or a child application that is running. The second parent application can receive the sharing message and process the content in the sharing message through the child application running on the second parent application and corresponding to the child application identifier. The first parent application and the second parent application are different applications, and the first parent application and the second parent application can run on the same terminal or different terminals.
In one embodiment, the child application corresponding to the child application identification is not run on the second parent application. After the second parent application receives the sharing message, the download address corresponding to the child application identification information can be obtained according to the child application identification information included in the sharing message, the corresponding program package is downloaded according to the download address, and the child application is operated based on the program package and the public resource provided by the second parent application.
In one embodiment, the second parent application has a child application running thereon that corresponds to the child application identification. After the second parent application receives the sharing message, the terminal can open the running child application through the triggering operation aiming at the sharing message, and the content is processed through the child application.
In one embodiment, the terminal may send the sharing message and address information including the user identifier of the recipient to the sub-application server through a sub-application running in the first parent application. And the child application server forwards the sharing message to a first parent application platform corresponding to the first parent application.
In one embodiment, the child application may notify the first parent application of the sharing message and address information including the user identifier of the recipient, and the first parent application sends the sharing message to a first parent application platform corresponding to the first parent application according to the address information. The first parent application platform converts the received sharing message into a conversion message suitable for the second parent application, and sends the conversion message to the second parent application platform corresponding to the second parent application. And the second parent application platform sends the conversion message to a second parent application logged in by the user identification of the receiver.
In one embodiment, a message conversion mapping relationship between the first parent application platform and the second parent application platform may be preset, including conversion of user identification, conversion of message format, and the like. The first parent application platform can convert the received sharing message into a conversion message suitable for the second parent application according to a preset message conversion mapping relation. Therefore, the communication function between the first parent application and the second parent application can be realized through the message conversion and forwarding between the first parent application platform and the second parent application platform, and further the sub-application message intercommunication between the first parent application and the second parent application can be realized.
According to the content sharing method, the content to be shared is determined through the sub-application running on the first parent application, and the sharing message comprising the content and the sub-application identification information of the sub-application is generated. The generated sharing message comprises the content to be shared and the sub-application identification information. After the sharing message is sent to the second parent application logged in by the user identifier belonging to the second parent application, the second parent application can call and run the child application corresponding to the child application identifier information to process the received content. Therefore, the first parent application and the second parent application which are different applications respectively can provide the running environment for running the child application, and the second parent application can process the messages which are sent by the first parent application and are related to the child application after receiving the messages, so that the communication of the child application messages among different application programs is realized.
In one embodiment, the content sharing method further includes a step of running the sub-application, and the step specifically includes:
s402, acquiring a user collective identification corresponding to the user identification for logging in the first parent application.
The user collective identification is an identification corresponding to a collective formed by a plurality of users and is used for uniquely identifying the user collective. The user group may specifically be a group formed by employees belonging to the same enterprise, or a group including multiple persons. The collective user identifier may specifically be an enterprise identifier of an enterprise, or a group identifier of a group, or the like.
Specifically, the terminal can determine a user group to which the user identifier of the first parent application logs in belongs through the first parent application, and further obtain the user group identifier.
S404, acquiring the download address corresponding to the sub-application identification information associated with the user collective identification.
Specifically, the terminal may determine sub-application identification information associated with the user collective identification, and obtain a Content Delivery Network (CDN) download address of the sub-application according to the sub-application identification information. The download address may include a server address, a storage path of the sub-application on the server, and sub-application identification information. The download address may also include only the storage path of the sub-application on the server and the identification of the sub-application. The download address may be represented as a URL (Uniform Resource Locator).
In one embodiment, the first parent application may detect a trigger operation of the child application identification information acquisition interface, and enter the child application identification information acquisition interface when the trigger operation is detected. And acquiring the sub-application identification information associated with the user collective identification on a sub-application identification information acquisition interface.
In one embodiment, the first parent application may detect a trigger operation for the child application identification information, and when the trigger operation is detected, the terminal may initiate a download request to the first parent application platform through the first parent application, where the download request carries the child application identification information. And the first parent application platform acquires a download address corresponding to the identification information of the child application from the open platform according to the download request, and feeds the download address and the version number back to the first parent application. The open platform is a platform for providing an interface for a third-party application program, such as a wechat open platform.
S406, downloading the corresponding program package according to the downloading address.
Specifically, the first parent application may download the corresponding program package according to the download address.
S408, the child application is operated based on the common resource provided by the program package and the first parent application.
The common resource refers to a resource shared by different sub application pages, such as a rendering engine, common page structure code, or common style data. Specifically, the terminal may load and run the sub-application through the downloaded package and the common resource provided by the first parent application.
In the above embodiment, the download address corresponding to the sub-application identification information associated with the user collective identification is obtained by logging in the user collective identification corresponding to the user identification of the first parent application. And downloading the corresponding program package according to the download address so as to run the sub-applications based on the public resources and the program package provided by the first parent application, and running the sub-applications associated with the user collective identification in the running environment provided by the first parent application, so that the time consumption for installing the sub-applications is saved, and the installation efficiency of the sub-applications is improved.
In one embodiment, the content sharing method further includes a sub-application association step, which specifically includes:
s502, when the first parent application logs in with the user identification of the administrator role, acquiring the child application identification information of the child application.
Specifically, when the first parent application logs in with the user identifier of the administrator role, the terminal may obtain the child application identification information of the child application to be associated.
In an embodiment, when logging in the management interface corresponding to the first parent application with the user identifier in the administrator role, the sub-application identification information of the sub-application to be associated may be obtained from the plurality of sub-application identification information. Or acquiring the sub-application identification information of the sub-application to be associated in a management interface in a searching mode.
S504, a user collective identification corresponding to the user identification of the administrator role is obtained.
Specifically, the first parent application may obtain a user collective identifier corresponding to a user identifier of the administrator role.
S506, sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information and the user collective identification.
Specifically, the terminal may send the sub-application identification information and the user collective identification to the first parent application platform. The transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information and the user collective identification.
In one embodiment, the first parent application platform may generate an authorization request according to the child application identification information and the user collective identification, and send the generated authorization request to the child application server. The sub-application server forwards the authorization request to the sub-application logged in with the user identification in the administrator role. In response to the authorization request, the sub-application may send an authorization instruction to the sub-application server. And the first parent application platform associates the child application identification information with the user collective identification after receiving the authorization instruction forwarded by the child application server.
In one embodiment, the terminal may send the child application identification information and the user collective identification to the first parent application platform. And the first parent application platform generates a graphic code according to the child application identification information and the user collective identification and displays the graphic code through a management page in a webpage form. The sub-application manager can scan the graphic code and perform corresponding authorization through the sub-application logged in by the user identifier of the manager role.
In one embodiment, after the sub-application identification information is associated with the user collective identification, the first parent application platform may issue a corresponding configuration to the first parent application logged in with the user identification corresponding to the user collective identification. The issued configuration may specifically include a request address carrying the sub-application identification information, and the like.
In the above embodiment, when the first parent application logs in with the user identifier of the administrator role, the child application identification information and the user collective identifier are sent to associate the child application identification information and the user collective identifier. The association of the sub-applications can be actively carried out through the administrator account of the first parent application, and the method is flexible and convenient.
Referring to FIG. 6, FIG. 6 is a timing diagram of the operation of a sub-application in one embodiment. The developer of the sub-application can submit an audit request for auditing the sub-application to the open platform through the sub-application service. The open platform is a platform for providing an interface for the sub-application. And when the audit is passed, the sub-application can be issued. When the first parent application logs in with the user identification of the administrator role, an action may be taken to associate the child applications. Specifically, an authorization request can be sent to the open platform, the open platform forwards the authorization request to the corresponding sub-application server, and a user logged in with a sub-application administrator account can respond to the authorization request, generate an authorization instruction, and forward the authorization instruction to the first parent application platform through the open platform. And the first parent application platform completes the binding association of the child application and the user collective identification according to the authorization instruction. And the first parent application platform can issue the configuration to the first parent application. The user may request opening of the sub-application by entering the interface. And after receiving the command of opening the child application, the first parent application platform pulls the download address to the opening platform and returns the download address. And the first parent application downloads a corresponding program package according to the download address, and runs the child application based on the program package and the public resource provided by the first parent application.
In one embodiment, the content sharing method further includes a step of data acquisition, and the step specifically includes:
s702, obtaining the user-defined login state issued by the sub application server corresponding to the sub application.
The user-defined login state is a login state of a user identity defined by a user, and is a user login credential generated by the sub-application server. Specifically, the sub-application run by the terminal may obtain a custom login state issued by the sub-application server.
In one embodiment, temporary login credentials for a sub-application are obtained; sending temporary login credentials to a sub-application server corresponding to the sub-application, wherein the sent temporary login credentials are used for indicating the sub-application server to generate a self-defined login state based on the temporary login credentials; receiving a user-defined login state returned by the sub-application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
Specifically, the child application can obtain the temporary login credential of the child application from the first parent application platform in an interface calling manner, and return the temporary login credential to the child application server. For example, when the first parent application is an enterprise wechat application, the child application, i.e., applet, may call the wx.login () interface to obtain the temporary login credential code dispatched by the enterprise wechat platform, and the child application may return the temporary login credential code to the child application server.
In one embodiment, the sub-application server may exchange the user identification (userid) and session key (session _ key) for the temporary logon credential. And then the sub-application server can generate a user-defined login state according to the user identification, and the user-defined login state is used for identifying the user identity when the front end and the back end interact in the subsequent service logic.
In the embodiment, the temporary login credentials of the sub-application can be exchanged for the user-defined login state from the sub-application server, wherein the validity period of the user-defined login state is longer than that of the temporary login credentials, so that the user identity can be identified through the user-defined login state during front-end and back-end interaction in subsequent business logic, and the method is safe and convenient.
S704, sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to perform identity identification with the user identification associated with the user-defined login state during communication, and obtaining data specified by the data request.
Specifically, the sub-application may send a corresponding data request carrying the custom login status to the sub-application server according to the user operation. The data request may be a service request, such as a user information acquisition request, a user transaction record acquisition request, or other service requests. The sub-application server may query for a user identification associated with the custom login state according to the custom login state. The sub-application server can communicate with the first parent application platform according to the associated user identification to acquire data which corresponds to the associated user identification and is specified by the data request.
In one embodiment, the data request is further used for instructing the sub-application server to query the user identifier and the session key associated with the custom login state, perform session communication with the first parent application platform by using the queried user identifier, and decrypt ciphertext transmitted by the session communication according to the session key.
In one embodiment, when the first parent application feeds back the encrypted data to the child application server, the child application server can query the session key associated with the custom login state through the custom login state, and decrypt the encrypted data through the session key. The sub-application server may feed back the decrypted data to the sub-application.
In one embodiment, the sub-application may verify that the session key is valid by invoking a session key verification interface. For example, the child application may call the wx. checksession interface to check whether the user's current session _ key is valid.
Therefore, the user identity can be identified in the communication between the sub-application server and the first parent application platform through the user-defined login state, and the corresponding session key is obtained, so that the method is safe and convenient.
In one embodiment, the sub-program may send a user information acquisition request to the sub-application server, where the user information acquisition request carries the user-defined login status. And the sub-application server queries the associated user identification according to the user-defined login state and initiates a user information acquisition request related to the associated user identification to the first parent application platform. And the sub-application server receives the user information related to the user identification and feeds the user information back to the sub-application.
S706, receiving the data fed back by the sub application server.
Specifically, the sub-application may receive data fed back by the sub-application server.
In the embodiment, the data request carrying the custom login state is sent to the sub-application server, so that the sub-application server can perform identity identification with the user identifier associated with the custom login state during communication, obtain and feed back data specified by the data request, and the security and the convenience are realized.
In one embodiment, the content sharing method further includes a step of identifying a platform identifier, where the step specifically includes: identifying a platform identifier corresponding to the first parent application; sending the platform identification to the sub-application server; and the platform identifier is used for indicating the sub-application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
The platform identification is an identification of the platform and is used for uniquely identifying the platform. In this embodiment, the platform identifier includes a first parent application platform identifier and a second parent application platform identifier. Specifically, the child application may identify a platform identifier corresponding to a parent application run by the child application by calling an asynchronous interface or a synchronous interface. Such as a system information interface, and a synchronization interface, such as a get system information synchronization interface. The child application may cache the identified platform identification as a global variable.
Further, the sub-application may send the identified platform identification to the sub-application server. And when receiving the data request, the child application server communicates with the parent application platform corresponding to the platform identifier according to the platform identifier.
In one embodiment, the child application runs in a runtime environment provided by the first parent application. The child application can identify the platform identifier corresponding to the first parent application operated by the child application by calling the interface. The sub-application sends the platform identification to the sub-application server. And when receiving the data request, the child application server communicates with the first parent application platform corresponding to the platform identifier according to the platform identifier.
For example, the sub-application may obtain the system environment in which the sub-application is currently running by calling asynchronous interface wx. When the sub-application runs in the enterprise wechat, an environment field is additionally returned and is assigned as wxwork (enterprise wechat), wherein wxwork is the platform identification.
In the above embodiment, the platform identifier corresponding to the first parent application is identified, the current running environment of the child application can be distinguished, and the platform identifier is sent to the child application server, so that the child application server can communicate with the parent application corresponding to the platform identifier, the child program can communicate with different parent applications respectively, and the application range of the child application is expanded.
In one embodiment, the step of generating the custom login state specifically includes the following steps:
s802, the child application server sends the user collective identification and the child application key to a first parent application platform; the user collective identification corresponds to a user identification for logging in a first parent application, the child application key corresponds to the child application, and the first parent application platform corresponds to the first parent application.
Specifically, the child application server sends the user collective identification and the child application key to the first parent application platform. Wherein the user collective identification corresponds to the user identification for logging in the first parent application. The child application key corresponds to a child application, and the child application key is used for guaranteeing data security of the child application running in the first parent application. The first parent application platform corresponds to a first parent application.
S804, the child application server receives a calling interface certificate fed back by the first parent application platform; the calling interface certificate corresponds to the user collective identification and the sub-application key.
Specifically, after receiving the user collective identifier and the sub-application key, the first parent application platform generates a call interface credential (access _ token) according to the user collective identifier and the sub-application key. The calling interface voucher is an important bill of the child application server for communicating with the first parent application platform. All interfaces need to carry this information when communicating for verifying the access rights of the interfaces. And the first parent application platform feeds back the calling interface certificate to the child application service. In one embodiment, the interface may use http Protocol (Secure data Transfer Protocol), Json data Format (JavaScript Object Notation), UTF8 encoding (8-bit Unicode Transformation Format, ten thousand code), or the like.
S806, the sub application server sends a login request carrying the temporary login credential and the call interface credential to the first parent application platform.
In particular, the child application server may generate a login request based on the temporary login credential and the call interface credential. And the child application server sends the login request to the first parent application platform.
And S808, after the call interface credential carried by the login request passes the verification of the first parent application platform, the child application server receives the user identifier corresponding to the temporary login credential fed back by the first parent application platform.
Specifically, after the call interface credential carried by the login request passes the verification of the first parent application platform, the child application server receives the user identifier corresponding to the temporary login credential fed back by the first parent application platform.
S810, the sub application server generates a custom login state associated with the received user identification.
Specifically, the sub-application server may generate a custom login state according to the user identifier, and the custom login state is used for identifying the user identity during front-end and back-end interaction in subsequent service logic.
In the embodiment, the sub-application server exchanges the calling interface certificate with the sub-application key through the user collective identifier, and when the sub-application server and the first parent application communicate through the interface, the calling interface certificate is required to be carried to verify the access authority of the interface, so that the security and the convenience are realized. The child application server sends a login request carrying the temporary login credential and the calling interface credential to the first parent application platform to receive the user identifier corresponding to the temporary login credential fed back by the first parent application platform, and a user-defined login state is generated safely and conveniently according to the user identifier.
Referring to FIG. 9, FIG. 9 is a timing diagram of a user logging into a sub-application in one embodiment. As shown in fig. 9, the sub-application may obtain the temporary login credential served by the first parent application through an interface call, and send the temporary login credential to the sub-application server. And the child application server sends the user collective identification and the child application key to the first parent application platform and receives a calling interface certificate returned by the first parent application platform. And the sub application server sends the login request carrying the calling interface certificate and the temporary login certificate to the first parent application platform. And the first parent application platform verifies the validity of the calling interface certificate, and returns the user identifier and the session key corresponding to the temporary login certificate to the child application server after the calling interface certificate passes the verification. And the sub-application server generates a user-defined login state according to the user identifier, and associates the user-defined login state with the user identifier and the session key. And the sub application receives and stores the user-defined login state fed back by the sub application server, and carries the user-defined login state when a subsequent service request is initiated. And the sub-application server inquires the user identifier and the session key through a user-defined login state and returns corresponding service data to the sub-application.
As shown in fig. 10, in a specific embodiment, the content sharing method includes the following steps:
s1002, when the first parent application logs in with the user identification of the administrator role, acquiring the child application identification information of the child application.
S1004, acquiring a user collective identification corresponding to the user identification of the administrator role.
S1006, sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information and the user collective identification.
S1008, obtaining a user collective identification corresponding to the user identification of the first parent application.
S1010, acquiring a download address corresponding to the sub-application identification information associated with the user collective identification.
And S1012, downloading the corresponding program package according to the download address.
S1014, the child application is operated based on the common resource provided by the program package and the first parent application.
S1016, identifying the platform identification corresponding to the first parent application.
S1018, sending the platform identification to the sub application server; and the platform identifier is used for indicating the sub-application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
S1020, obtaining the temporary login credentials of the sub-application.
And S1022, sending the temporary login credential to the sub-application server corresponding to the sub-application, where the sent temporary login credential is used to instruct the sub-application server to generate a custom login state based on the temporary login credential.
S1024, receiving a user-defined login state returned by the sub application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
S1026, sending a data request carrying a custom login state to the sub-application server; the data request is used for indicating the sub-application server to perform identity identification with the user identification associated with the user-defined login state during communication, and obtaining data specified by the data request.
S1028, receiving data fed back by the sub application server.
And S1030, determining the content to be shared through the child application running on the first parent application.
S1032, the user identification belonging to the second parent application is obtained.
S1034, a sharing message including the content and the sub-application identification information of the sub-application is generated.
S1036, sending the sharing message to a first parent application platform corresponding to the first parent application.
S1038, convert the sharing message into a conversion message suitable for the second parent application through the first parent application platform, and send the conversion message to the second parent application platform corresponding to the second parent application.
S1040, the conversion message is sent to a second parent application logged in with the acquired user identifier through a second parent application platform; a conversion message for indicating the sub-application processing content running on the second parent application and corresponding to the sub-application identification information; the first parent application and the second parent application are different applications.
According to the content sharing method, the content to be shared is determined through the sub-application running on the first parent application, and the sharing message comprising the content and the sub-application identification information of the sub-application is generated. The generated sharing message comprises the content to be shared and the sub-application identification information. After the sharing message is sent to the second parent application logged in by the user identifier belonging to the second parent application, the second parent application can call and run the child application corresponding to the child application identifier information so as to process the received content. Therefore, the first parent application and the second parent application which are different applications respectively can provide the running environment for running the child application, and the second parent application can process the messages which are sent by the first parent application and are related to the child application after receiving the messages, so that the communication of the child application messages among different application programs is realized.
Fig. 10 is a flowchart illustrating a content sharing method according to an embodiment. It should be understood that, although the steps in the flowchart of fig. 10 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 10 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
As shown in fig. 11, in one embodiment, a message processing method is provided. The embodiment is mainly illustrated by applying the method to the second terminal 120 in fig. 1. Referring to fig. 11, the message processing method specifically includes the following steps:
s1102, receiving a sharing message shared by a child application running on a first parent application.
Specifically, a second parent application may be run on the terminal. The terminal receives a sharing message shared by the child application running on the first parent application. In one embodiment, the second terminal may receive, through the second parent application running, a shared message shared by child applications running on the first parent application on the first terminal. The first terminal and the second terminal may be the same terminal or different terminals.
And S1104, acquiring the content and the sub-application identification information carried by the sharing message.
Specifically, the message received by the terminal carries the content and the sub-application identification information, and the terminal can acquire the content and the sub-application identification information carried by the shared message through the second parent application. In one embodiment, the terminal may detect a trigger operation for the sharing message, and acquire content and sub-application identification information carried by the sharing message when the trigger operation is detected.
S1106, entering the child application running on the second parent application according to the child application identification information; the second parent application and the first parent application are different applications.
Specifically, a second parent application runs on the terminal, and the second parent application provides a running environment for the child application. The terminal can enter the sub-application running on the second parent application according to the sub-application identification information.
S1108, the content is processed by the sub-application running on the second parent application.
Specifically, the terminal may display the content carried in the sharing message through a child application running on the second parent application and perform corresponding operation processing.
The message processing method receives the sharing message shared by the sub-application running on the first parent application, and obtains the content and the sub-application identification information carried by the sharing message. And entering the child application running on the second parent application according to the child application identification information, and processing the received content through the child application running on the second parent application. Therefore, the first parent application and the second parent application can provide the running environment for running the child application, and when the second parent application receives the content which is sent by the first parent application and shared by the child application, the content can be processed by the child application, so that the communication of the child application message among different application programs is realized.
In one embodiment, the message processing method further includes a step of data acquisition, which specifically includes: acquiring a user-defined login state issued by a sub-application server corresponding to a sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
In the embodiment, the data request carrying the custom login state is sent to the sub-application server, so that the sub-application server can perform identity identification with the user identifier associated with the custom login state during communication, obtain and feed back data specified by the data request, and the security and the convenience are realized.
In one embodiment, the step of obtaining the custom login state issued by the sub-application server corresponding to the sub-application specifically includes the following steps: acquiring temporary login credentials of the sub-application; sending temporary login credentials to a sub-application server corresponding to the sub-application, wherein the sent temporary login credentials are used for indicating the sub-application server to generate a self-defined login state based on the temporary login credentials; receiving a user-defined login state returned by the sub-application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
In the embodiment, the temporary login credentials of the sub-application can be exchanged for the user-defined login state from the sub-application server, wherein the validity period of the user-defined login state is longer than that of the temporary login credentials, so that the user identity can be identified through the user-defined login state during front-end and back-end interaction in subsequent business logic, and the method is safe and convenient.
In one embodiment, the message processing method further includes a step of identifying a platform identifier, and the step specifically includes the following steps: identifying a platform identifier corresponding to the second parent application; sending the platform identification to the sub-application server; and the platform identifier is used for indicating the sub-application server to communicate with the second parent application platform corresponding to the platform identifier when receiving the data request.
In the above embodiment, the platform identifier corresponding to the second parent application is identified, the current running environment of the child application can be distinguished, and the platform identifier is sent to the child application server, so that the child application server can communicate with the parent application corresponding to the platform identifier, the child program can communicate with different parent applications respectively, and the application range of the child application is expanded.
In one embodiment, the step of generating the custom login status comprises: the child application server sends a login request carrying the child application identifier, the child application key and the temporary login credential to the second parent application platform; the child application identifier and the child application key correspond to the child application respectively, and the second parent application platform corresponds to the second parent application; after the sub-application identifier and the sub-application key carried by the login request pass the verification of the second parent application platform, the sub-application server receives a user identifier which is fed back by the second parent application platform and corresponds to the temporary login credential; the sub-application server generates a custom login state associated with the received user identification.
In the above embodiment, the child application server sends the login request carrying the child application identifier, the child application key, and the temporary login credential to the second parent application platform to receive the user identifier corresponding to the temporary login credential fed back by the second parent application platform, so as to safely and conveniently generate the user-defined login state according to the user identifier.
As shown in fig. 12, in a specific embodiment, the message processing method includes the following steps:
and S1202, identifying a platform identifier corresponding to the second parent application.
S1204, sending the platform identification to the sub-application server; and the platform identifier is used for indicating the sub-application server to communicate with the second parent application platform corresponding to the platform identifier when receiving the data request.
S1206, obtaining the temporary login credentials of the sub-application.
And S1208, sending the temporary login credentials to the sub-application servers corresponding to the sub-applications, wherein the sent temporary login credentials are used for indicating the sub-application servers to generate a self-defined login state based on the temporary login credentials.
S1210, receiving a custom login state returned by the sub-application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
S1212, sending a data request carrying the user-defined login state to the sub-application server; the data request is used for instructing the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining the data specified by the data request.
S1214, receives the data fed back by the sub-application server.
S1216, receiving a sharing message shared by the child application running on the first parent application.
And S1218, obtaining the content and the sub-application identification information carried by the sharing message.
S1220, entering the child application running on the second parent application according to the child application identification information; the second parent application and the first parent application are different applications.
S1222, the content is processed by the sub application running on the second parent application.
The message processing method receives the sharing message shared by the sub-application running on the first parent application, and obtains the content and the sub-application identification information carried by the sharing message. And entering the child application running on the second parent application according to the child application identification information, and processing the received content through the child application running on the second parent application. Therefore, the first parent application and the second parent application can provide the running environment for running the child application, and when the second parent application receives the content which is sent by the first parent application and shared by the child application, the content can be processed by the child application, so that the communication of the child application message among different application programs is realized.
FIG. 12 is a flowchart illustrating a message processing method according to an embodiment. It should be understood that, although the steps in the flowchart of fig. 12 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 12 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In a specific application scenario, refer to fig. 13(1) -fig. 13(4), and fig. 13(1) -fig. 13(4) are interface diagrams illustrating communication of sub-application messages between different application programs in one embodiment. As shown in fig. 13(1), the terminal runs the sub-application through the first parent application, and the user may open an interface of the sub-application, such as a promoted product interface of the sub-application, through the first parent application. The popularization product interface of the neutron application displays the relevant information of the product A, the product B and the product C. The user may share the selected product by clicking a share button. After the user clicks the sharing button, as shown in fig. 13(2), the first parent application may obtain the user id belonging to the second parent application, for example, the user 1 to the user N, and the user may select the user id of the user X to be shared, so as to share the message of the child application to the user X of the second parent application. When the user selects "ok" in fig. 13(2), the first parent application sends the message of the child application to the second parent application to which the user X logs in.
As shown in fig. 13(3), the user X may receive the message of the shared child application through the second parent application. When the user X can click the received message of the sub-application, the sub-application can be run through the second parent application, and the product details shared by the other party are opened through the run sub-application. As shown in fig. 13(4), fig. 13(4) is for user X to view details of the received message through the sub-application. The user X can perform related operations on the sub-application, such as purchasing a product, viewing product details, or viewing product ratings.
As shown in fig. 14, in one embodiment, a content sharing apparatus 1400 is provided, including: a first parent application 1401 and a child application 1402.
A first parent application 1401 for running child applications.
A sub-application 1402 for determining content to be shared; acquiring a user identifier belonging to a second parent application; a sharing message including the content and sub-application identification information of the sub-application is generated.
The first parent application 1401 is also used for sending a sharing message to a second parent application logged in with a user identifier; the sharing message is used for indicating the sub-application processing content which runs on the second parent application and corresponds to the sub-application identification information; the first parent application and the second parent application are different applications.
In one embodiment, the first parent application 1401 is further configured to obtain a user collective identifier corresponding to a user identifier of the first parent application; acquiring a download address corresponding to sub-application identification information associated with the user collective identification; downloading the corresponding program package according to the download address; the child application is run based on the common resources provided by the package and the first parent application.
In one embodiment, the first parent application 1401 is further configured to, when the first parent application logs in with the user identifier of the administrator role, obtain child application identification information of the child application; acquiring a user collective identification corresponding to the user identification of the administrator role; sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information and the user collective identification.
In one embodiment, the sub-application 1402 is further configured to obtain a custom login state issued by a sub-application server corresponding to the sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to perform identity identification by using a user identification associated with a user-defined login state during communication, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
In one embodiment, the sub-application 1402 is further configured to obtain a temporary login credential for the sub-application; sending temporary login credentials to a sub-application server corresponding to the sub-application, wherein the sent temporary login credentials are used for indicating the sub-application server to generate a self-defined login state based on the temporary login credentials; receiving a user-defined login state returned by the sub-application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
In one embodiment, the child application 1402 is further configured to identify a platform identifier corresponding to the first parent application; sending the platform identification to the sub-application server; and the platform identifier is used for indicating the sub-application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
In one embodiment, the data request is further used for instructing the sub-application server to query the user identifier and the session key associated with the custom login state, perform session communication with the first parent application platform by using the queried user identifier, and decrypt ciphertext transmitted by the session communication according to the session key.
In one embodiment, the child application server sends the user collective identification and the child application key to the first parent application platform; the user collective identification corresponds to a user identification for logging in a first parent application, the child application key corresponds to the child application, and the first parent application platform corresponds to the first parent application; the child application server receives a calling interface certificate fed back by the first parent application platform; calling the interface certificate to correspond to the user collective identification and the sub-application key; the child application server sends a login request carrying a temporary login credential and a calling interface credential to the first parent application platform; after a calling interface certificate carried by the login request passes the verification of the first parent application platform, the child application server receives a user identifier which is fed back by the first parent application platform and corresponds to the temporary login certificate; the sub-application server generates a custom login state associated with the received user identification.
In one embodiment, the first parent application 1401 is further configured to send a sharing message to a first parent application platform corresponding to the first parent application; converting the sharing message into a conversion message suitable for a second parent application through the first parent application platform, and sending the conversion message to the second parent application platform corresponding to the second parent application; and sending the conversion message to a second parent application logged in with the acquired user identifier through a second parent application platform.
According to the content sharing device, the content to be shared is determined through the sub-application running on the first parent application, and the sharing message comprising the content and the sub-application identification information of the sub-application is generated. The generated sharing message comprises the content to be shared and the sub-application identification information. After the sharing message is sent to the second parent application logged in by the user identifier belonging to the second parent application, the second parent application can call and run the child application corresponding to the child application identifier information so as to process the received content. Therefore, the first parent application and the second parent application which are different applications respectively can provide the running environment for running the child application, and the second parent application can process the messages which are sent by the first parent application and are related to the child application after receiving the messages, so that the communication of the child application messages among different application programs is realized.
As shown in fig. 15, in one embodiment, there is provided a message processing apparatus 1500 including: a second parent application 1501 and a child application 1502.
The second parent application 1501 is configured to receive a shared message shared by child applications running on the first parent application; acquiring content and sub-application identification information carried by a sharing message; entering the child application running on the second parent application according to the child application identification information; the second parent application and the first parent application are different applications;
a sub-application 1502 for processing content.
In one embodiment, the sub-application 1502 is further configured to obtain a custom login state issued by a sub-application server corresponding to the sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
The message processing device receives the sharing message shared by the sub-application running on the first parent application, and obtains the content and the sub-application identification information carried by the sharing message. And entering the child application running on the second parent application according to the child application identification information, and processing the received content through the child application running on the second parent application. Therefore, the first parent application and the second parent application can provide the running environment for running the child application, and when the second parent application receives the content which is sent by the first parent application and shared by the child application, the content can be processed by the child application, so that the communication of the child application message among different application programs is realized.
FIG. 16 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the first terminal 110 and/or the second terminal 120 in fig. 1. As shown in fig. 16, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a content sharing method and/or a message processing method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a content sharing method and/or a message processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 16 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the content sharing and/or message processing apparatus provided by the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 16. The memory of the computer device may store therein various program modules constituting the content sharing and/or message processing apparatus, for example, the first parent application and the child application shown in fig. 14. The computer program constituted by the program modules causes the processor to execute the steps of the content sharing method according to the embodiments of the present application described in the present specification. Also for example, a second parent application and child application are shown in FIG. 15. The computer program constituted by the respective program modules causes the processor to execute the steps in the message processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 16 may run the sub-application through the first parent application in the content sharing apparatus shown in fig. 14 and perform step S208. The computer device may perform steps S202, S204, and S206 through the sub-application.
For example, the computer device shown in fig. 16 may perform steps S1102, S1104, and S1106 by the second parent application in the message processing apparatus shown in fig. 15. The computer device may perform step S1108 through the sub-application.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of: determining content to be shared through a child application running on a first parent application; acquiring a user identifier belonging to a second parent application; generating a sharing message comprising the content and sub-application identification information of the sub-application; sending a sharing message to a second parent application logged in by the user identifier; the sharing message is used for indicating the sub-application processing content which runs on the second parent application and corresponds to the sub-application identification information; the first parent application and the second parent application are different applications.
In one embodiment, the computer program causes the processor to further perform the steps of: acquiring a user collective identification corresponding to a user identification for logging in a first parent application; acquiring a download address corresponding to sub-application identification information associated with the user collective identification; downloading the corresponding program package according to the download address; the child application is run based on the common resources provided by the package and the first parent application.
In one embodiment, the computer program causes the processor to further perform the steps of: when a first parent application logs in with a user identifier of an administrator role, acquiring child application identifier information of a child application; acquiring a user collective identification corresponding to the user identification of the administrator role; sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information and the user collective identification.
In one embodiment, the computer program causes the processor to further perform the steps of: acquiring a user-defined login state issued by a sub-application server corresponding to a sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to perform identity identification by using a user identification associated with a user-defined login state during communication, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
In one embodiment, the computer program causes the processor to specifically execute the following steps when executing the step of obtaining the custom login state issued by the sub-application server corresponding to the sub-application: acquiring temporary login credentials of the sub-application; sending temporary login credentials to a sub-application server corresponding to the sub-application, wherein the sent temporary login credentials are used for indicating the sub-application server to generate a self-defined login state based on the temporary login credentials; receiving a user-defined login state returned by the sub-application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
In one embodiment, the computer program causes the processor to further perform the steps of: identifying a platform identifier corresponding to the first parent application; sending the platform identification to the sub-application server; and the platform identifier is used for indicating the sub-application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
In one embodiment, the data request is further used for instructing the sub-application server to query the user identifier and the session key associated with the custom login state, perform session communication with the first parent application platform by using the queried user identifier, and decrypt ciphertext transmitted by the session communication according to the session key.
In one embodiment, the computer program causes the processor to perform the following steps in particular when performing the step of generating the custom login state: the child application server sends the user collective identification and the child application key to a first parent application platform; the user collective identification corresponds to a user identification for logging in a first parent application, the child application key corresponds to the child application, and the first parent application platform corresponds to the first parent application; the child application server receives a calling interface certificate fed back by the first parent application platform; calling the interface certificate to correspond to the user collective identification and the sub-application key; the child application server sends a login request carrying a temporary login credential and a calling interface credential to the first parent application platform; after a calling interface certificate carried by the login request passes the verification of the first parent application platform, the child application server receives a user identifier which is fed back by the first parent application platform and corresponds to the temporary login certificate; the sub-application server generates a custom login state associated with the received user identification.
In one embodiment, the computer program causes the processor, when performing the step of sending the sharing message to the second parent application logged in with the user identification, to specifically perform the steps of: sending the sharing message to a first parent application platform corresponding to the first parent application; converting the sharing message into a conversion message suitable for a second parent application through the first parent application platform, and sending the conversion message to the second parent application platform corresponding to the second parent application; and sending the conversion message to a second parent application logged in with the acquired user identifier through a second parent application platform.
The computer device determines the content to be shared through the sub-application running on the first parent application, and generates a sharing message including the content and the sub-application identification information of the sub-application. The generated sharing message comprises the content to be shared and the sub-application identification information. After the sharing message is sent to the second parent application logged in by the user identifier belonging to the second parent application, the second parent application can call and run the child application corresponding to the child application identifier information so as to process the received content. Therefore, the first parent application and the second parent application which are different applications respectively can provide the running environment for running the child application, and the second parent application can process the messages which are sent by the first parent application and are related to the child application after receiving the messages, so that the communication of the child application messages among different application programs is realized.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of: receiving a sharing message shared by a child application running on a first parent application; acquiring content and sub-application identification information carried by a sharing message; entering the child application running on the second parent application according to the child application identification information; the second parent application and the first parent application are different applications; the content is processed by a child application running on the second parent application.
In one embodiment, the computer program causes the processor to further perform the steps of: acquiring a user-defined login state issued by a sub-application server corresponding to a sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
The computer device receives a sharing message shared by child applications running on the first parent application, and obtains content and child application identification information carried by the sharing message. And entering the child application running on the second parent application according to the child application identification information, and processing the received content through the child application running on the second parent application. Therefore, the first parent application and the second parent application can provide the running environment for running the child application, and when the second parent application receives the content which is sent by the first parent application and shared by the child application, the content can be processed by the child application, so that the communication of the child application message among different application programs is realized.
A computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of: determining content to be shared through a child application running on a first parent application; acquiring a user identifier belonging to a second parent application; generating a sharing message comprising the content and sub-application identification information of the sub-application; sending a sharing message to a second parent application logged in by the user identifier; the sharing message is used for indicating the sub-application processing content which runs on the second parent application and corresponds to the sub-application identification information; the first parent application and the second parent application are different applications.
In one embodiment, the computer program causes the processor to further perform the steps of: acquiring a user collective identification corresponding to a user identification for logging in a first parent application; acquiring a download address corresponding to sub-application identification information associated with the user collective identification; downloading the corresponding program package according to the download address; the child application is run based on the common resources provided by the package and the first parent application.
In one embodiment, the computer program causes the processor to further perform the steps of: when a first parent application logs in with a user identifier of an administrator role, acquiring child application identifier information of a child application; acquiring a user collective identification corresponding to the user identification of the administrator role; sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information and the user collective identification.
In one embodiment, the computer program causes the processor to further perform the steps of: acquiring a user-defined login state issued by a sub-application server corresponding to a sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to perform identity identification by using a user identification associated with a user-defined login state during communication, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
In one embodiment, the computer program causes the processor to specifically execute the following steps when executing the step of obtaining the custom login state issued by the sub-application server corresponding to the sub-application: acquiring temporary login credentials of the sub-application; sending temporary login credentials to a sub-application server corresponding to the sub-application, wherein the sent temporary login credentials are used for indicating the sub-application server to generate a self-defined login state based on the temporary login credentials; receiving a user-defined login state returned by the sub-application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
In one embodiment, the computer program causes the processor to further perform the steps of: identifying a platform identifier corresponding to the first parent application; sending the platform identification to the sub-application server; and the platform identifier is used for indicating the sub-application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
In one embodiment, the data request is further used for instructing the sub-application server to query the user identifier and the session key associated with the custom login state, perform session communication with the first parent application platform by using the queried user identifier, and decrypt ciphertext transmitted by the session communication according to the session key.
In one embodiment, the computer program causes the processor to perform the following steps in particular when performing the step of generating the custom login state: the child application server sends the user collective identification and the child application key to a first parent application platform; the user collective identification corresponds to a user identification for logging in a first parent application, the child application key corresponds to the child application, and the first parent application platform corresponds to the first parent application; the child application server receives a calling interface certificate fed back by the first parent application platform; calling the interface certificate to correspond to the user collective identification and the sub-application key; the child application server sends a login request carrying a temporary login credential and a calling interface credential to the first parent application platform; after a calling interface certificate carried by the login request passes the verification of the first parent application platform, the child application server receives a user identifier which is fed back by the first parent application platform and corresponds to the temporary login certificate; the sub-application server generates a custom login state associated with the received user identification.
In one embodiment, the computer program causes the processor, when performing the step of sending the sharing message to the second parent application logged in with the user identification, to specifically perform the steps of: sending the sharing message to a first parent application platform corresponding to the first parent application; converting the sharing message into a conversion message suitable for a second parent application through the first parent application platform, and sending the conversion message to the second parent application platform corresponding to the second parent application; and sending the conversion message to a second parent application logged in with the acquired user identifier through a second parent application platform.
The computer-readable storage medium determines content to be shared through a sub-application running on a first parent application, and generates a sharing message including the content and sub-application identification information of the sub-application. The generated sharing message comprises the content to be shared and the sub-application identification information. After the sharing message is sent to the second parent application logged in by the user identifier belonging to the second parent application, the second parent application can call and run the child application corresponding to the child application identifier information so as to process the received content. Therefore, the first parent application and the second parent application which are different applications respectively can provide the running environment for running the child application, and the second parent application can process the messages which are sent by the first parent application and are related to the child application after receiving the messages, so that the communication of the child application messages among different application programs is realized.
A computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of: receiving a sharing message shared by a child application running on a first parent application; acquiring content and sub-application identification information carried by a sharing message; entering the child application running on the second parent application according to the child application identification information; the second parent application and the first parent application are different applications; the content is processed by a child application running on the second parent application.
In one embodiment, the computer program causes the processor to further perform the steps of: acquiring a user-defined login state issued by a sub-application server corresponding to a sub-application; sending a data request carrying a user-defined login state to a sub-application server; the data request is used for indicating the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining data specified by the data request; and receiving the data fed back by the sub-application server.
The computer-readable storage medium receives a sharing message shared by a child application running on a first parent application, and obtains content and child application identification information carried by the sharing message. And entering the child application running on the second parent application according to the child application identification information, and processing the received content through the child application running on the second parent application. Therefore, the first parent application and the second parent application can provide the running environment for running the child application, and when the second parent application receives the content which is sent by the first parent application and shared by the child application, the content can be processed by the child application, so that the communication of the child application message among different application programs is realized.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (24)

1. A content sharing method, comprising:
determining content to be shared through a child application running on a first parent application;
displaying a user identifier set list comprising a user identifier set belonging to a first parent application and a user identifier set belonging to a second parent application through the first parent application, and acquiring a selected user identifier belonging to the second parent application from the user identifier set list; or determining a user collective identification corresponding to the application identification for logging in the first parent application, and acquiring a user identification which is associated with the user collective identification and belongs to a second parent application;
generating a sharing message including the content and sub-application identification information of the sub-application;
sending the sharing message to the second parent application logged in with the acquired user identifier; the sharing message is used for indicating the sub-application running on the second parent application and corresponding to the sub-application identification information to process the content; the first parent application and the second parent application are different applications, and the child application is supported to run in a running environment provided by the first parent application and also supported to run in a running environment provided by the second parent application.
2. The method of claim 1, further comprising:
acquiring a user collective identification corresponding to the user identification for logging in the first parent application;
acquiring a download address corresponding to sub-application identification information associated with the user collective identification;
downloading a corresponding program package according to the download address;
and running the child application based on the common resources provided by the program package and the first parent application.
3. The method of claim 2, further comprising:
when the first parent application logs in with the user identification of the administrator role, then
Acquiring sub-application identification information of the sub-application;
acquiring a user collective identification corresponding to the user identification of the administrator role;
sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information with the user collective identification.
4. The method of claim 1, further comprising:
acquiring a user-defined login state issued by a sub-application server corresponding to the sub-application;
sending a data request carrying the user-defined login state to the sub-application server; the data request is used for indicating the sub-application server to perform identity identification by using the user identification associated with the user-defined login state during communication, and obtaining data specified by the data request;
and receiving the data fed back by the sub application server.
5. The method according to claim 4, wherein the obtaining of the custom login state issued by the sub-application server corresponding to the sub-application comprises:
acquiring temporary login credentials of the sub-application;
sending the temporary login credential to a sub-application server corresponding to the sub-application, wherein the sent temporary login credential is used for instructing the sub-application server to generate a self-defined login state based on the temporary login credential;
receiving the user-defined login state returned by the sub application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
6. The method of claim 4, further comprising:
identifying a platform identifier corresponding to the first parent application;
sending the platform identification to the sub-application server;
and the platform identifier is used for indicating the child application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
7. The method of claim 4, wherein the data request is further used for instructing the sub-application server to query a user identifier and a session key associated with the custom login state, perform session communication with the first parent application platform by using the queried user identifier, and decrypt ciphertext transmitted by the session communication according to the session key.
8. The method of claim 4, wherein the step of generating the custom login state comprises:
the child application server sends the user collective identification and the child application key to a first parent application platform; the user collective identification corresponds to a user identification for logging in the first parent application, the child application key corresponds to the child application, and the first parent application platform corresponds to the first parent application;
the child application server receives a calling interface certificate fed back by the first parent application platform; the calling interface certificate corresponds to the user collective identification and the sub-application key;
the child application server sends a login request carrying a temporary login credential and the call interface credential to the first parent application platform;
after a calling interface credential carried by the login request passes the verification of the first parent application platform, the child application server receives a user identifier corresponding to the temporary login credential fed back by the first parent application platform;
the sub-application server generates a custom login state associated with the received user identification.
9. The method according to any one of claims 1 to 8, wherein the sending the sharing message to the second parent application logged in with the obtained user identifier comprises:
sending the sharing message to a first parent application platform corresponding to the first parent application;
converting the sharing message into a conversion message suitable for the second parent application through the first parent application platform, and sending the conversion message to a second parent application platform corresponding to the second parent application;
and sending the conversion message to the second parent application logged in with the acquired user identifier through the second parent application platform.
10. A method of message processing, comprising:
receiving a sharing message shared by a child application running on a first parent application;
acquiring content and sub-application identification information carried by the sharing message;
entering the child application running on a second parent application according to the child application identification information; the second parent application and the first parent application are different applications, and the child application is supported to run in a running environment provided by the first parent application and is also supported to run in a running environment provided by the second parent application;
processing the content by the child application running on the second parent application;
when the child application running on the first parent application shares the shared message, the method comprises the following steps:
displaying a user identifier set list comprising a user identifier set belonging to a first parent application and a user identifier set belonging to a second parent application through the first parent application, and acquiring a selected user identifier belonging to the second parent application from the user identifier set list; or determining a user collective identification corresponding to the application identification for logging in the first parent application, and acquiring a user identification which is associated with the user collective identification and belongs to a second parent application;
and generating a sharing message comprising the content and the sub-application identification information of the sub-application through the first parent application, and sending the sharing message to the second parent application logged in with the acquired user identification.
11. The method of claim 10, further comprising:
acquiring a user-defined login state issued by a sub-application server corresponding to the sub-application;
sending a data request carrying the user-defined login state to the sub-application server; the data request is used for indicating the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining data specified by the data request;
and receiving the data fed back by the sub application server.
12. A content sharing apparatus, the apparatus comprising:
a first parent application for running a child application;
the sub-application is used for determining the content to be shared;
the first parent application is further used for displaying a user identification set list comprising a user identification set belonging to the first parent application and a user identification set belonging to the second parent application, and acquiring a selected user identification belonging to the second parent application from the user identification set list; or determining a user collective identification corresponding to the application identification for logging in the first parent application, and acquiring a user identification which is associated with the user collective identification and belongs to a second parent application;
the first parent application is further used for generating a sharing message comprising the content and the sub-application identification information of the sub-application;
the first parent application is further used for sending the sharing message to the second parent application logged in with the user identifier;
the sharing message is used for indicating the sub-application running on the second parent application and corresponding to the sub-application identification information to process the content; the first parent application and the second parent application are different applications, and the child application is supported to run in a running environment provided by the first parent application and also supported to run in a running environment provided by the second parent application.
13. The apparatus according to claim 12, wherein the first parent application is further configured to obtain a collective user identifier corresponding to a user identifier that logs in the first parent application; acquiring a download address corresponding to sub-application identification information associated with the user collective identification; downloading a corresponding program package according to the download address; and running the child application based on the common resources provided by the program package and the first parent application.
14. The apparatus of claim 13, wherein the first parent application is further configured to obtain child application identification information of the child application when the first parent application is logged in with a user identification in an administrator role; acquiring a user collective identification corresponding to the user identification of the administrator role; sending the sub-application identification information and the user collective identification; the transmitted sub-application identification information and the user collective identification are used for associating the sub-application identification information with the user collective identification.
15. The apparatus according to claim 12, wherein the sub-application is further configured to obtain a custom login state issued by a sub-application server corresponding to the sub-application; sending a data request carrying the user-defined login state to the sub-application server; the data request is used for indicating the sub-application server to perform identity identification by using the user identification associated with the user-defined login state during communication, and obtaining data specified by the data request; and receiving the data fed back by the sub application server.
16. The apparatus of claim 15, wherein the sub-application is further configured to obtain a temporary login credential of the sub-application; sending the temporary login credential to a sub-application server corresponding to the sub-application, wherein the sent temporary login credential is used for instructing the sub-application server to generate a self-defined login state based on the temporary login credential; receiving the user-defined login state returned by the sub application server; the validity period of the self-defined login state is longer than that of the temporary login credential.
17. The apparatus of claim 15, wherein the child application is further configured to identify a platform id corresponding to the first parent application; sending the platform identification to the sub-application server; and the platform identifier is used for indicating the child application server to communicate with the first parent application platform corresponding to the platform identifier when receiving the data request.
18. The apparatus of claim 15, wherein the data request is further configured to instruct the sub-application server to query a user identifier and a session key associated with the custom login state, perform session communication with the first parent application platform using the queried user identifier, and decrypt ciphertext transmitted by the session communication according to the session key.
19. The apparatus of claim 15, wherein the child application server sends the user collective identification and the child application key to the first parent application platform; the user collective identification corresponds to a user identification for logging in the first parent application, the child application key corresponds to the child application, and the first parent application platform corresponds to the first parent application; the child application server receives a calling interface certificate fed back by the first parent application platform; the calling interface certificate corresponds to the user collective identification and the sub-application key; the child application server sends a login request carrying a temporary login credential and the call interface credential to the first parent application platform; after a calling interface credential carried by the login request passes the verification of the first parent application platform, the child application server receives a user identifier corresponding to the temporary login credential fed back by the first parent application platform; the sub-application server generates a custom login state associated with the received user identification.
20. The apparatus according to any one of claims 12 to 19, wherein the first parent application is further configured to send the sharing message to a first parent application platform corresponding to the first parent application; converting the sharing message into a conversion message suitable for the second parent application through the first parent application platform, and sending the conversion message to a second parent application platform corresponding to the second parent application; and sending the conversion message to the second parent application logged in with the acquired user identifier through the second parent application platform.
21. A message processing apparatus comprising:
the second parent application is used for receiving the sharing message shared by the child applications running on the first parent application; acquiring content and sub-application identification information carried by the sharing message; entering the child application running on a second parent application according to the child application identification information; the second parent application and the first parent application are different applications, and the child application is supported to run in a running environment provided by the first parent application and is also supported to run in a running environment provided by the second parent application;
the sub-application is used for processing the content;
when the child application running on the first parent application shares the shared message, the method comprises the following steps:
displaying a user identifier set list comprising a user identifier set belonging to a first parent application and a user identifier set belonging to a second parent application through the first parent application, and acquiring a selected user identifier belonging to the second parent application from the user identifier set list; or determining a user collective identification corresponding to the application identification for logging in the first parent application, and acquiring a user identification which is associated with the user collective identification and belongs to a second parent application;
and generating a sharing message comprising the content and the sub-application identification information of the sub-application through the first parent application, and sending the sharing message to the second parent application logged in with the acquired user identification.
22. The apparatus according to claim 21, wherein the sub-application is further configured to obtain a custom login state issued by a sub-application server corresponding to the sub-application; sending a data request carrying the user-defined login state to the sub-application server; the data request is used for indicating the sub-application server to communicate with the user identifier associated with the user-defined login state, and obtaining data specified by the data request; and receiving the data fed back by the sub application server.
23. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 11.
24. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 11.
CN201810594633.8A 2018-06-11 2018-06-11 Content sharing method and device, and message processing method and device Active CN108829528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810594633.8A CN108829528B (en) 2018-06-11 2018-06-11 Content sharing method and device, and message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810594633.8A CN108829528B (en) 2018-06-11 2018-06-11 Content sharing method and device, and message processing method and device

Publications (2)

Publication Number Publication Date
CN108829528A CN108829528A (en) 2018-11-16
CN108829528B true CN108829528B (en) 2021-06-25

Family

ID=64145004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810594633.8A Active CN108829528B (en) 2018-06-11 2018-06-11 Content sharing method and device, and message processing method and device

Country Status (1)

Country Link
CN (1) CN108829528B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840146B (en) * 2019-01-16 2023-05-09 腾讯科技(深圳)有限公司 Service processing method, device, terminal and storage medium
CN111475310B (en) * 2019-01-24 2023-03-21 腾讯科技(深圳)有限公司 Message sharing method and device and user data acquisition method and device
CN109857762B (en) * 2019-01-29 2021-08-17 腾讯科技(深圳)有限公司 User data processing method, sharing message processing method and computer equipment
CN109976922B (en) * 2019-03-04 2021-02-02 上海连尚网络科技有限公司 Discovery method, device and computer storage medium between small program platforms
CN109933442B (en) * 2019-03-04 2022-12-30 上海连尚网络科技有限公司 Method, apparatus and computer storage medium for communication between small program platforms
CN110086799B (en) * 2019-04-23 2021-08-24 广州腾讯科技有限公司 Identity verification method and device
CN110083465B (en) * 2019-04-26 2021-08-17 上海连尚网络科技有限公司 Data transmission method between boarded applications
CN110098998B (en) * 2019-04-30 2021-11-30 上海掌门科技有限公司 Method and apparatus for processing information
CN112711769A (en) * 2019-10-25 2021-04-27 腾讯科技(深圳)有限公司 Data processing method and device and electronic equipment
CN113726640A (en) * 2020-05-26 2021-11-30 华为技术有限公司 Instant messaging method and equipment
CN114697045A (en) * 2022-03-25 2022-07-01 北京字跳网络技术有限公司 Data processing method, system, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660678A (en) * 2015-01-16 2015-05-27 深圳市深信服电子科技有限公司 Application data sharing method and device
CN106850392A (en) * 2015-12-04 2017-06-13 腾讯科技(深圳)有限公司 Message treatment method and device, message receival method and device
CN106909297A (en) * 2016-08-19 2017-06-30 阿里巴巴集团控股有限公司 A kind of data communication processing method, device and electronic equipment, touch display device
CN107102880A (en) * 2017-05-11 2017-08-29 腾讯科技(深圳)有限公司 Message treatment method, device, storage medium and computer equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244442A1 (en) * 2007-03-30 2008-10-02 Microsoft Corporation Techniques to share information between application programs
US8407605B2 (en) * 2009-04-03 2013-03-26 Social Communications Company Application sharing
CN102541931B (en) * 2010-12-31 2014-07-02 联想(北京)有限公司 Application sharing method and application sharing equipment
CN103179220B (en) * 2011-12-20 2016-06-22 腾讯科技(深圳)有限公司 Application program plays the sharing method of content and related system and device
CN103200430B (en) * 2012-01-04 2017-05-31 华为终端有限公司 personal content sharing method, system, server and terminal device
CN102902733B (en) * 2012-09-11 2016-12-21 北京奇艺世纪科技有限公司 A kind of information-pushing method based on content subscription, Apparatus and system
CN104202357A (en) * 2014-08-08 2014-12-10 深信服网络科技(深圳)有限公司 Content sharing method and content sharing system
CN107203576B (en) * 2016-03-18 2020-06-05 北京京东尚科信息技术有限公司 Information synchronization method and device
US20170289235A1 (en) * 2016-03-29 2017-10-05 Microsoft Technology Licensing, Llc Recipient-Based Content Sharing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660678A (en) * 2015-01-16 2015-05-27 深圳市深信服电子科技有限公司 Application data sharing method and device
CN106850392A (en) * 2015-12-04 2017-06-13 腾讯科技(深圳)有限公司 Message treatment method and device, message receival method and device
CN106909297A (en) * 2016-08-19 2017-06-30 阿里巴巴集团控股有限公司 A kind of data communication processing method, device and electronic equipment, touch display device
CN107102880A (en) * 2017-05-11 2017-08-29 腾讯科技(深圳)有限公司 Message treatment method, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN108829528A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108829528B (en) Content sharing method and device, and message processing method and device
US11252203B2 (en) Method for processing message in group session, storage medium, and computer device
US10063547B2 (en) Authorization authentication method and apparatus
CN108846657B (en) Electronic transfer method and related device
US9692747B2 (en) Authenticating linked accounts
CN107294908B (en) Account information processing method, device and system in instant messaging application
US11175796B2 (en) Menu management method, server, and system
CN111447133B (en) Message transmission method and device, storage medium and electronic device
KR102279582B1 (en) Conferencing apparatus and method for switching access terminal thereof
US10326714B2 (en) Instant messaging with non subscriber users
US11082813B2 (en) Message-based management service enrollment
CN107679831B (en) Method and related device for calling ERP function
US20240089249A1 (en) Method and system for verification of identify of a user
CN115543646A (en) Contact processing method and device, computer equipment and storage medium
CN110673970B (en) Cross-process calling system and method based on web application
US11805090B1 (en) Method, apparatus, and system for securing electronic messages
CN108600255B (en) Mock service management method, device, computer equipment and storage medium
JP2022504575A (en) Systems and methods for transmitting and retrieving messages using the blockchain
US20200036749A1 (en) Web browser incorporating social and community features
CN105740357A (en) Method and device for providing information
CN110134530B (en) Session content processing method and device
CN112364334A (en) Single sign-on method and device, electronic equipment and storage medium
EP4064082A1 (en) Data injection system and method thereof
CN114244607B (en) Single sign-on method, system, device, medium, and program
CN107517154A (en) A kind of unrelated processing of foreground application, transmit the method and system that user inputs information

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