CN110071861B - Information sharing method and device, storage medium and electronic device - Google Patents

Information sharing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN110071861B
CN110071861B CN201810070128.3A CN201810070128A CN110071861B CN 110071861 B CN110071861 B CN 110071861B CN 201810070128 A CN201810070128 A CN 201810070128A CN 110071861 B CN110071861 B CN 110071861B
Authority
CN
China
Prior art keywords
client
information
execution result
server
indication information
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
CN201810070128.3A
Other languages
Chinese (zh)
Other versions
CN110071861A (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 CN201810070128.3A priority Critical patent/CN110071861B/en
Publication of CN110071861A publication Critical patent/CN110071861A/en
Application granted granted Critical
Publication of CN110071861B publication Critical patent/CN110071861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information sharing method and device, a storage medium and an electronic device. Wherein, the method comprises the following steps: acquiring an execution result of a target task of a first client, wherein the first client is a client of a first application; according to the execution result, requesting the server to call a target service so as to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client; and acquiring and displaying the indication information fed back by the server. The invention solves the technical problem that the operation of sharing the information is complicated in the related technology.

Description

Information sharing method and device, storage medium and electronic device
Technical Field
The invention relates to the field of internet, in particular to an information sharing method and device, a storage medium and an electronic device.
Background
With the development of multimedia technology and the popularization of wireless networks, people's entertainment activities become more and more abundant, such as playing games through handheld media devices, playing stand-alone or networked games through computers, and various game types, such as barrage shooting games, adventure games, simulation games, role playing games, multi-player online tactical sports MOBA games, leisure chess and card games, and other games.
In most types of games, a player may choose to play with other players, such as the current market-driven MOBA game, and multiple players may participate in the game online at the same time. After the game is finished, the player often needs to share information such as a game result, but the current computer game client (PC end) does not have a better sharing propagation path so as to share the battle performance of the PC end game through other more convenient terminals (such as a mobile phone). The player needs to show by taking a picture with a mobile phone, the definition, the resolution, the brightness and the like of the picture need to be adjusted after the player takes the picture, then the picture is loaded to the sharing platform, the word description is attached during sharing, the sharing process is relatively complicated in operation, the transmission capacity is obviously far from enough, and therefore, the player does not have a convenient carrier of a mobile terminal in the related technology to transmit the contents of battle performance, activities and the like of a computer client game.
Similarly, in other applications, similar problems exist in scenes such as competitive activities (e.g., singing activities) performed on a live broadcast platform, social activities performed by a social application, and the like, and sharing of competitive results and social results is cumbersome.
Aiming at the technical problem that the operation of sharing information in the related technology is complicated, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an information sharing method and device, a storage medium and an electronic device, and at least solves the technical problem that the operation of sharing information is complex in the related technology.
According to an aspect of an embodiment of the present invention, there is provided an information sharing method, including: acquiring an execution result of a target task of a first client, wherein the first client is a client of a first application; according to the execution result, requesting the server to call a target service so as to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client; and acquiring and displaying the indication information fed back by the server.
According to an aspect of an embodiment of the present invention, there is provided an information sharing method, including: when a verification request requesting to verify a first client is acquired, verifying the first client, wherein the first client is a client of a first application; and under the condition that the first client passes the verification, sending indication information to the first client, and at least displaying the indication information through the first client, wherein the indication information is used for a second client to link to and display a sharing interface of an execution result, and the second client is installed on another terminal different from the first client.
According to another aspect of the embodiments of the present invention, there is also provided an information sharing apparatus, including: the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring an execution result of a target task of a first client, and the first client is a client of a first application; the request unit is used for requesting the server to call the target service according to the execution result so as to request the indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client; and the display unit is used for acquiring and displaying the indication information fed back by the server.
According to another aspect of the embodiments of the present invention, there is also provided an information sharing apparatus applied to a first server, the apparatus including: the second obtaining unit is used for verifying the first client when obtaining a verification request requesting to verify the first client, wherein the first client is a client of the first application; and the sending unit is used for sending the indication information to the first client side under the condition that the first client side passes the verification, and at least displaying the indication information through the first client side, wherein the indication information is used for the second client side to link to and display a sharing interface of the execution result, and the second client side is installed on another terminal different from the first client side.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the invention, an execution result of a target task of a first client is obtained, wherein the first client is a client of a first application; according to the execution result, requesting the server to call a target service so as to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client; the indication information fed back by the server is obtained and displayed, the technical problem that the operation of sharing the information in the related technology is complicated can be solved, and the technical effect of reducing the complexity of the information sharing operation is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a hardware environment of a sharing method of information according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative method for sharing information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative user interface according to an embodiment of the present invention;
FIG. 4 is a schematic view of an alternative user interface according to an embodiment of the present invention;
FIG. 5 is a schematic view of an alternative user interface according to an embodiment of the present invention;
FIG. 6 is a flow chart of an alternative method for sharing information according to an embodiment of the present invention;
FIG. 7 is a flow diagram of an alternative key generation method according to an embodiment of the invention;
FIG. 8 is a flow diagram of an alternative method of resource access according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an alternative two-dimensional code according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an alternative data interface adaptation according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of an alternative data message in accordance with an embodiment of the present invention;
fig. 12 is a schematic diagram of an alternative information sharing apparatus according to an embodiment of the present invention; and
fig. 13 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terms appearing in the description of the embodiments of the present invention are applied to the following explanations:
opening black: the emerging words popular in various battle games refer to the behavior of a group of people in the same game to form a team to play the game under the condition of convenient communication (such as direct communication in the same internet bar or real-time communication through chat tools to exchange information in the game although the people are not together).
WEBVIEW: WEBVIEW may be understood as a browser with WebKit kernel, which is an open source browser engine corresponding to Gecko and Trident.
WEB: known collectively as the World Wide Web, the global Wide area network, also known as the World Wide Web, is a hypertext and HTTP based, global, dynamically interactive, cross-platform, distributed graphical information system.
HTTP 401: indicating a login failure due to unauthorized access.
QR code: is a kind of two-dimensional barcode, where QR is from the acronym of "Quick Response," meaning that Quick Response, comes from the inventor's desire that QR codes allow their contents to be decoded quickly. The QR code can store more data than the common bar code, and does not need to be aligned with a scanner in a straight line during scanning like the common bar code.
PHPQRCODE: the PHP two-dimensional code generation class library can be used for generating two-dimensional codes.
CSS: cascading Style Sheets (english-language full name: Cascading Style Sheets) is a computer language used to represent file styles such as HTML (an application of standard general markup language) or XML (a subset of standard general markup language).
HTML: hypertext markup language, an application under standard universal markup language.
JS: JavaScript is an transliterated script language, which is a dynamic type, weak type, prototype-based language and a built-in support type.
According to an aspect of the embodiments of the present invention, a method embodiment of an information sharing method is provided.
Optionally, in this embodiment, the information sharing method may be applied to a hardware environment formed by the server 101, the terminal 103, the terminal 105, and the database 107 as shown in fig. 1. As shown in fig. 1, the server 101 is connected to the terminal 103 through a network, and the database 107 may be disposed on the server 101, or disposed separately from the server 101 and communicatively connected to the server 101, so as to provide data storage or reading services for the server 101, the network including but not limited to: the terminal 103 includes but is not limited to a relatively fixed terminal such as a PC or a smart tv, and the terminal 105 includes but is not limited to a mobile terminal such as a mobile phone, a tablet computer, and a smart watch. The information sharing method according to the embodiment of the present invention may be executed by the server 101, the terminal 103, or the terminal 105. The terminal 103 or the terminal 105 may execute the information sharing method according to the embodiment of the present invention by a client installed thereon. The technical solution of the present application is detailed below by taking the embodiment shown in fig. 1 as an example:
step S102, when a target task (such as a game, a social task, a competitive task, etc.) executed on the user terminal 103 is completed, an execution result (or referred to as a completion result) of the target task is obtained, where the target task is a task completed in a virtual scene of a first client, and the first client is a client of a first application.
Step S104, at least indicating information (such as a two-dimensional code) is displayed on the first client, where the indicating information is generated by the first application calling a target service, and the target service may be a service provided by a third-party application, such as a service provided by a server of a WEB application, for generating the indicating information.
The indication information is used for linking to a sharing interface for displaying the execution result on a second client, the first client and the second client are installed on different terminals, the first client is installed on the user terminal 103, and the second client is installed on the user terminal 105.
In step S106, the user terminal 105 obtains the indication information displayed on the first client, for example, directly scans the two-dimensional code picture to obtain the link address of the sharing interface.
Step S108, displaying, at the second client, a sharing interface of the execution result linked to by the indication information, so as to share the execution result at the sharing interface.
In order to facilitate a clearer understanding of the technical solutions of the present application, the technical solutions of the present application are described below from the user terminal 103, the user terminal 105, and the server side, respectively.
Fig. 2 is a flowchart of an optional information sharing method according to an embodiment of the present invention, which is applied to a terminal 103 installed with a first client, and as shown in fig. 2, the method may include the following steps:
step S202, an execution result of executing a target task of a first client is obtained, where the first client is a client of a first application, and the target task may be a task completed in a virtual scene of the first client.
The first client is a client of the first application, and the first application may provide an application of a virtual scene, such as a game application, a simulation application (simulation of a military scene), a social application, and the like.
The target tasks are different according to different application types, such as game tasks in a virtual scene of a game application, simulation tasks (such as virtual military war) in a virtual scene of a simulation application, social tasks in a virtual scene of a social application, and the like.
Step S204, according to the execution result, calling the target service to the server to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and obtain a sharing interface of the execution result, and the second client is installed on another terminal different from the first client. For example, the execution result is carried in the request and sent to the server where the target service is located or the server of the first application to request the indication information.
And step S206, acquiring and displaying the indication information fed back by the server.
The indication information is generated by the first application calling the target service, in other words, the indication information is not generated by the first application, the second client may display a sharing interface of the execution result linked by the indication information, the sharing interface may be used to perform a sharing operation on the execution result, the first client and the second client are installed on different terminals, so that a channel sharing between the different terminals may be opened, optionally, the first client and the second client may be installed on different types of terminals, so that a channel sharing between the different types of terminals may be opened, the terminal on which the first client is installed may be denoted as a first terminal (corresponding to the user terminal 103 in fig. 1), the terminal on which the second client is installed may be denoted as a second terminal (corresponding to the user terminal 105 in fig. 1), the first terminal is a relatively fixed terminal (not belonging to a mobile type), such as a PC, a smart television, a notebook of a Windows system, etc., and the second terminal is a mobile type terminal, such as a mobile phone, a notebook, a smart watch, etc.
For the second terminal of the mobile intelligent device, a lot of software with transmission platforms, such as instant messaging software, social software, microblog software and the like, is often installed, and the second terminal can enter the sharing interface through the indication information, so that the execution result can be shared on the transmission platforms. Thereby providing a convenient mobile end carrier for spreading the contents (i.e. execution results) of the battle performance, activities and the like of the computer client game.
Through the steps S202 to S206, an execution result of executing a target task of a first client is obtained, where the first client is a client of a first application; according to the execution result, requesting the server to call a target service so as to request indication information for sharing the execution result, wherein the indication information is used for a second client to link to and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client; the indication information fed back by the server is obtained and displayed, so that sharing of the execution result can be achieved in the sharing interface, the technical problem that operation of information sharing is complex in the related technology can be solved, and the technical effect of reducing complexity of information sharing operation is achieved.
In the technical solution provided in step S204, according to the execution result, the first application initiates a request to the server, and invokes the target service, so as to request the server for sharing the indication information for the execution result, the second client may be linked to and display the sharing interface for the execution result through the indication information, the first client is a client of the first application, and the second client is a client of the third application, such as an application of an instant messaging application, a social application, an information sharing platform, and the like.
Alternatively, before the indication information is displayed on the first client, the indication information may be acquired as follows:
s12, obtaining the authentication information (e.g., Token key) of the first client.
Optionally, in an embodiment of the present application, the obtaining the authentication information of the first client may include:
s122, sending request information (portable random number 1) to a second server, wherein the request information is used for requesting to acquire authentication information, and the second server is a server of the first application;
s124, receiving response information returned by the second server, wherein the response information comprises first information (such as a random number 2) and a public key;
s126, sending the key (such as the master key pre _ master _ key) encrypted by the public key to the second server, the key being generated on the first client according to the first information;
and S128, receiving authentication information returned by the second server, wherein the authentication information is generated by the second server according to the secret key.
S14, sending a verification request to the first server, where the verification request carries authentication information and an execution result, and the first server is configured to perform identity verification on the first client by using the authentication information (e.g., determine whether the received Token is consistent with the Token locally stored, and if so, pass the verification), and verify whether the execution result in the verification request is consistent with the execution result of the target task locally stored by the first server, where the first server is a server of the target service.
S16, when the first client passes the authentication of the first server and confirms that the execution result in the authentication request matches the execution result of the target task locally stored in the first server, acquires the instruction information from the first server. In other words, the server in step S204 may be a first server, such as a Web server. Optionally, the server in step S204 may also be the first server, that is, the first server calls the second server to generate the indication information and stores the indication information locally in the first server for the first client to obtain.
Optionally, the first application includes a game application, the target service includes a service provided by a Web application (e.g., a Web application) for generating a two-dimensional code, and displaying the execution result in the first area of the first client, and displaying the indication information in the second area of the first client includes: and displaying an execution result in a first area, and displaying indication information in a second area, wherein the first area is an interaction area of a game application on a first client, the second area is an interaction area of a webpage application on the first client, the second client is installed on a mobile terminal, and the first client is installed on a terminal with a type different from the mobile type.
In the technical solution provided in step S206, the indication information fed back by the server is obtained and displayed, and the first client is a client of the first application.
In an embodiment of the present application, displaying at least the indication information on the first client includes: and displaying an execution result in a first area of the first client, and displaying indication information in a second area of the first client, wherein the first area is an interaction area of the first application on the first client, and the second area is an interaction area of the first client interacting with the target service.
Optionally, the displaying the indication information in the second area of the first client includes:
1) displaying pattern information in the second area, wherein the indication information includes the pattern information, the pattern information is used for identifying a link address of the sharing interface, such as a two-dimensional code and a bar code (i.e., an optical code picture), and the second client enters the sharing interface through the link address identified from the pattern information, such as by scanning the pattern information;
2) displaying text information in the second area, wherein the indication information includes text information, such as a string of numbers corresponding to the barcode, or a verification code, an identification code, and the like, a link address used for acquiring the sharing interface is included in the text information, and the second client enters the sharing interface by inputting the link address acquired by the text information, for example, entering the sharing interface by inputting the text information (as a verification request) in a certain webpage (the webpage is an interface used for providing access to the sharing interface); or inputting the text information into a sharing interface (for the server of the target service, the text information uniquely corresponds to the link of the sharing interface), wherein the text information is in the concerned public number of the instant messaging application, and the public number is used for providing the interface for sharing the execution result of the first application.
Optionally, in addition, the indication information may include other information besides pattern information and/or text information, for example, in order to identify a two-dimensional code of different players, an account identifier (such as an account number, an avatar, a nickname, etc.) of a first account (i.e., an account number of a first application logged on the first client) may be carried in the two-dimensional code.
According to an aspect of the embodiments of the present invention, a method embodiment of an information sharing method is provided, where the method may be applied to a server, and the method includes:
step S22, when a verification request requesting to verify the first client is obtained, verifying the first client, wherein the first client is a client of the first application, and the verification request is used for requesting to verify the first client;
step S24, sending an indication message to the first client when the first client passes the verification, and displaying at least the indication message by the first client, where the indication message is used to link to and display a sharing interface of an execution result on the second client, the execution result is used to indicate a result of a target task completed in a virtual scene of the first client, and the first client and the second client are installed on different terminals.
Optionally, the verification request carries authentication information and an execution result, wherein verifying the first client includes: performing identity verification on the first client by using the authentication information (such as Token information), and verifying whether an execution result in the verification request is consistent with an execution result of a target task stored locally; and determining that the first client passes the authentication under the condition that the first client passes the authentication of the first server and the execution result in the authentication request is consistent with the execution result of the target task locally stored by the first server.
According to an aspect of the embodiments of the present invention, there is provided an embodiment of a method for sharing information, which is applied to a second terminal 105, that is, a mobile terminal, where a second client is installed, where the method includes:
step S32, acquiring indication information displayed on the first client, where the first client is a client of the first application, and the indication information is generated by the first application calling the target service.
If the indication information is pattern information, scanning can be performed through a camera (namely an optical scanning module) of the second terminal to obtain the pattern information, and a link address of a sharing interface of the shared webpage is identified; if the indication information is text information, character recognition can be carried out through an image scanned by the camera, the text information in the text information is recognized, or the text information is directly input by a user.
Step S34, displaying, at the second client, a sharing interface of an execution result linked to by the indication information, where the execution result is used to represent a result of the target task completed in the virtual scene of the first client, and the first client and the second client are installed on different terminals.
Optionally, after the second client displays the sharing interface of the execution result linked to by the indication information, if a sharing event (such as a touch operation, a gesture operation, and the like) is detected on the sharing interface; and sharing the execution result according to the indication of the sharing event, such as sharing to a friend circle, a sharing platform of an instant messaging application, a sharing platform of a social application, a microblog and the like.
By using the technical scheme of the application, data between the mobile terminal and the client terminal are communicated in a mode of embedding a dynamic WEB two-dimensional code webpage in the game client terminal; the problem of narrow client game achievement data sharing and transmission is solved by showing client game data on the mobile terminal; the client-side game achievement sharing is put in the mobile terminal and is matched with the function buttons for entering the official website, hot activities and the like, so that the transmission of the client-side game after the client-side game is turned on and the transmission of the game related activities can be improved; the client game two-dimensional code and the mobile terminal data interface communication mode; and fusing the battle performance data and the picture two-dimensional code at the server side by using a back-end technology.
As an alternative embodiment, the following describes an embodiment of the present application in detail by taking the first application as a game application on a PC.
In the related art, the game data of the client is displayed and shared in a multi-terminal communication mode, so that the client game is inconvenient to popularize at a mobile terminal, and even the public praise is influenced.
The technical scheme of the application is applicable to all game halls with WEBVIEW clients, the implementation of mobile end carriers of client game battle performance data is realized in a mode of embedding WEB two-dimensional codes, battle performance data services are integrated on game clients through the clients, battle performance two-dimensional codes are presented in real time by requesting different parameters, client game battle performance data summarization and display of a mobile terminal are realized by scanning and sharing the two-dimensional codes obviously through a user mobile device mark, users can share and transmit game data through mobile terminal pages, so that the exposure, the transmission rate, the public praise, the black and green opening and the transmission and participation rate of hot activities of client games on the mobile terminal are improved, a new sharing, transmission and operation route is opened up for the client games on the mobile terminal in the era of Internet mobile terminals, and the game activity is greatly improved, The game achievement sharing and spreading rate and the related activity participation rate are greatly saved in the mode of WEBVIEW, the two-dimensional code is loaded and generated, the labor cost is greatly saved, the development efficiency is improved, and the operation activity is improved.
The technical solution of the present application can be applied to various types of applications, such as a game application, as shown in fig. 3, a WEB page address is actually introduced to a WEB page area (i.e., an area shown by 301 in fig. 3, or a second area) beside a game performance area 303 (or a first area) of a client of the game application, and the WEB page customization can be customized according to a game style of the client, in other words, the WEB page style of the WEB page is consistent with the game style of the first client, so that the WEB page is not visually recognized as a part of the client.
As shown in fig. 3, the results of the client's battle performance presentation after the completion of the gaming experience are shown, and in the client, the right side portion 301 shows the results of the WEB loading embedded in the client. The WEB display page 301 is loaded using the client embedded WEB browser view, and the two-dimensional code will adapt with the size of different embedded clients.
The two-dimension code displayed on the client side of the first terminal (namely a PC terminal) can be scanned through the mobile device (a second terminal), the two-dimension code enters a display page of the battle performance mobile terminal, and the two-dimension code can be shared with platforms such as a friend circle, an instant messaging application, a social application and a microblog and can be shared with friends.
The sharing thumbnail is shown in fig. 4, a player (for example, "1 Yu") can share through a sharing button of a sharing interface, while sharing, the player can set the current "location" of the player, the shared content "who can see" or "remind who see", friends in a circle of friends click a "battle performance sharing" link and then enter the interface shown in fig. 5, the sharing file shown in fig. 5 can be intelligently adapted and output to be displayed according to game data, a good display thumbnail and a file are convenient to popularize and advertise, and interfaces of "entering official website", "hot activities" and "gift package center" are provided. Embodiments of the present application are described in detail below with reference to the steps shown in fig. 6.
In step S602, the client uses the TOKEN key and the time parameter to verify and determine whether the current user and the battle performance are correct.
Optionally, the client may obtain the current time, the user information, and the client data, generate a TOKEN key according to the information, and send the TOKEN key to the server for verification, and perform data synchronization after the verification is passed.
An alternative TOKEN key generation scheme is shown in fig. 7:
step S702, the user terminal sends a random number 1 (handshake package, or called request information) to a WEB server for game authentication;
step S704, the WEB server sends a random number 2 (a response packet to handshake, which is equivalent to first information) to the user terminal;
step S706, the WEB server sends the public key to the user terminal;
step S708, the user terminal sends the pre _ master _ key (namely the master key generated according to the first information) encrypted by the public key to the WEB server;
step S710, the WEB server sends a TOKEN key to the user terminal according to the authentication request (or called authentication information) generated by the pre _ master _ key;
step S712, the user terminal sends a TOKEN key to the server to request access to a resource;
step S714, if the TOKEN key is correct, the resource is opened to the ue.
And step S604, if the verification is passed, synchronizing the user data stored in the server and storing the user data in the intercommunication database for subsequent data retrieval.
In step S606, the client sends the extracted parameters of the TOKEN key of the user, the completion time of the battle achievement, the game service, etc. to the server as a part of the request data. An alternative embodiment is shown in FIG. 8, comprising steps S802-S812:
in step S802, a client (a client or a browser of the first application) requests to access a resource through a GET or POST method (a resource obtaining method in HTTP).
Step S804, the authentication service intercepts the request as a middleware, first searches Token key information in a user data cookie (stored in the database of the request object, denoted as database 1), and if not found, searches in an HTTP Authorization Head (i.e., the header of the authentication request of the HTTP).
Step S806, if Token information is found, encrypt the key according to the signature in the configuration file, and call JWT (fully called JSON Web Token) Lib (an open standard library based on JSON, denoted as database 2) to decrypt and decode the Token information.
Step S808, after decoding is completed and the signature is verified, verifying field information such as exp, nbf, aud (field in Token) in Token.
Step S810, after all the resources pass, determining the authority logic of the requested resource (protected resource) according to the acquired role authority information of the user.
Step S812, Response information is returned, and if the authority logic judges that the Response information passes, the object is returned through Response; otherwise HTTP 401 is returned.
In step S608, the server processes each information parameter (such as Token key, Time parameter Time, Date, etc.) in the received request data, and generates a two-dimensional code and a style file (including CSS, HTML, JS, etc.) of a related WEB page by using PHPQRCODE (a two-dimensional code generation tool).
And step S610, returning the manufactured two-dimensional code to the client WEBVIEW rendering display.
The two-dimensional code picture is shown in fig. 9:
blank area 901: i.e. empty areas not carrying information;
position detection pattern 903, position detection pattern separator 905, positioning pattern 907: the method is used for positioning the two-dimensional codes, and for each QR code, the position is fixed, and only the size and the specification are different;
correction pattern 909: specification determination, namely determining the number and the positions of the correction graphs;
format information 911: l, M, Q, H, indicating the error correction level of the two-dimensional code;
version information 913: the two-dimensional code has a specification, and the symbols of the QR code have 40 matrixes (generally black and white), from 21 × 21 (version 1) to 177 × 177 (version 40), each version has symbols which are added with 4 modules on each side compared with the symbols of the previous version;
data and error correction codeword 915: the two-dimensional code information which is actually stored, and an error correction code word (used for correcting errors caused by two-dimensional code damage).
After the basic structure of the two-dimensional code is known, the detection graph, the separator, the positioning graph, the correction graph and the code word module are put into a matrix, and the complete sequence is filled into the area of the two-dimensional code matrix with the corresponding specification, and the specific operation mode is as follows:
1) receiving a website parameter of the two-dimension code and encoding the website parameter into the two-dimension code;
2) encoding and generating a binary sequence according to version information version and error correction level (the number of error correction code words), wherein the sequence comprises binary end characters (4 0 s) of binary encoding contents with the length of the binary encoding contents of encoding types (digital types and character types have specific encoding);
3) padding, if the sequence has not reached the limit of the maximum number of bit bits, and some Padding Bytes (Padding Bytes) are added, which is two Bytes repeated: 1110110000010001, the number of bits of each version is different;
4) generating an error correction code;
5) alternately placing the data codes and the decimal numbers (codewords) of the error correcting codes in groups of 8 bits;
6) adding Reminder Bits (filling Bits), and adding Remainder Bits for some Version QR with insufficient length;
7) opening the picture to obtain related information;
8) preparing a font file, setting font colors and creating characters;
9) writing the picture and the characters into a central position;
10) and outputting the picture to generate a picture file of the two-dimensional code.
And step S612, performing adaptive display on the two-dimensional code and the like on the PC client page. An alternative embodiment is as follows:
1) and intelligently analyzing according to the user data obtained intelligently, and displaying different special user head portrait two-dimensional code styles based on different users.
2) And horizontally tiling and displaying the corresponding display effect page according to the sizes of the WEBVIEW in different client terminals.
3) And acquiring the current color of the client according to the transmission parameters, and automatically adapting to the large-title color of the two-dimensional code.
4) According to the acquired WEBVIEW width, the two-dimensional code is automatically adjusted to fit 80% of the width and horizontally and vertically centered, as shown in fig. 10:
target role (Target): defining the interface which is used by the Client and related to a specific field, namely the interface expected by a Client, can be a concrete or abstract class;
client role (Client): cooperating with an object conforming to a Target interface;
adapted role (adapte), or source role: defining an existing and used interface, wherein the interface needs to be adapted;
adapter role (adapate): the core of the adapter mode converts the existing interface of the adapted Adapte role into an interface matched with the Target role Target, adapts the Adapte interface and the Target interface, and the class serving as the adapter role is as follows: implementing abstract classes of existing interfaces.
The WEBVIEW acquires a two-dimensional code image by calling a webkitdraw method, and then realizes the drawing and rendering of a two-dimensional code canvas by a hardwarecanvas method (a hardware accelerated canvas realization method) and a drawglfunction method (a drawing function method in a graphics program library GL).
In the rendering process, the H5ViewController is a carrier page of HTML5, and WBWebView is a UIWebView derived class. Intercepting an asynchronous request sent by AJAX in WBWebView in WBhybrid Complex, finding a corresponding WBActionAnalysis object through a dic table in WBhybrid JSHandler, analyzing a protocol transmitted by the asynchronous request in WBActionAnalysis, taking out an action field, finding a corresponding method in delete, namely H5 ViewControle according to the action value, and finishing drawing the two-dimensional code image.
5) And the adaptation and the functionality of the mobile terminal are updated in real time.
The mobile terminal battle performance display page adopts CSS3 and JS to be adapted to different mobile terminal devices, hot activity modules such as official websites, hot activities and integral shopping malls are constructed according to transmitted parameters, the battle performance generation time is obtained first during sharing display, the login state of a user on a first client on the mobile terminal is obtained, and the sharing propagation is facilitated due to the fact that the user mark and the time mark are carried during sharing propagation.
And step S614, data statistics and summarization.
As shown in fig. 11, both the client embedded WEBVIEW and the mobile terminal client perform data statistics and point-embedding operations on each area (e.g., A, B, C, D shown in fig. 11) of each module, so that in the following scheme, in the process of a server request, a UI interface fusion conforming to the user habit and expected is called back according to the user behavior statistics, and functions and sharing behaviors, for example, a node a to a node AB indicate that the module a enters the module B, a node AB to a node ABC indicate that the module B enters the module C, through the graph, the habitual behaviors of the user can be recorded, and if a path in a hot spot area 1101 marked by a dotted line is an area of the user habit, a UI interface fusion conforming to the user habit and expected can be called back statistically.
The real-time battle performance fusion custom service game generation picture and UI core logic are as follows:
1) loading a resource gallery;
2) screening a corresponding picture file (namely a two-dimensional code picture) according to the service selection;
3) reading the X coordinate of the data group and the Y coordinate of the data group in the graph file to determine the length and the width of the graph, and reading the added graph;
4) finding the width and height of an area (such as area 301 in fig. 3) in the canvas for displaying the picture;
5) and (4) adapting the picture to the display area of the picture, rotating the picture, processing canvas (including size adaptation) and outputting the picture in a circulating mode.
The method has the advantages that the two-dimensional codes of the battle performance mobile terminal are generated in real time in a WEBVIEW mode and are adapted to all client-side halls, development efficiency is greatly improved, a user enters the mobile terminal battle performance display in a scanning mode through the battle performance display of the client-side halls, time dimension and cost of blacking and full SHOW sharing of the user battle performance are greatly reduced, battle performance sharing rate is greatly improved in a mode of displaying client-side game battle performance data through the mobile terminal, brand game exposure and brand effect propagation degree are improved, game activity of a player is improved by returning official nets, hot activities, point centers and the like in the page data layout of the mobile terminal, closed-loop logic of the activities and the client side is improved, opening degree of games at the mobile terminal is improved, and the problem of difficulty in spreading the client side at the mobile terminal in the mobile internet age is improved. The fusion degree of the client game hall is created in a two-dimensional code mode, and the real-time performance is greatly improved in a mode that the client and the mobile terminal data are asynchronously and simultaneously processed.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
According to another aspect of the embodiment of the present invention, an information sharing apparatus for implementing the information sharing method is also provided. Fig. 12 is a schematic diagram of an optional information sharing apparatus according to an embodiment of the present invention, and as shown in fig. 12, the apparatus is applied to a terminal installed with a first client, and may include: a first acquisition unit 1201, a request unit 1203, and a display unit 1205.
A first obtaining unit 1201, configured to obtain an execution result of a target task of a first client, where the first client is a client of a first application.
A requesting unit 1203, configured to request, according to the execution result, a server to invoke a target service, so as to request indication information for sharing the execution result, where the indication information is used for a second client to link and obtain a sharing interface of the execution result, and the second client is installed on another terminal different from the first client.
And a display unit 1205 for acquiring and displaying the indication information fed back by the server.
It should be noted that the first obtaining unit 1301 in this embodiment may be configured to execute step S202 in this embodiment, the requesting unit 1203 in this embodiment may be configured to execute step S204 in this embodiment, and the displaying unit 1205 in this embodiment may be configured to execute step S206 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Acquiring an execution result of a target task of a first client through the module, wherein the first client is a client of a first application; according to the execution result, requesting the server to call a target service so as to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client; the indication information fed back by the server is obtained and displayed, so that sharing of the execution result can be achieved in the sharing interface, the technical problem that operation of information sharing is complex in the related technology can be solved, and the technical effect of reducing complexity of information sharing operation is achieved.
The display unit may be further configured to display an execution result in a first area of the first client, and display indication information in a second area of the first client, where the first area is an interaction area of the first application on the first client, and the second area is an interaction area of a target service on the first client.
Optionally, the display unit may include a first display module, configured to display pattern information in the second area, where the indication information includes the pattern information, the pattern information is used to identify a link address of the sharing interface, and the second client enters the sharing interface through the link address identified from the pattern information; the second display module is used for displaying the text information in the second area, wherein the indication information comprises the text information, the link address of the sharing interface is used for obtaining in the text information, and the second client enters the sharing interface by inputting the link address obtained by the text information.
Optionally, the apparatus of the present application may further comprise: an authentication information acquisition unit configured to acquire authentication information of the first client before at least the indication information is displayed on the first client; the first verification unit is used for sending a verification request to a first server, the verification request carries authentication information and an execution result, the first server is used for carrying out identity verification on the first client by using the authentication information and verifying whether the execution result in the verification request is consistent with the execution result of a target task locally stored by the first server, and the first server is a server of target service; and the indication information acquisition unit is used for acquiring the indication information from the first server under the condition that the first client passes the identity authentication of the first server and confirms that the execution result in the authentication request is consistent with the execution result of the target task locally stored by the first server.
Optionally, the authentication information obtaining unit may be further configured to: sending request information to a second server, wherein the request information is used for requesting to acquire authentication information, and the second server is a server of the first application; receiving response information returned by the second server, wherein the response information comprises the first information and a public key; sending a key encrypted via the public key to the second server, wherein the key is generated at the first client from the first information; and receiving authentication information returned by the second server, wherein the authentication information is generated by the second server according to the secret key.
Optionally, the first application includes a game application, the target service includes a web application, and the display unit is further configured to display the execution result in a first area, and display the indication information in a second area, where the first area is an interaction area of the game application on the first client, the second area is an interaction area of the web application on the first client, the second client is installed on a mobile terminal, and the first client is installed on a terminal of a type different from the mobile terminal.
According to another aspect of the embodiment of the present invention, an information sharing apparatus for implementing the information sharing method is also provided. Applied to a first server, the apparatus may include:
the second obtaining unit is used for verifying the first client when obtaining a verification request for requesting to verify the first client, wherein the first client is a client of a first application;
the sending unit is used for sending indication information to the first client side under the condition that the first client side passes verification, and at least displaying the indication information through the first client side, wherein the indication information is used for a second client side to link and display a sharing interface of an execution result, and the second client side is installed on another terminal different from the first client side.
Optionally, the verification request carries authentication information and an execution result, and the apparatus of the present application may further include: the matching unit is used for carrying out identity verification on the first client by utilizing the authentication information and verifying whether the execution result in the verification request is consistent with the execution result of the target task stored locally; and the second verification unit is used for determining that the first client passes the verification under the condition that the first client passes the identity verification of the first server and confirms that the execution result in the verification request is consistent with the execution result of the target task locally stored by the first server.
According to another aspect of the embodiment of the present invention, an information sharing apparatus for implementing the information sharing method is also provided. The device is applied to a terminal installed with a second client, and can comprise:
the third acquisition unit is used for acquiring indication information displayed on the first client, wherein the first client is a client of the first application, and the indication information is generated by calling a target service by the first application;
and the interface display unit is used for displaying a sharing interface of an execution result linked to the second client through the indication information, the execution result is used for representing the result of the target task completed in the virtual scene of the first client, and the first client and the second client are installed on different terminals.
Optionally, the verification request carries authentication information and an execution result, and the apparatus of the present application may further include: the detection unit is used for detecting a sharing event on the sharing interface after the second client displays the sharing interface of the execution result linked to the second client through the indication information; and the sharing unit is used for sharing the execution result according to the indication of the sharing event.
The method has the advantages that the two-dimensional codes of the battle performance mobile terminal are generated in real time in a WEBVIEW mode and are adapted to all client-side halls, development efficiency is greatly improved, a user enters the mobile terminal battle performance display in a scanning mode through the battle performance display of the client-side halls, time dimension and cost of blacking and full SHOW sharing of the user battle performance are greatly reduced, battle performance sharing rate is greatly improved in a mode of displaying client-side game battle performance data through the mobile terminal, brand game exposure and brand effect propagation degree are improved, game activity of a player is improved by returning official nets, hot activities, point centers and the like in the page data layout of the mobile terminal, closed-loop logic of the activities and the client side is improved, opening degree of games at the mobile terminal is improved, and the problem of difficulty in spreading the client side at the mobile terminal in the mobile internet age is improved. The fusion degree of the client game hall is created in a two-dimensional code mode, and the real-time performance is greatly improved in a mode that the client and the mobile terminal data are asynchronously and simultaneously processed.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the present invention, a server or a terminal for implementing the information sharing method is also provided.
Fig. 13 is a block diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 13, the terminal may include: one or more processors 1301 (only one is shown in fig. 13), a memory 1303, and a transmission apparatus 1305 (such as the transmission apparatus in the foregoing embodiments), as shown in fig. 13, the terminal may further include an input/output device 1307.
The memory 1303 may be used to store software programs and modules, such as program instructions/modules corresponding to the information sharing method and apparatus in the embodiments of the present invention, and the processor 1301 executes various functional applications and data processing by running the software programs and modules stored in the memory 1303, that is, implementing the information sharing method described above. Memory 1303 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1303 may further include memory remotely located from the processor 1301, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmitting device 1305 is used for receiving or sending data via a network, and may also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmitting device 1305 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1305 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Among them, the memory 1303 is used to store an application program, in particular.
The processor 1301 may call the application program stored in the memory 1303 through the transmission means 1305 to perform the following steps:
acquiring an execution result of a target task of a first client, wherein the first client is a client of a first application;
according to the execution result, requesting the server to call a target service so as to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client;
and acquiring and displaying the indication information fed back by the server.
Processor 1301 is further configured to perform the following steps:
when a verification request requesting to verify a first client is acquired, verifying the first client, wherein the first client is a client of a first application;
and under the condition that the first client passes the verification, sending indication information to the first client, and at least displaying the indication information through the first client, wherein the indication information is used for a second client to link to and display a sharing interface of an execution result, and the second client is installed on another terminal different from the first client.
By adopting the embodiment of the invention, under the condition that the target task is completed, the execution result of the target task is obtained, wherein the target task is a task completed in a virtual scene of a first client, and the first client is a client of a first application; the method comprises the steps that at least indication information is displayed on a first client, wherein the indication information is generated by calling a target service through a first application, a second client can display a sharing interface of an execution result linked to the indication information, the execution result is shared in the sharing interface, the technical problem that the operation of sharing information in the related art is complex can be solved, and the technical effect of reducing the complexity of information sharing operation is achieved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 13 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 13 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to execute a program code of a method for sharing information.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s42, obtaining an execution result of a target task of a first client, wherein the first client is a client of a first application;
s44, according to the execution result, calling the target service to the server to request indication information for sharing the execution result, wherein the indication information is used for a second client to link and acquire a sharing interface of the execution result, and the second client is installed on another terminal different from the first client;
and S46, acquiring and displaying the indication information fed back by the server.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
s52, when a verification request requesting to verify the first client is obtained, verifying the first client, wherein the first client is a client of the first application;
and S54, sending indication information to the first client side under the condition that the first client side passes the verification, and displaying at least the indication information through the first client side, wherein the indication information is used for the second client side to link to and display the sharing interface of the execution result, and the second client side is installed on another terminal different from the first client side.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A method for sharing information, comprising:
acquiring an execution result of a target task of a first client, wherein the first client is a client of a first application;
according to the execution result, calling a target service to a server to request indication information for sharing the execution result, wherein the server is used for fusing the execution result with pattern information and/or text information by using a back-end technology to obtain the indication information, the indication information is used for a second client to link and obtain a sharing interface of the execution result, the second client is installed on another terminal different from the first client, the pattern information is used for identifying a link address of the sharing interface, and the text information is used for obtaining the link address of the sharing interface;
and acquiring and displaying the indication information fed back by the server.
2. The method of claim 1, wherein the step of displaying the indication information fed back by the server comprises:
and displaying the execution result in a first area of the first client, and displaying the indication information in a second area of the first client, wherein the first area is an interaction area of the first application on the first client, and the second area is an interaction area with the target service on the first client.
3. The method according to claim 2, wherein the indication information includes pattern information and/or text information, the pattern information is used for identifying a link address of the sharing interface, and the text information is used for the second client to obtain the link address of the sharing interface.
4. The method of claim 3, wherein the pattern information is an optical code picture for the second client to scan using an optical scanning module.
5. The method according to any one of claims 1 to 4, wherein before acquiring and displaying the indication information fed back by the server, the method further comprises:
acquiring authentication information of the first client;
sending a verification request to a first server, wherein the verification request comprises the authentication information and the execution result, so that the first server can perform identity verification on the first client by using the authentication information and verify whether the execution result in the verification request is consistent with the execution result of the target task prestored in the first server;
and acquiring the indication information from the first server under the condition that the first client passes the identity authentication of the first server and confirms that the execution result in the authentication request is consistent with the execution result of the target task prestored in the first server.
6. The method of claim 5, wherein the step of obtaining the authentication information of the first client comprises:
sending request information of the authentication information to a second server;
receiving response information returned by the second server, wherein the response information comprises first information and a public key;
sending a key encrypted via the public key to the second server, wherein the key is generated at the first client from the first information;
and receiving the authentication information returned by the second server, wherein the authentication information is generated by the second server according to the secret key.
7. A method for sharing information, the method comprising:
when a verification request requesting to verify a first client is obtained, a server verifies the first client, wherein the first client is a client of a first application, the server is used for fusing an execution result used for executing a target task of the first client with pattern information and/or text information by using a back-end technology to obtain indication information, the indication information is used for a second client to link to and display a sharing interface of the execution result, the pattern information is used for identifying a link address of the sharing interface, and the text information is used for obtaining the link address of the sharing interface;
and sending the indication information to the first client side under the condition that the first client side passes the verification, and displaying at least the indication information through the first client side, wherein the second client side is installed on another terminal different from the first client side.
8. The method according to claim 7, wherein the verification request carries authentication information and the execution result, and wherein the step of verifying the first client comprises:
performing identity verification on the first client by using the authentication information, and verifying whether an execution result in the verification request is consistent with a pre-stored execution result of the target task;
and determining that the first client passes the authentication under the condition that the first client passes the identity authentication of a first server and confirms that the execution result in the authentication request is consistent with the execution result of the target task prestored in the first server.
9. An apparatus for sharing information, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring an execution result of a target task of a first client, and the first client is a client of a first application;
the request unit is used for requesting a server to call a target service according to the execution result so as to request indication information for sharing the execution result, wherein the server is used for fusing the execution result with pattern information and/or text information by using a back-end technology to obtain the indication information, the indication information is used for a second client to link and obtain a sharing interface of the execution result, the second client is installed on another terminal different from the first client, the pattern information is used for identifying a link address of the sharing interface, and the text information is used for obtaining the link address of the sharing interface;
and the display unit is used for acquiring and displaying the indication information fed back by the server.
10. The apparatus of claim 9, wherein the display unit is further configured to:
and displaying the execution result in a first area of the first client, and displaying the indication information in a second area of the first client, wherein the first area is an interaction area of the first application on the first client, and the second area is an interaction area with the target service on the first client.
11. An apparatus for sharing information, comprising:
the second obtaining unit is used for verifying a first client by a server when a verification request requesting to verify the first client is obtained, wherein the first client is a client of a first application, the server is used for fusing an execution result used for executing a target task of the first client with pattern information and/or text information by using a back-end technology to obtain indication information, the indication information is used for a second client to link to and display a sharing interface of the execution result, the pattern information is used for identifying a link address of the sharing interface, and the text information is used for obtaining the link address of the sharing interface;
the sending unit is used for sending indication information to the first client side when the first client side passes verification, and displaying at least the indication information through the first client side, wherein the indication information is used for a second client side to link to and display a sharing interface of an execution result of a target task, and the second client side is installed on another terminal different from the first client side.
12. The apparatus according to claim 11, wherein the verification request carries authentication information and the execution result, and wherein the second obtaining unit includes:
the verification module is used for carrying out identity verification on the first client by utilizing the authentication information and verifying whether an execution result in the verification request is consistent with a prestored execution result of the target task;
and the determining module is used for determining that the first client passes the authentication under the condition that the first client passes the identity authentication of a first server and confirms that the execution result in the authentication request is consistent with the execution result of the target task prestored by the first server.
13. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 8.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 8 by means of the computer program.
CN201810070128.3A 2018-01-24 2018-01-24 Information sharing method and device, storage medium and electronic device Active CN110071861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810070128.3A CN110071861B (en) 2018-01-24 2018-01-24 Information sharing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810070128.3A CN110071861B (en) 2018-01-24 2018-01-24 Information sharing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110071861A CN110071861A (en) 2019-07-30
CN110071861B true CN110071861B (en) 2021-08-27

Family

ID=67365732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810070128.3A Active CN110071861B (en) 2018-01-24 2018-01-24 Information sharing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110071861B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640460B (en) * 2022-01-28 2024-01-30 成都卫士通信息产业股份有限公司 User login method, device, equipment and medium in application program
CN114518868B (en) * 2022-02-15 2023-09-22 中航机载系统共性技术有限公司 Embedded development method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533460A (en) * 2013-09-30 2014-01-22 深圳市龙视传媒有限公司 Method, device, terminal and system for sharing television service
CN104092713A (en) * 2013-05-31 2014-10-08 腾讯科技(深圳)有限公司 Network resource download information display method and device
CN105194874A (en) * 2015-09-30 2015-12-30 乐金伟 Method and system for local-area-network cross-platform game fighting interaction
CN105933211A (en) * 2016-06-20 2016-09-07 腾讯科技(深圳)有限公司 Game data sharing method, clients and game data processing system
CN106075904A (en) * 2016-06-07 2016-11-09 腾讯科技(深圳)有限公司 The method and device of cross-platform game fighting, terminal, system
CN106202308A (en) * 2016-07-01 2016-12-07 乐视控股(北京)有限公司 A kind of method of Information Sharing and electronic equipment
CN106422324A (en) * 2015-08-11 2017-02-22 腾讯科技(深圳)有限公司 Multi-terminal real-time communication method, device and system
CN107085611A (en) * 2017-05-14 2017-08-22 深圳游视虚拟现实技术有限公司 A kind of reality-virtualizing game video sharing method
CN107124596A (en) * 2017-06-08 2017-09-01 哈尔滨理工大学 A kind of B ultrasound video acquisition and mobile terminal shared system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7351142B2 (en) * 1997-03-21 2008-04-01 Walker Digital, Llc Method and apparatus for facilitating play of fractional value lottery games
CN104753911B (en) * 2013-12-31 2019-03-15 腾讯科技(深圳)有限公司 A kind of information processing method based on social application, relevant apparatus and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092713A (en) * 2013-05-31 2014-10-08 腾讯科技(深圳)有限公司 Network resource download information display method and device
CN103533460A (en) * 2013-09-30 2014-01-22 深圳市龙视传媒有限公司 Method, device, terminal and system for sharing television service
CN106422324A (en) * 2015-08-11 2017-02-22 腾讯科技(深圳)有限公司 Multi-terminal real-time communication method, device and system
CN105194874A (en) * 2015-09-30 2015-12-30 乐金伟 Method and system for local-area-network cross-platform game fighting interaction
CN106075904A (en) * 2016-06-07 2016-11-09 腾讯科技(深圳)有限公司 The method and device of cross-platform game fighting, terminal, system
CN105933211A (en) * 2016-06-20 2016-09-07 腾讯科技(深圳)有限公司 Game data sharing method, clients and game data processing system
CN106202308A (en) * 2016-07-01 2016-12-07 乐视控股(北京)有限公司 A kind of method of Information Sharing and electronic equipment
CN107085611A (en) * 2017-05-14 2017-08-22 深圳游视虚拟现实技术有限公司 A kind of reality-virtualizing game video sharing method
CN107124596A (en) * 2017-06-08 2017-09-01 哈尔滨理工大学 A kind of B ultrasound video acquisition and mobile terminal shared system and method

Also Published As

Publication number Publication date
CN110071861A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
KR102066827B1 (en) Method and device for allocating augmented reality based virtual object
CN104468531B (en) The authorization method of sensitive data, device and system
CN110784752B (en) Video interaction method and device, computer equipment and storage medium
US10976923B2 (en) Enhanced virtual keyboard
CN104137520B (en) A kind of information push method and device
US9904469B2 (en) Keyboard stream logging
CN102822813B (en) based on the pairing of auxiliary experience
CN108989269B (en) Method, device and system for acquiring verification code
CN107196917B (en) Service response method and middleware thereof
EP3414650B1 (en) Social keyboard
CN111884914A (en) Communication method and device based on virtual character interactive interface and computer equipment
CN110071861B (en) Information sharing method and device, storage medium and electronic device
CN111437610B (en) Cloud game system processing method and device and cloud server
WO2020086378A1 (en) Picture messaging game
CN107688480B (en) Information authentication method and device based on virtual reality scene and storage medium
JP6675055B2 (en) Game system and computer program used therefor
CN111181839B (en) Data processing method, device and equipment in application sharing
JP2019506653A (en) System, method and computer program product for transferring a three-dimensional model
CN108848404A (en) The two-dimensional barcode information shared system of mobile terminal
CN109547811B (en) Method, device and storage medium for displaying interactive content
KR20160025896A (en) Server for authenticating user, method for authenticating user by server and recording medium for recording the same readable by computing device
KR20130082595A (en) Method and server for providing social network service in online game
CN109960546B (en) Virtual resource interaction method and device, storage medium and electronic device
JP5785341B1 (en) Game system control method, game system, and computer program
CN104392729B (en) A kind of providing method and device of animated content

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