[go: up one dir, main page]

WO2018149365A1 - Data acquisition method, mobile terminal, and server - Google Patents

Data acquisition method, mobile terminal, and server Download PDF

Info

Publication number
WO2018149365A1
WO2018149365A1 PCT/CN2018/075973 CN2018075973W WO2018149365A1 WO 2018149365 A1 WO2018149365 A1 WO 2018149365A1 CN 2018075973 W CN2018075973 W CN 2018075973W WO 2018149365 A1 WO2018149365 A1 WO 2018149365A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
server
target page
interactive data
request message
Prior art date
Application number
PCT/CN2018/075973
Other languages
French (fr)
Chinese (zh)
Inventor
何朕鑫
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018149365A1 publication Critical patent/WO2018149365A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of computers, and in particular, to a data acquisition method, a mobile terminal, and a server.
  • the server obtains the user's friend list, then obtains the online status of each friend in the interactive application, and finally sends the online status of each friend to the mobile terminal.
  • the existing solution can only support the mobile terminal to obtain the online status of the friend, and the interactive data for the friend in the interactive application is not available. Therefore, the on-the-go capability of the on-the-go function of the mobile terminal in the existing solution is insufficient, so that the user has insufficient time for using the onlooker function.
  • the embodiment of the invention provides a data acquisition method, a mobile terminal and a server, which can improve the onlooker ability of the on-the-go function of the mobile terminal and improve the duration of the user's use of the onlooker function.
  • a first aspect of the embodiments of the present invention provides a data acquisition method, which may include:
  • the mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine that the target object is generated by interaction with the application.
  • the mobile terminal displays the target page.
  • a second aspect of the embodiments of the present invention provides a data acquisition method, which may include:
  • the server determines, according to the first request message, interactive data generated by the target object interacting with the application;
  • the server creates a target page according to the interactive data, where the target page includes the interactive data;
  • the server sends the target page to the mobile terminal.
  • a third aspect of the embodiments of the present invention provides a mobile terminal, which may include:
  • a first sending module configured to send a first request message to the server, in response to the start operation of the data view entry of the target object in the state of the application, the first request message is used to instruct the server to determine the target object and the Interactive data generated by application interaction;
  • a first receiving module configured to receive a target page sent by the server, where the target page includes the interactive data, where the target page is created by the server according to the first request message;
  • a display module for displaying the target page.
  • a fourth aspect of the embodiments of the present invention provides a server, which may include:
  • a first receiving module configured to receive a query request that the target object sent by the mobile terminal is in an application progress state
  • a second receiving module configured to: when determining that the target object is in an application progress state according to the query request, receiving a first request message sent by the mobile terminal, where the first request message is that the mobile terminal responds to the target The data sent by the object is viewed by the start operation of the entry;
  • a determining module configured to determine, according to the first request message, interactive data generated by the target object interacting with the application
  • a first creating module configured to create a target page according to the interactive data, where the target page includes the interactive data
  • a first sending module configured to send the target page to the mobile terminal.
  • a fifth aspect of the embodiments of the present invention provides a mobile terminal, including:
  • a memory for storing computer executable program code
  • a processor coupled to the memory and the transceiver
  • program code includes instructions that, when executed by the processor, cause the mobile terminal to perform the method of the first aspect described above.
  • a sixth aspect of the embodiments of the present invention provides a computer storage medium for storing computer software instructions for use in a mobile terminal, comprising: a method for performing the first aspect as described above.
  • a seventh aspect of the embodiments of the present invention provides a server, including:
  • a memory for storing computer executable program code
  • a processor coupled to the memory and the network interface
  • program code includes instructions that, when executed by the processor, cause the server to perform the method described in the second aspect above.
  • An eighth aspect of the embodiments of the present invention provides a computer storage medium for storing computer software instructions for use in a server, comprising: the method for performing the second aspect described above.
  • the embodiment of the present invention has the following advantages: the server can acquire real-time interactive data generated when the target object interacts with the application, and send real-time interactive data to the mobile terminal through the form of the target page, thereby The user can obtain the real-time interactive data of the target object in the mobile terminal, thereby improving the onlookers ability of the on-the-go function of the mobile terminal and improving the duration of the user's use of the onlooker function.
  • FIG. 1 is an interface diagram of a peripheral entrance required for a mobile terminal to view real-time data of a game friend in an A application according to an embodiment of the present invention
  • FIG. 2 is an interface diagram of a periscope room required for a mobile terminal to view real-time data of a game friend in an A application according to an embodiment of the present invention
  • FIG. 3 is a system architecture diagram for implementing data acquisition in an embodiment of the present invention.
  • FIG. 4 is a flowchart of online status of a game of a friend in a mobile phone viewing A application according to an embodiment of the present invention
  • FIG. 5 is a flowchart of real-time game data of a friend in an A application in a mobile phone according to an embodiment of the present invention
  • FIG. 6 is a flow chart of a friend watching a group chat according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an embodiment of a data acquisition method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another embodiment of a data acquisition method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of a data acquisition method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 15 is a schematic diagram of an embodiment of a server according to an embodiment of the present invention.
  • FIG. 16 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention.
  • FIG. 17 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention.
  • the embodiment of the invention provides a data acquisition method, a mobile terminal and a server, which can improve the onlooker ability of the on-the-go function of the mobile terminal and improve the duration of the user's use of the onlooker function.
  • the solution of the present invention can be applied to a service with a periscope function, and specifically can be applied to an A application in an entertainment hall. It can be understood that the solution of the present invention is not limited to application in a certain application, but can be applied to a game. All applications in the platform, but for convenience of description, will be described as an example of application to a certain game application (such as A application).
  • FIG. 1 is an interface diagram of a peripheral entrance required to view real-time data of a game friend in an A application on a mobile terminal, as shown in FIG.
  • the onlookers in the interface diagram of the onlookers are mainly used to display the real-time game state of the friend in the A application, and determine whether the friend can be onlookers.
  • the onlookers entrance contains the following two important parts: 1. Real-time status of friends: display the list of friends and display the real-time game status; 2. Friend's onlookers: display different entries according to different game states, display the onlookers when the user is in the game , click to enter the real-time onlookers room.
  • FIG. 2 is an interface diagram of a periscope room required for viewing real-time data of a game friend in an A application on a mobile terminal.
  • the onlooker room in the interface diagram of the onlooker is mainly used for complete Shows real-time game data from friends in A apps and supports multiple people interacting in the onlookers.
  • the onlookers room contains the following four important parts: 1.
  • Real-time game data includes but is not limited to: displaying the player's game mode, using heroes, real-time hero levels, kills, assists, deaths, The number of soldiers, the number of kills of the two teams, the number of push towers, and the number of dragons and the number of the game are different.
  • the game data is different.
  • only the game data is exemplified, which does not cause the embodiment of the present application.
  • Limited description; 2 support real-time refresh: game data allows users to manually refresh to the latest data, or, periodically (for example, 1 minute) to automatically update the game data; 3, support multiple people at the same time: support multiple users simultaneously enter The room is onlookers, but all need to be friends of the onlookers; 4, support multi-person chat interaction: support all members of the room for real-time chat interaction.
  • FIG. 3 is a structural diagram of a system for implementing data acquisition according to an embodiment of the present invention.
  • the system architecture diagram includes a plurality of parts and devices related to an application, and the system is respectively The various parts of the architecture diagram are introduced:
  • Mobile terminal (such as mobile phone): The mobile terminal provides a friend onlooker function entry on the tab page. The user can view the game online status and game data of the friend in the A application through the friend watching portal, wherein the game data includes detailed game data information of the friend in the game, and can perform live chat by one-to-one chat and group chat. discuss.
  • the mobile terminal is a device for performing a watching game, that is, an acquisition end of game interactive data (game data).
  • PC Personal Computer
  • the PC is the providing end of the game data, that is, the user plays the game on the PC.
  • the PC can also be a mobile device, such as a mobile phone.
  • the example of the device of the game does not result in a limited description of the system in this example.
  • IM cloud long link channel is mainly responsible for the establishment of long links between PC and logical layer reporting data processing services, and maintains long links stable and reliable, and ensures the reporting of data. real-time.
  • Mobile access layer mainly responsible for the authentication of mobile phone long link requests, establishing long links and ensuring the stability and reliability of long links between mobile phones and servers, forwarding service data requests from mobile phones to friends onlookers, and returning friends to the service.
  • the package is sent to the phone.
  • Reporting data processing service It is mainly responsible for storing the online status information and game game information reported by the PC to the data layer, and providing the online service status and the query interface of the real-time game game information to other services.
  • Game online service Responsible for obtaining the online status information reported by the PC from the reported data processing service, and providing the mobile phone and friends on-the-spot service query interface.
  • Friend onlooker service Responsible for providing a direct interface to the mobile phone's onlookers in the form agreed by the agreement.
  • IM cloud group responsible for group chat and one-on-one chat, controlled by IM cloud software development kit (SDK).
  • SDK IM cloud software development kit
  • User online status responsible for the storage of the user's online status.
  • Real-time game data Responsible for the storage of real-time game data.
  • the friend online status and real-time game data are located in the data layer.
  • Step 101 The mobile phone requests the friend's game online status to the friend watching service
  • Step 102 The friend onlooker service obtains the friend relationship chain of the user from the database of the A application;
  • Step 103 The friend onlooker service requests the online status of the friend to the game online service
  • Step 104 The game online service reports the data processing service requesting online status data
  • Step 105 Reporting the data processing service to obtain online status data from the data layer
  • Step 106 Reporting the data processing service to gradually return online status data to the mobile phone.
  • the report data processing service gradually returns the online status data to the mobile phone, specifically: the report data processing service sends the online status data to the game online service, and after the game online service receives the online status data, the game online service will be online status data. Send to the friend onlooker service, the friend onlooker service will send the received online status data to the mobile phone.
  • the reported data processing service, the game online service, and the friend onlooker service in the present example may be deployed independently in an actual application, or may be integrated, for example, deploying an execution report data processing service, a game online service, and a friend onlooker service in the server.
  • the functional components are not limited in the embodiment of the present application.
  • Step 201 The mobile phone requests real-time game data from a friend watching service
  • Step 202 The friend onlooker service reports the data processing service to verify whether the friend is in the game of the A application;
  • the report data processing service will send a message that the friend is in the game of the A application to the friend onlooker service, which is indicated by a broken line in FIG.
  • Step 203 If the friend is in the game of the A application, the friend onlooker service reports the real-time game data of the friend to the data processing service;
  • Step 204 The reporting data processing service requests the data layer to acquire real-time game data.
  • Step 205 The data layer returns the real-time game data to the report data processing service, and the report data processing service sends the received real-time game data to the friend onlooker service;
  • Step 206 The friend onlooker service performs a winning rate logic operation according to the real-time game data
  • Step 207 The friend onlooker service returns the obtained operation result and the real-time game data to the mobile phone.
  • the buddy service, the data processing service, and the data layer in the example are components in the server, and the server may include other components, which are not limited herein.
  • Step 301 The mobile phone requests the group ID from the service of the friend;
  • Step 302 The friend onlooker service requests to create a group from the IM cloud proxy service.
  • Step 303 The IM cloud proxy service requests the IM cloud group to create a group.
  • Step 304 The IM cloud group creates a group and allocates an ID.
  • Step 305 The IM cloud group sends the group ID to the IM cloud proxy service, and the IM cloud proxy service sends the group ID to the friend onlooker service.
  • Step 306 The friend onlooker service requests to add a group member to the IM cloud proxy service request.
  • Step 307 The IM cloud proxy service requests to add a group member to the IM cloud group.
  • Step 308 The IM cloud group sends the message that the group member completes the message to the friend onlooker service through the IM cloud proxy service.
  • Step 309 The friend onlooker service sends the group ID to the mobile phone
  • Step 310 After the mobile phone obtains the group ID, the mobile phone initiates a chat request to the IM cloud SDK.
  • the buddy service, the IM cloud proxy service, and the IM cloud group are components in the server, and the server may also include other components, which are not limited herein.
  • the process of obtaining the online state of the friend's game, obtaining the real-time game data of the friend, and the process of the friend's on-the-spot group chat are described by using different examples. Based on the above examples, the data in the embodiment of the present invention is described below through specific embodiments.
  • the acquisition method is described, and the functions performed by the server mentioned in the following embodiments include the above reported data processing service, game online service, friend onlooker service, data layer, IM cloud proxy service, and IM cloud.
  • the functions performed by the group specifically:
  • an embodiment of a data acquisition method in an embodiment of the present invention includes:
  • the mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine the interactive data generated by the target object interacting with the application.
  • the interactive data is data generated by the target object during the running of the application, for example, the interactive data is game data of the target object in the game application.
  • the mobile terminal when the mobile terminal receives the start operation of the data view entry of the target object in the application progress state, the mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object.
  • a request message is used to instruct the server to determine interactive data generated when the target object interacts with the application.
  • the interactive data may be game data.
  • the object in the embodiment of the present application is a virtual object in the application, and the virtual object may represent a user, and the target object may be It is understood as a virtual object corresponding to the game data providing end.
  • the data view entry can be understood as a look-ahead entry
  • the start operation of the data view entry of the target object in the state of the application can be understood as a click operation on the “onlookers”. It can be understood that the above interactive data is game data generated from the start of the game to the 17th minute.
  • the mobile terminal receives a target page sent by the server, where the target page includes the foregoing interactive data, where the target page is created by the server according to the first request message.
  • the server after the server receives the first request message, the server creates a target page according to the first request message, where the target page includes the interactive data, and the server sends the created target page to the mobile terminal.
  • the target object in the application progress state can be understood as the target object is in the game
  • the target page can be understood as the interface of the onlookers.
  • the mobile terminal displays the target page.
  • the mobile terminal displays the target page.
  • the server may acquire real-time interactive data generated by the interaction between the target object and the application, and carry real-time interactive data through the target page, and send the target page to the mobile terminal, so that the mobile terminal acquires the target object.
  • Real-time interactive data which enhances the onlookers of the mobile terminal's onlooker function, allows the user to watch the game while the game is in progress, enhances the participation of the game, and thus improves the duration of the user's use of the onlooker function.
  • the mobile terminal before the mobile terminal receives the target page sent by the server, the mobile terminal may include:
  • the mobile terminal sends a second request message to the server, where the second request message is used to request the identifier ID of the target page;
  • the target page sent by the mobile terminal receiving server includes:
  • the mobile terminal receives the identifier ID of the target page sent by the server, and the identifier ID is allocated by the server as the target page according to the second request message.
  • the mobile terminal first requests the identifier (Identity, ID) of the target page from the server, and the server creates a unique ID corresponding to the target page, and sends the identifier ID to the mobile terminal. It can be understood that after receiving the identification ID, the mobile terminal can jump to the target page according to the identification ID, that is, enter the onlookers.
  • the server sends the identifier ID of the target page to the mobile terminal, and the mobile terminal determines the target page according to the received identifier ID, thereby displaying the target page. Since the bandwidth resource required for the server to send the identification ID is much smaller than the bandwidth resource required by the server to send the target page, this method can save bandwidth resources.
  • the method further includes:
  • the mobile terminal sends a first update request of the interactive data to the server;
  • the mobile terminal receives the updated interactive data sent by the server according to the first update request.
  • the mobile terminal receives an operation input by the user for updating the interactive data (for example, the operation may be a click refresh button);
  • the mobile terminal sends a second update request to the server according to the operation, where the second update request is used to instruct the server to feed back the interactive data corresponding to the current time, or the second update request carries a timestamp, and the second update request is used to indicate The server feeds back the interactive data corresponding to the timestamp to the mobile terminal.
  • the mobile terminal receives the updated interactive data sent by the server according to the second update request.
  • the mobile terminal can actively send an update request to the server every preset time.
  • the user may send an update request of the interactive data to the mobile terminal.
  • the mobile terminal After receiving the update request, the mobile terminal sends the update request to the server.
  • the server After receiving the update request, the server updates the interactive data, and the server updates the updated data.
  • the interactive data is sent to the mobile terminal so that the user knows the latest interactive data.
  • the game data of the user's game friend in the A application includes: kill: 5; death 5; assist 6 .
  • the user wants to know the latest game data of the game friend, the user can click the game state refresh button, so that the mobile terminal displays the updated game data, for example, the updated game data includes: killing :7; death 5; assists 6.
  • the game data may also include other data, which is not limited herein.
  • the target page includes a group, and the group includes multiple objects, that is, the multi-person chat interaction can be supported
  • the group The information displayed in the first information input by the first user by the first mobile terminal and/or the second information input by the second user through the second mobile terminal, the first information and the second information are interaction information
  • the group Multiple objects in a group can be objects with a friend relationship chain, so as to avoid strange users joining, thus ensuring user privacy.
  • the mobile terminal receives the first information (interaction information) input by the first user in the group, where the first information includes but is not limited to text information, picture information, voice information, and the like.
  • the information input by the user in the group may be, but not limited to, text, pictures, and voice. It should be understood that the group supports multiple users for real-time chat interaction, thereby enhancing the interaction between friends.
  • the text and pictures input by the first user in the group can be broadcasted in the group by means of cloud messages, and other users entering the group (such as the second user) can see the first one. Text and images sent by the user.
  • the method for data acquisition in the embodiment of the present invention is described above from the perspective of a mobile terminal.
  • the method for data acquisition in the embodiment of the present invention is described from the perspective of a server:
  • another embodiment of the data acquisition method in the embodiment of the present invention includes:
  • the server receives a query request that the target object sent by the mobile terminal is in an application progress state.
  • the mobile terminal sends a query request to the server whether the target object is in the application progress state, and the server acquires the friend relationship chain of the target object from the database according to the query request, and then acquires the online state data of the target object through the friend relationship chain.
  • the server determines, according to the query request, that the target object is in an application progress state, the server receives a first request message sent by the mobile terminal, where the first request message is sent by the mobile terminal in response to a start operation of the data view entry of the target object;
  • the mobile terminal when the mobile terminal receives the start operation of the data view entry of the target object in the application progress state, the mobile terminal sends a message to the server in response to the start operation of the data view entry of the target object in the application progress state.
  • a request message when the mobile terminal receives the start operation of the data view entry of the target object in the application progress state, the mobile terminal sends a message to the server in response to the start operation of the data view entry of the target object in the application progress state. A request message.
  • the server determines, according to the first request message, the interactive data generated by the interaction between the target object and the application.
  • the server may determine the target object according to the first request message.
  • the interactive data generated by the application interaction is that the mobile terminal responds to the start operation of the data view entry of the target object in the application progress state
  • the interactive data may include, but is not limited to, real-time game game information.
  • the server creates a target page according to the interactive data, where the target page includes interactive data.
  • the server can create a target page according to the interactive data.
  • the server may create a chat window page, which is used to display interactive information for interacting with the target object.
  • the server sends a target page to the mobile terminal.
  • the server sends the target page to the mobile terminal.
  • the server may obtain real-time interactive data generated when the target object interacts with the application, and send real-time interactive data to the mobile terminal in the form of a target page, so that the user can acquire the target object in the mobile terminal.
  • Real-time interactive data which enhances the onlookers of the mobile terminal's onlookers and increases the length of time users use the onlookers.
  • the sending, by the server, the target page to the mobile terminal includes:
  • the server sends the identification ID of the target page to the mobile terminal
  • the method includes:
  • the server assigns an identification ID to the target page according to the second request message.
  • the mobile terminal first requests the identifier (Identity, ID) of the target page from the server, and the server creates a unique ID corresponding to the target page, and sends the identifier ID to the mobile terminal. It can be understood that after receiving the identification ID, the mobile terminal can jump to the target page according to the ID.
  • the server sends the identifier ID of the target page to the mobile terminal, and the mobile terminal determines the target page according to the received identifier ID, thereby displaying the target page. Since the bandwidth resource required for the server to send the target ID is much smaller than the bandwidth resource required by the server to send the target page, this method can save bandwidth resources.
  • the method further includes:
  • the server receives an update request for the interactive data sent by the mobile terminal
  • the server updates the interactive data according to the update request
  • the server sends the updated interactive data to the mobile terminal.
  • the user may send an update request of the interactive data to the mobile terminal, and after receiving the update request, the mobile terminal receives the update request.
  • the mobile terminal sends the update request to the server.
  • the server updates the interactive data, and the server sends the updated interactive data to the mobile terminal, so that the user knows the latest interactive data.
  • the method for data acquisition in the embodiment of the present invention is described above from the perspective of the mobile terminal and the server.
  • the method for data acquisition in the embodiment of the present invention is described below from the perspective of interaction between the mobile terminal and the server.
  • another embodiment of the data acquisition method in the embodiment of the present invention includes:
  • the mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application.
  • the server determines, according to the first request message, interactive data generated by the target object interacting with the application.
  • the server creates a target page according to the interactive data.
  • the server sends a target page to the mobile terminal.
  • the mobile terminal displays the target page.
  • the server may acquire real-time interactive data generated by the interaction between the target object and the application, and send real-time interactive data to the mobile terminal in the form of the target page, so that the user can acquire real-time interactive data of the target object in the mobile terminal.
  • the on-the-go capability of the on-the-go function of the mobile terminal is improved, and the duration of the user's use of the on-the-go function is improved.
  • an embodiment of the mobile terminal in the embodiment of the present invention includes:
  • the first sending module 701 is configured to send a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine that the target object is generated by interacting with the application.
  • the first receiving module 702 is configured to receive a target page sent by the server, where the target page includes interactive data, where the target page is created by the server according to the first request message;
  • the display module 703 is configured to display a target page.
  • the server may acquire real-time interactive data generated by the interaction between the target object and the application, and send real-time interactive data to the mobile terminal in the form of the target page, so that the user can acquire real-time interactive data of the target object in the mobile terminal.
  • the on-the-go capability of the on-the-go function of the mobile terminal is improved, and the duration of the user's use of the on-the-go function is improved.
  • the mobile terminal may further include:
  • the second sending module 801 is configured to send a second request message to the server before the first receiving module 702 receives the target page sent by the server, where the second request message is used to request the identifier ID of the target page;
  • the first receiving module 702 is specifically configured to receive an identifier ID of the target page sent by the server, where the identifier ID is allocated by the server according to the second request message.
  • the mobile terminal may further include:
  • the third sending module 901 is configured to send a first update request of the interactive data to the server after the display module 703 displays the target page;
  • a second receiving module 902 configured to receive updated interactive data sent by the server according to the first update request
  • a third receiving module 903, configured to receive an operation for updating the interactive data
  • the fourth sending module 904 is configured to send a second update request to the server according to the operation of updating the interactive data
  • the fourth receiving module 905 is configured to receive updated interactive data sent by the server according to the second update request.
  • the mobile terminal may further include:
  • a fifth receiving module 906, configured to receive input interactive information
  • the broadcast module 907 is configured to send the interaction information to the server, so that the server broadcasts the interaction information to a mobile terminal corresponding to each of the plurality of objects, where the interaction information is displayed in the The target page.
  • the mobile terminal in the embodiment of the present invention is described above from the perspective of a modular functional entity. The following describes the mobile terminal in the embodiment of the present invention from the perspective of hardware processing. Referring to FIG. 13, the mobile terminal in the embodiment of the present invention is described.
  • the transceiver includes a transceiver, a processor 1003, and a memory 1004.
  • the transceiver includes a transmitter 1001 and a receiver 1002.
  • the mobile terminal according to an embodiment of the present invention may have more or less components than those shown in FIG. 13, may combine two or more components, or may have different component configurations or devices, and each component may include Hardware, software, or a combination of hardware and software implementations of one or more signal processing and/or application specific integrated circuits.
  • the transmitter 1001 is configured to perform the following operations:
  • the receiver 1002 is configured to perform the following operations:
  • the processor 1003 is configured to perform the following operations:
  • the memory 1004 is used to store instructions required by the processor 1003 to perform corresponding operations.
  • the server may acquire real-time interactive data generated by the interaction between the target object and the application, and send real-time interactive data to the mobile terminal in the form of the target page, so that the user can acquire real-time interactive data of the target object in the mobile terminal.
  • the on-the-go capability of the on-the-go function of the mobile terminal is improved, and the duration of the user's use of the on-the-go function is improved.
  • the transmitter 1001 is further configured to perform the following operations:
  • the receiver 1002 is specifically configured to perform the following operations:
  • the transmitter 1001 is further configured to perform the following operations:
  • the receiver 1002 is further configured to perform the following operations:
  • the updated interactive data sent by the receiving server according to the first update request is the updated interactive data sent by the receiving server according to the first update request.
  • the receiver 1002 is further configured to perform the following operations:
  • the transmitter 1001 is further configured to perform the following operations:
  • the receiver 1002 is further configured to perform the following operations:
  • the receiver 1002 is further configured to perform the following operations:
  • the first information includes at least one of the following: a text and a picture;
  • the transmitter 1001 is also used to perform the following operations:
  • the first information is broadcast in the group so that the second user obtains the first information.
  • the embodiment of the present invention further provides a mobile terminal.
  • a mobile terminal For the convenience of description, only parts related to the embodiment of the present invention are shown. For details that are not disclosed, refer to the method part of the embodiment of the present invention. Take the mobile terminal as a mobile phone as an example:
  • FIG. 14 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 1110 , a memory 1120 , an input unit 1130 , a display unit 1140 , a sensor 1150 , an audio circuit 1160 , a wireless fidelity (WiFi) module 1170 , and a processor 1180 . And power supply 1190 and other components.
  • RF radio frequency
  • the RF circuit 1110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 1180; in addition, transmitting the designed uplink data to the base station.
  • RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 1110 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packe
  • the memory 1120 can be used to store software programs and modules, and the processor 1180 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1120.
  • the memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 1130 may include a touch panel 1131 and other input devices 1132.
  • the touch panel 1131 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 1131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1180 is provided and can receive commands from the processor 1180 and execute them.
  • the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 1140 may include a display panel 1141.
  • the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1131 can cover the display panel 1141. After the touch panel 1131 detects a touch operation thereon or nearby, the touch panel 1131 transmits to the processor 1180 to determine the type of the touch event, and then the processor 1180 according to the touch event. The type provides a corresponding visual output on the display panel 1141.
  • touch panel 1131 and the display panel 141 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 14 , in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated. Realize the input and output functions of the phone.
  • the handset may also include at least one type of sensor 1150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1141 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • An audio circuit 1160, a speaker 1161, and a microphone 162 can provide an audio interface between the user and the handset.
  • the audio circuit 1160 can transmit the converted electrical data of the received audio data to the speaker 1161, and convert it into a sound signal output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After receiving, it is converted into audio data, and then processed by the audio data output processor 1180, transmitted to the other mobile phone via the RF circuit 1110, or outputted to the memory 1120 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 1170, which provides users with wireless broadband Internet access.
  • FIG. 14 shows the WiFi module 1170, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 1180 is a control center for the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1120, and invoking data stored in the memory 1120, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1180.
  • the handset also includes a power source 1190 (such as a battery) that powers the various components.
  • a power source can be logically coupled to the processor 1180 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • an embodiment of the server in the embodiment of the present invention includes:
  • the first receiving module 1201 is configured to receive a query request that the target object sent by the mobile terminal is in an application progress state
  • the second receiving module 1202 is configured to receive a first request message sent by the mobile terminal when determining that the target object is in an application progress state according to the query request, where the first request message is a start operation of the data view entry of the mobile terminal in response to the target object Sent
  • a determining module 1203, configured to determine, according to the first request message, interactive data generated by the target object interacting with the registered application;
  • a first creating module 1204 configured to create a target page according to the interactive data, where the target page includes interactive data;
  • the first sending module 1205 is configured to send a target page to the mobile terminal.
  • the user may send an update request of the interactive data to the mobile terminal, and after receiving the update request, the mobile terminal receives the update request.
  • the mobile terminal sends the update request to the server.
  • the server updates the interactive data, and the server sends the updated interactive data to the mobile terminal, so that the user knows the latest interactive data.
  • the first sending module 1205 is specifically configured to send, to the mobile terminal, an identifier ID of the target page;
  • the server may further include:
  • the third receiving module 1301 is configured to receive a second request message sent by the mobile terminal before the first sending module 1205 sends the identifier ID of the target page to the mobile terminal, where the second request message is used to request the identifier ID of the target page;
  • the allocating module 1302 is configured to allocate an identifier ID to the target page according to the second request message.
  • the server may further include:
  • the second creating module 1401 is configured to create a group supporting a multi-person chat interaction in the target page, where the group includes multiple objects having a friend relationship chain.
  • server may further include:
  • the fourth receiving module 1402 is configured to receive an update request of the interactive data sent by the mobile terminal after the first sending module 1205 sends the target page to the mobile terminal;
  • An update module 1403, configured to update the interactive data according to the update request
  • the second sending module 1404 is configured to send the updated interactive data to the mobile terminal.
  • the server in the embodiment of the present invention is described above from the perspective of a modular functional entity.
  • the server in the embodiment of the present invention is described from the perspective of hardware processing.
  • the server in the embodiment of the present invention includes: receiving The device 1501, the processor 1502, the transmitter 1503, and the memory 1504.
  • the server according to an embodiment of the present invention may have more or less components than those shown in FIG. 18, may combine two or more components, or may have different component configurations or devices, and each component may include one Hardware, software, or a combination of hardware and software, including multiple signal processing and/or application specific integrated circuits.
  • the receiver 1501 is configured to perform the following operations:
  • the processor 1502 is configured to: determine, according to the first request message, the interactive data generated by the target object interacting with the registered application; create a target page according to the interactive data, where the target page includes the interactive data;
  • the transmitter 1503 is configured to perform the following operations:
  • the memory 1504 is used to store instructions required by the processor 1502 to perform corresponding operations.
  • the user may send an update request of the interactive data to the mobile terminal, and after receiving the update request, the mobile terminal receives the update request.
  • the mobile terminal sends the update request to the server.
  • the server updates the interactive data, and the server sends the updated interactive data to the mobile terminal, so that the user knows the latest interactive data.
  • the transmitter 1503 is further configured to perform the following operations:
  • the receiver 1501 is further configured to perform the following operations:
  • the processor 1502 is further configured to perform the following operations:
  • the target page is assigned a target ID according to the second request message.
  • processor 1502 is further configured to perform the following operations:
  • the receiver 1501 is further configured to: receive an update request of the interactive data sent by the mobile terminal;
  • processor 1502 is further configured to perform the following operations:
  • the transmitter 1503 is further configured to perform the following operations:
  • the updated interactive data is sent to the mobile terminal.
  • FIG. 19 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server 1600 may generate a large difference due to different configurations or performances, and may include one or more central processing units. (central processing units, CPU) 1601 (eg, one or more processors) and memory 1602, one or more storage media 1605 that store application 1603 or data 1604 (eg, one or one storage device in Shanghai).
  • the memory 1602 and the storage medium 1605 may be short-term storage or persistent storage.
  • the program stored on storage medium 1605 can include one or more modules (not shown), each of which can include a series of instruction operations in the server.
  • central processor 1601 can be configured to communicate with storage medium 1605, executing a series of instruction operations in storage medium 1602 on server 1600.
  • Server 1600 may also include one or more power sources 1606, one or more wired or wireless network interfaces 1607, one or more input and output interfaces 1608, and/or one or more operating systems 1609, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • power sources 1606 one or more wired or wireless network interfaces 1607
  • input and output interfaces 1608 and/or one or more operating systems 1609, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • operating systems 1609 such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • the steps performed by the server in the above embodiment may be based on the server structure shown in FIG.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the invention disclose a data acquisition method, a mobile terminal, and a server capable of improving pay-to-view capability of a pay-to-view function of a mobile terminal. In one embodiment of the invention, the method comprises: in response to an activation operation with respect to a data viewing entry point of a target object in an application operating status, a mobile terminal issuing, to a server, a first request message used to instruct the server to determine interactive data generated by the target object interacting with an application; the mobile terminal receiving a target page transmitted from the server and comprising the interactive data, wherein the target page is created by the server according to the first request message; and the mobile terminal displaying the target page.

Description

一种数据获取方法、移动终端及服务器Data acquisition method, mobile terminal and server
本申请要求于2017年02月17日提交中国专利局,申请号为201710086993.2,发明名称为“一种数据获取方法、移动终端及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on February 17, 2017, the Chinese Patent Office, the application number is 201710086993.2, the invention is entitled "a data acquisition method, a mobile terminal and a server", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及计算机领域,尤其涉及一种数据获取方法、移动终端及服务器。The present invention relates to the field of computers, and in particular, to a data acquisition method, a mobile terminal, and a server.
背景技术Background technique
目前,用户通常会关注好友在交互式应用中的状态,市面上的许多交互式应用都提供了围观功能,这些交互式应用通过围观功能方便了用户获取好友在交互式应用中的状态。然而,这些交互式所提供的围观功能仅限于电脑,即不支持移动终端。Currently, users often pay attention to the status of their friends in interactive applications. Many interactive applications on the market provide onlookers. These interactive applications make it easy for users to get the status of their friends in interactive applications through onlookers. However, the onlookers provided by these interactions are limited to computers, ie mobile terminals are not supported.
当前,为了使得移动终端支持围观功能,现有的方案为:服务器获取用户的好友列表,然后获取各好友在交互式应用中的在线状态,最后将各好友的在线状态发送给移动终端。Currently, in order to enable the mobile terminal to support the onlooker function, the existing solution is: the server obtains the user's friend list, then obtains the online status of each friend in the interactive application, and finally sends the online status of each friend to the mobile terminal.
然而,现有的方案只能支持移动终端获取好友的在线状态,针对好友在交互式应用中的交互式数据是无法得到的。所以现有的方案中移动终端的围观功能的围观能力不足,从而用户使用围观功能的时长不足。However, the existing solution can only support the mobile terminal to obtain the online status of the friend, and the interactive data for the friend in the interactive application is not available. Therefore, the on-the-go capability of the on-the-go function of the mobile terminal in the existing solution is insufficient, so that the user has insufficient time for using the onlooker function.
发明内容Summary of the invention
本发明实施例提供了一种数据获取方法、移动终端及服务器,能够提高移动终端的围观功能的围观能力,提高用户使用围观功能的时长。The embodiment of the invention provides a data acquisition method, a mobile terminal and a server, which can improve the onlooker ability of the on-the-go function of the mobile terminal and improve the duration of the user's use of the onlooker function.
本发明实施例第一方面提供了一种数据获取方法,可包括:A first aspect of the embodiments of the present invention provides a data acquisition method, which may include:
移动终端响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,所述第一请求消息用于指示服务器确定所述目标对象与所述应用交互所产生的交互式数据;The mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine that the target object is generated by interaction with the application. Interactive data
所述移动终端接收所述服务器发送的目标页面,所述目标页面中包含所述交互式数据,所述目标页面为所述服务器根据所述第一请求消息所创建的;Receiving, by the mobile terminal, a target page that is sent by the server, where the target page includes the interactive data, where the target page is created by the server according to the first request message;
所述移动终端显示所述目标页面。The mobile terminal displays the target page.
本发明实施例第二方面提供了一种数据获取方法,可包括:A second aspect of the embodiments of the present invention provides a data acquisition method, which may include:
服务器接收移动终端发送的第一请求消息,所述第一请求消息为所述移动终端响应对所述目标对象的数据查看入口的启动操作所发送的;Receiving, by the server, a first request message sent by the mobile terminal, where the first request message is sent by the mobile terminal in response to a start operation of a data view entry of the target object;
当所述服务器确定所述目标对象处于应用进行状态时,所述服务器根据所述第一请求消息确定所述目标对象与所述应用交互所产生的交互式数据;When the server determines that the target object is in an application progress state, the server determines, according to the first request message, interactive data generated by the target object interacting with the application;
所述服务器根据所述交互式数据创建目标页面,所述目标页面中包含所述交互式数据;The server creates a target page according to the interactive data, where the target page includes the interactive data;
所述服务器向所述移动终端发送所述目标页面。The server sends the target page to the mobile terminal.
本发明实施例第三方面提供了一种移动终端,可包括:A third aspect of the embodiments of the present invention provides a mobile terminal, which may include:
第一发送模块,用于响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,所述第一请求消息用于指示服务器确定所述目标对象与所述应用交互所产生的交互式数据;a first sending module, configured to send a first request message to the server, in response to the start operation of the data view entry of the target object in the state of the application, the first request message is used to instruct the server to determine the target object and the Interactive data generated by application interaction;
第一接收模块,用于接收所述服务器发送的目标页面,所述目标页面中包含所述交互式数据,所述目标页面为所述服务器根据所述第一请求消息所创建的;a first receiving module, configured to receive a target page sent by the server, where the target page includes the interactive data, where the target page is created by the server according to the first request message;
显示模块,用于显示所述目标页面。A display module for displaying the target page.
本发明实施例第四方面提供了一种服务器,可包括:A fourth aspect of the embodiments of the present invention provides a server, which may include:
第一接收模块,用于接收移动终端发送的目标对象是否处于应用进行状态的查询请求;a first receiving module, configured to receive a query request that the target object sent by the mobile terminal is in an application progress state;
第二接收模块,用于当根据所述查询请求确定所述目标对象处于应用进行状态时,接收移动终端发送的第一请求消息,所述第一请求消息为所述移动终端响应对所述目标对象的数据查看入口的启动操作所发送的;a second receiving module, configured to: when determining that the target object is in an application progress state according to the query request, receiving a first request message sent by the mobile terminal, where the first request message is that the mobile terminal responds to the target The data sent by the object is viewed by the start operation of the entry;
确定模块,用于根据所述第一请求消息确定所述目标对象与所述应用交互所产生的交互式数据;a determining module, configured to determine, according to the first request message, interactive data generated by the target object interacting with the application;
第一创建模块,用于根据所述交互式数据创建目标页面,所述目标页面中包含所述交互式数据;a first creating module, configured to create a target page according to the interactive data, where the target page includes the interactive data;
第一发送模块,用于向所述移动终端发送所述目标页面。And a first sending module, configured to send the target page to the mobile terminal.
本发明实施例第五方面提供了一种移动终端,包括:A fifth aspect of the embodiments of the present invention provides a mobile terminal, including:
存储器,用于存储计算机可执行程序代码;a memory for storing computer executable program code;
收发器,以及Transceiver, and
处理器,与所述存储器和所述收发器耦合;a processor coupled to the memory and the transceiver;
其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令使所述移动终端执行如上述第一方面所述的方法。Wherein the program code includes instructions that, when executed by the processor, cause the mobile terminal to perform the method of the first aspect described above.
本发明实施例第六方面提供了一种计算机存储介质,用于储存移动终端所用的计算机软件指令,其包含用于执行如上述第一方面所述的方法。A sixth aspect of the embodiments of the present invention provides a computer storage medium for storing computer software instructions for use in a mobile terminal, comprising: a method for performing the first aspect as described above.
本发明实施例第七方面提供了一种服务器,包括:A seventh aspect of the embodiments of the present invention provides a server, including:
存储器,用于存储计算机可执行程序代码;a memory for storing computer executable program code;
网络接口,以及Network interface, and
处理器,与所述存储器和所述网络接口耦合;a processor coupled to the memory and the network interface;
其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令使所述服务器执行上述第二方面中所述的方法。Wherein the program code includes instructions that, when executed by the processor, cause the server to perform the method described in the second aspect above.
本发明实施例第八方面提供了一种计算机存储介质,用于储存服务器所用的计算机软件指令,其包含用于执行上述第二方面中所述的方法。An eighth aspect of the embodiments of the present invention provides a computer storage medium for storing computer software instructions for use in a server, comprising: the method for performing the second aspect described above.
从以上技术方案可以看出,本发明实施例具有以下优点:服务器可以获取目标对象与应用进行交互时所产生的实时交互式数据,通过目标页面的形式将实时交互式数据发送给移动终端,从而用户可以在移动终端获取目标对象的实时交互式数据,进而提高了移动终端的围观功能的围观能力,提高了用户使用围观功能的时长。As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: the server can acquire real-time interactive data generated when the target object interacts with the application, and send real-time interactive data to the mobile terminal through the form of the target page, thereby The user can obtain the real-time interactive data of the target object in the mobile terminal, thereby improving the onlookers ability of the on-the-go function of the mobile terminal and improving the duration of the user's use of the onlooker function.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for creative labor.
图1为本发明实施例中移动终端查看游戏好友在A应用中的实时数据所需的围观入口的界面图;1 is an interface diagram of a peripheral entrance required for a mobile terminal to view real-time data of a game friend in an A application according to an embodiment of the present invention;
图2为本发明实施例中移动终端查看游戏好友在A应用中的实时数据所 需的围观房间的界面图;2 is an interface diagram of a periscope room required for a mobile terminal to view real-time data of a game friend in an A application according to an embodiment of the present invention;
图3为本发明实施例中用于实现数据获取的系统架构图;3 is a system architecture diagram for implementing data acquisition in an embodiment of the present invention;
图4为本发明实施例中手机查看A应用中好友的游戏在线状态流程图;4 is a flowchart of online status of a game of a friend in a mobile phone viewing A application according to an embodiment of the present invention;
图5为本发明实施例中手机查看A应用中好友的实时游戏数据流程图;FIG. 5 is a flowchart of real-time game data of a friend in an A application in a mobile phone according to an embodiment of the present invention; FIG.
图6为本发明是实施例中好友围观群组聊天流程图;FIG. 6 is a flow chart of a friend watching a group chat according to an embodiment of the present invention;
图7为本发明实施例中数据获取方法一个实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a data acquisition method according to an embodiment of the present invention; FIG.
图8为本发明实施例中数据获取方法另一个实施例示意图;FIG. 8 is a schematic diagram of another embodiment of a data acquisition method according to an embodiment of the present invention; FIG.
图9为本发明实施例中数据获取方法另一个实施例示意图;FIG. 9 is a schematic diagram of another embodiment of a data acquisition method according to an embodiment of the present invention; FIG.
图10为本发明实施例中移动终端一个实施例示意图;FIG. 10 is a schematic diagram of an embodiment of a mobile terminal according to an embodiment of the present invention;
图11为本发明实施例中移动终端另一个实施例示意图;FIG. 11 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention; FIG.
图12为本发明实施例中移动终端另一个实施例示意图;FIG. 12 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention; FIG.
图13为本发明实施例中移动终端另一个实施例示意图;FIG. 13 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention; FIG.
图14为本发明实施例中移动终端另一个实施例示意图;FIG. 14 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention; FIG.
图15为本发明实施例中服务器一个实施例示意图;FIG. 15 is a schematic diagram of an embodiment of a server according to an embodiment of the present invention; FIG.
图16为本发明实施例中服务器另一个实施例示意图;16 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention;
图17为本发明实施例中服务器另一个实施例示意图;FIG. 17 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention; FIG.
图18为本发明实施例中服务器另一个实施例示意图;FIG. 18 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention; FIG.
图19为本发明实施例中服务器另一个实施例示意图。FIG. 19 is a schematic diagram of another embodiment of a server according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种数据获取方法、移动终端及服务器,能够提高移动终端的围观功能的围观能力,提高用户使用围观功能的时长。The embodiment of the invention provides a data acquisition method, a mobile terminal and a server, which can improve the onlooker ability of the on-the-go function of the mobile terminal and improve the duration of the user's use of the onlooker function.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的 或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
应理解,本发明方案可以适用于具有围观功能的业务,具体可以是应用于娱乐大厅里的A应用,可以理解的是,本发明方案不限于应用在某一个应用中,而是可以应用于游戏平台中的所有应用,但是为了便于描述,将以应用于某一款游戏应用(如A应用)为例进行说明。It should be understood that the solution of the present invention can be applied to a service with a periscope function, and specifically can be applied to an A application in an entertainment hall. It can be understood that the solution of the present invention is not limited to application in a certain application, but can be applied to a game. All applications in the platform, but for convenience of description, will be described as an example of application to a certain game application (such as A application).
在一个应用场景中,假设A应用是一款多人竞技类游戏:请参阅图1,图1为在移动终端查看游戏好友在A应用中的实时数据所需的围观入口的界面图,如图1所示,该围观入口的界面图中的围观入口主要用于展示好友在A应用中的实时游戏状态,并判断该好友是否可以被围观。围观入口包含如下两个重要部分:1、好友实时状态:展示好友列表,并显示实时游戏状态;2、好友围观入口:根据不同的游戏状态显示不同入口,当用户正在游戏中时,显示围观入口,点击即可进入实时围观房间。In an application scenario, assume that the A application is a multiplayer competitive game: Please refer to FIG. 1. FIG. 1 is an interface diagram of a peripheral entrance required to view real-time data of a game friend in an A application on a mobile terminal, as shown in FIG. As shown in Fig. 1, the onlookers in the interface diagram of the onlookers are mainly used to display the real-time game state of the friend in the A application, and determine whether the friend can be onlookers. The onlookers entrance contains the following two important parts: 1. Real-time status of friends: display the list of friends and display the real-time game status; 2. Friend's onlookers: display different entries according to different game states, display the onlookers when the user is in the game , click to enter the real-time onlookers room.
请参阅图2,图2为在移动终端查看游戏好友在A应用中的实时数据所需的围观房间的界面图,如图2所示,该围观房间的界面图中的围观房间主要用于完整显示好友在A应用中的实时游戏数据,并支持多人在围观房间内互动。围观房间包含如下四个重要部分:1、实时游戏数据,例如,游戏数据包括但不限定于:显示玩家的比赛模式,使用的英雄、实时的英雄等级、击杀数、助攻数、死亡数、补兵数、双方队伍的击杀数、推塔数和大小龙数,在不同的游戏中,游戏数据有所不同,本示例中只是对游戏数据进行举例说明,并不造成对本申请实施例的限定性说明;2、支持实时刷新:游戏数据支持用户手动刷新到最新的数据,或者,周期性(例如1分钟)进行自动更新游戏数据;3、同时支持多人围观:支持多个用户同时进入房间围观,但都需要是被围观玩家的好友;4、支持多人聊天互动:支持房间内所有成员进行实时的聊天互动。Please refer to FIG. 2. FIG. 2 is an interface diagram of a periscope room required for viewing real-time data of a game friend in an A application on a mobile terminal. As shown in FIG. 2, the onlooker room in the interface diagram of the onlooker is mainly used for complete Shows real-time game data from friends in A apps and supports multiple people interacting in the onlookers. The onlookers room contains the following four important parts: 1. Real-time game data. For example, the game data includes but is not limited to: displaying the player's game mode, using heroes, real-time hero levels, kills, assists, deaths, The number of soldiers, the number of kills of the two teams, the number of push towers, and the number of dragons and the number of the game are different. In different games, the game data is different. In this example, only the game data is exemplified, which does not cause the embodiment of the present application. Limited description; 2, support real-time refresh: game data allows users to manually refresh to the latest data, or, periodically (for example, 1 minute) to automatically update the game data; 3, support multiple people at the same time: support multiple users simultaneously enter The room is onlookers, but all need to be friends of the onlookers; 4, support multi-person chat interaction: support all members of the room for real-time chat interaction.
请参阅图3,图3为本发明实施例中用于实现数据获取的系统架构图,如图3所示,该系统架构图包含多个与A应用相关的部分和设备,下面分别对该系统架构图所包含的多个部分进行介绍:Referring to FIG. 3, FIG. 3 is a structural diagram of a system for implementing data acquisition according to an embodiment of the present invention. As shown in FIG. 3, the system architecture diagram includes a plurality of parts and devices related to an application, and the system is respectively The various parts of the architecture diagram are introduced:
移动终端(比如手机):移动终端在标签tab页面上提供好友围观功能入口。用户通过好友围观入口可以查看A应用中好友的游戏在线状态和游戏数 据,其中游戏数据包括游戏中好友的详细对局数据信息,并且可以通过一对一聊天和群组聊天的方式进行即时聊天和讨论。该移动终端为进行围观游戏的设备,即游戏交互式数据(游戏数据)的获取端。Mobile terminal (such as mobile phone): The mobile terminal provides a friend onlooker function entry on the tab page. The user can view the game online status and game data of the friend in the A application through the friend watching portal, wherein the game data includes detailed game data information of the friend in the game, and can perform live chat by one-to-one chat and group chat. discuss. The mobile terminal is a device for performing a watching game, that is, an acquisition end of game interactive data (game data).
个人电脑(Personal Computer,PC):主要负责上报实时游戏在线状态和游戏数据。需要说明的是,该PC为游戏数据的提供端,即用户在该PC上进行游戏,当然,该PC也可以为移动设备,如手机,本示例中,是为了区别游戏数据的提供端和围观游戏的设备而举的例子,并不造成对本示例中系统的限定性说明。Personal Computer (PC): Mainly responsible for reporting real-time game online status and game data. It should be noted that the PC is the providing end of the game data, that is, the user plays the game on the PC. Of course, the PC can also be a mobile device, such as a mobile phone. In this example, in order to distinguish the providing end and the onlookers of the game data. The example of the device of the game does not result in a limited description of the system in this example.
即时消息(Instant Messaging,IM)云长链接通道:IM云长链接通道主要负责PC和逻辑层中的上报数据处理服务之间的长链接的建立,并维持长链接的稳定可靠,保证上报数据的实时性。Instant Messaging (IM) cloud long link channel: IM cloud long link channel is mainly responsible for the establishment of long links between PC and logical layer reporting data processing services, and maintains long links stable and reliable, and ensures the reporting of data. real-time.
手机接入层:主要负责手机长链接请求的鉴权,建立长链接并保证手机和服务器之间的长链接的稳定可靠,转发来自手机的业务数据请求到好友围观服务,将好友围观服务的回包下发给手机。Mobile access layer: mainly responsible for the authentication of mobile phone long link requests, establishing long links and ensuring the stability and reliability of long links between mobile phones and servers, forwarding service data requests from mobile phones to friends onlookers, and returning friends to the service. The package is sent to the phone.
上报数据处理服务:主要负责将PC上报的在线状态信息和游戏对局信息存储到数据层,并向其他服务提供在线状态和实时游戏对局信息的查询接口。Reporting data processing service: It is mainly responsible for storing the online status information and game game information reported by the PC to the data layer, and providing the online service status and the query interface of the real-time game game information to other services.
游戏在线服务:负责从上报数据处理服务中获取PC所上报的在线状态信息,并提供给手机和好友围观服务查询接口。Game online service: Responsible for obtaining the online status information reported by the PC from the reported data processing service, and providing the mobile phone and friends on-the-spot service query interface.
好友围观服务:负责以协议约定的形式给手机提供好友围观功能直接接口。Friend onlooker service: Responsible for providing a direct interface to the mobile phone's onlookers in the form agreed by the agreement.
IM云群组:负责群组聊天和一对一聊天,由IM云软件开发工具包(software development kit,SDK)控制。IM cloud group: responsible for group chat and one-on-one chat, controlled by IM cloud software development kit (SDK).
用户在线状态:负责用户在线状态的存储。User online status: responsible for the storage of the user's online status.
实时游戏数据:负责实时游戏数据的存储。Real-time game data: Responsible for the storage of real-time game data.
其中,好友在线状态以及实时游戏数据位于数据层。Among them, the friend online status and real-time game data are located in the data layer.
在上述系统架构图的基础上,下面通过实例对手机查看A应用中好友的游戏在线状态的过程进行说明,请参阅图4,具体包括如下步骤:Based on the above system architecture diagram, the following describes an example of the process of viewing the online status of a friend's game in the A application by using an example. Referring to FIG. 4, the following steps are specifically included:
步骤101、手机向好友围观服务请求好友的游戏在线状态;Step 101: The mobile phone requests the friend's game online status to the friend watching service;
步骤102、好友围观服务从A应用的数据库中获取用户的好友关系链;Step 102: The friend onlooker service obtains the friend relationship chain of the user from the database of the A application;
步骤103、好友围观服务向游戏在线服务请求好友的在线状态;Step 103: The friend onlooker service requests the online status of the friend to the game online service;
步骤104、游戏在线服务向上报数据处理服务请求在线状态数据;Step 104: The game online service reports the data processing service requesting online status data;
步骤105、上报数据处理服务从数据层获取在线状态数据;Step 105: Reporting the data processing service to obtain online status data from the data layer;
步骤106、上报数据处理服务逐步向手机返回在线状态数据。Step 106: Reporting the data processing service to gradually return online status data to the mobile phone.
需要说明的是,上报数据处理服务逐步向手机返回在线状态数据具体为:上报数据处理服务将在线状态数据发送给游戏在线服务,游戏在线服务接收到在线状态数据后,游戏在线服务将在线状态数据发送给好友围观服务,好友围观服务将接收到的在线状态数据发送给手机。It should be noted that the report data processing service gradually returns the online status data to the mobile phone, specifically: the report data processing service sends the online status data to the game online service, and after the game online service receives the online status data, the game online service will be online status data. Send to the friend onlooker service, the friend onlooker service will send the received online status data to the mobile phone.
其中,本实例中的上报数据处理服务、游戏在线服务以及好友围观服务在实际应用中可以独立部署,也可以集成部署,例如,在服务器中部署执行上报数据处理服务、游戏在线服务以及好友围观服务的功能组件,在实际应用中,对于具体的部署形态,本申请实施例中不作限定。The reported data processing service, the game online service, and the friend onlooker service in the present example may be deployed independently in an actual application, or may be integrated, for example, deploying an execution report data processing service, a game online service, and a friend onlooker service in the server. The functional components are not limited in the embodiment of the present application.
下面通过实例对手机查看A应用中好友的实时游戏数据的过程进行说明,请参阅图5,具体包括如下步骤:The following describes an example of the process of viewing real-time game data of a friend in an A application by using an example. Referring to FIG. 5, the following steps are specifically included:
步骤201、手机向好友围观服务请求实时游戏数据;Step 201: The mobile phone requests real-time game data from a friend watching service;
步骤202、好友围观服务向上报数据处理服务校验好友是否处于A应用的游戏中;Step 202: The friend onlooker service reports the data processing service to verify whether the friend is in the game of the A application;
需要说明的是,若好友处于A应用的游戏中,则上报数据处理服务会将好友处于A应用的游戏中的消息发送给好友围观服务,图5中以虚线进行表示。It should be noted that if the friend is in the game of the A application, the report data processing service will send a message that the friend is in the game of the A application to the friend onlooker service, which is indicated by a broken line in FIG.
步骤203、若好友处于A应用的游戏中,则好友围观服务向上报数据处理服务请求好友的实时游戏数据;Step 203: If the friend is in the game of the A application, the friend onlooker service reports the real-time game data of the friend to the data processing service;
步骤204、上报数据处理服务向数据层请求获取实时游戏数据;Step 204: The reporting data processing service requests the data layer to acquire real-time game data.
步骤205、数据层将实时游戏数据返回给上报数据处理服务,上报数据处理服务将接收到的实时游戏数据发送给好友围观服务;Step 205: The data layer returns the real-time game data to the report data processing service, and the report data processing service sends the received real-time game data to the friend onlooker service;
步骤206、好友围观服务根据实时游戏数据进行胜率逻辑运算;Step 206: The friend onlooker service performs a winning rate logic operation according to the real-time game data;
步骤207、好友围观服务将得到的运算结果以及实时游戏数据返回给手机。Step 207: The friend onlooker service returns the obtained operation result and the real-time game data to the mobile phone.
其中,本实例中的好友围观服务、上报数据处理服务、数据层为服务器中的组件,服务器中还可以包含其他组件,此处不作限定。The buddy service, the data processing service, and the data layer in the example are components in the server, and the server may include other components, which are not limited herein.
下面通过实例对好友围观群组聊天的过程进行说明,请参阅图6,具体包括如下步骤:The following describes an example of the process of a friend watching a group chat by using an example. Referring to FIG. 6, the following steps are specifically included:
步骤301、手机向好友围观服务请求群组ID;Step 301: The mobile phone requests the group ID from the service of the friend;
步骤302、好友围观服务向IM云代理服务请求创建群组;Step 302: The friend onlooker service requests to create a group from the IM cloud proxy service.
步骤303、IM云代理服务向IM云群组请求创建群组;Step 303: The IM cloud proxy service requests the IM cloud group to create a group.
步骤304、IM云群组创建群组,并分配ID;Step 304: The IM cloud group creates a group and allocates an ID.
步骤305、IM云群组将群组ID发送给IM云代理服务,IM云代理服务将群组ID发送给好友围观服务;Step 305: The IM cloud group sends the group ID to the IM cloud proxy service, and the IM cloud proxy service sends the group ID to the friend onlooker service.
步骤306、好友围观服务向IM云代理服务请求添加群成员;Step 306: The friend onlooker service requests to add a group member to the IM cloud proxy service request.
步骤307、IM云代理服务向IM云群组请求添加群成员;Step 307: The IM cloud proxy service requests to add a group member to the IM cloud group.
步骤308、IM云群组将添加群成员完成的消息通过IM云代理服务发送给好友围观服务;Step 308: The IM cloud group sends the message that the group member completes the message to the friend onlooker service through the IM cloud proxy service.
步骤309、好友围观服务将群组ID发送给手机;Step 309: The friend onlooker service sends the group ID to the mobile phone;
步骤310、手机拿到群组ID后向IM云SDK发起聊天请求。Step 310: After the mobile phone obtains the group ID, the mobile phone initiates a chat request to the IM cloud SDK.
需要说明的是,好友围观服务、IM云代理服务以及IM云群组为服务器中的组件,服务器中还可以包含其他组件,此处不作限定。It should be noted that the buddy service, the IM cloud proxy service, and the IM cloud group are components in the server, and the server may also include other components, which are not limited herein.
上面分别通过不同实例对获取好友的游戏在线状态、获取好友的实时游戏数据以及好友围观群组聊天的过程进行了描述,在上述各实例的基础上,下面通过具体实施例对本发明实施例中数据获取方法进行描述,并且在以下实施例中所提到的服务器所执行的功能包括上文所提到的上报数据处理服务、游戏在线服务、好友围观服务、数据层、IM云代理服务以及IM云群组所执行的功能,具体的:The process of obtaining the online state of the friend's game, obtaining the real-time game data of the friend, and the process of the friend's on-the-spot group chat are described by using different examples. Based on the above examples, the data in the embodiment of the present invention is described below through specific embodiments. The acquisition method is described, and the functions performed by the server mentioned in the following embodiments include the above reported data processing service, game online service, friend onlooker service, data layer, IM cloud proxy service, and IM cloud. The functions performed by the group, specifically:
请参阅图7,本发明实施例中数据获取方法一个实施例包括:Referring to FIG. 7, an embodiment of a data acquisition method in an embodiment of the present invention includes:
401、移动终端响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,第一请求消息用于指示服务器确定目标对象与应用交互所产生的交互式数据,该交互式数据为目标对象在应用运行过程中产生的数据,例如,该交互式数据为目标对象在游戏类应用中的游 戏数据。401. The mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine the interactive data generated by the target object interacting with the application. The interactive data is data generated by the target object during the running of the application, for example, the interactive data is game data of the target object in the game application.
本实施例中,当移动终端接收到对处于应用进行状态的目标对象的数据查看入口的启动操作时,移动终端响应对目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,第一请求消息用于指示服务器确定目标对象与的应用进行交互时所产生的交互式数据。In this embodiment, when the mobile terminal receives the start operation of the data view entry of the target object in the application progress state, the mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object. A request message is used to instruct the server to determine interactive data generated when the target object interacts with the application.
应理解,若目标对象应用为游戏类应用,则交互式数据可以为游戏数据,本申请实施例中的对象为所述应用中的一个虚拟对象,该虚拟对象可以代表一个用户,该目标对象可以理解为在游戏数据提供端对应的虚拟对象。It should be understood that if the target object is applied as a game-like application, the interactive data may be game data. The object in the embodiment of the present application is a virtual object in the application, and the virtual object may represent a user, and the target object may be It is understood as a virtual object corresponding to the game data providing end.
以图1为例,数据查看入口可以理解为围观入口,对处于应用进行状态的目标对象的数据查看入口的启动操作可以理解为对“围观”的点击操作。可以理解,上述交互式数据为游戏从开始进行到第17分钟所产生的游戏数据。Taking FIG. 1 as an example, the data view entry can be understood as a look-ahead entry, and the start operation of the data view entry of the target object in the state of the application can be understood as a click operation on the “onlookers”. It can be understood that the above interactive data is game data generated from the start of the game to the 17th minute.
402、移动终端接收服务器发送的目标页面,目标页面中包含上述交互式数据,目标页面为服务器根据第一请求消息所创建的;402. The mobile terminal receives a target page sent by the server, where the target page includes the foregoing interactive data, where the target page is created by the server according to the first request message.
本实施例中,服务器接收到第一请求消息后,服务器根据第一请求消息创建目标页面,其中目标页面包含上述交互式数据,服务器将创建好的目标页面发送给移动终端。In this embodiment, after the server receives the first request message, the server creates a target page according to the first request message, where the target page includes the interactive data, and the server sends the created target page to the mobile terminal.
应理解,若目标对象的应用为游戏类应用,则目标对象处于应用进行状态可以理解为目标对象处于游戏中,目标页面可以理解为围观房间的界面。It should be understood that if the application of the target object is a game-like application, the target object in the application progress state can be understood as the target object is in the game, and the target page can be understood as the interface of the onlookers.
403、移动终端显示目标页面。403. The mobile terminal displays the target page.
本实施例中,在移动终端接收服务器发送的目标页面后,移动终端显示该目标页面。In this embodiment, after the mobile terminal receives the target page sent by the server, the mobile terminal displays the target page.
本实施例中,服务器可以获取目标对象与的应用交互所产生的实时交互式数据,通过目标页面的承载实时交互式数据,并将该目标页面发送给移动终端,从而使得移动终端获取目标对象的实时交互式数据,进而提高了移动终端的围观功能的围观能力,用户可以对游戏在进行过程中对游戏进行围观,增强了对游戏的参与度,进而可以提高了用户使用围观功能的时长。In this embodiment, the server may acquire real-time interactive data generated by the interaction between the target object and the application, and carry real-time interactive data through the target page, and send the target page to the mobile terminal, so that the mobile terminal acquires the target object. Real-time interactive data, which enhances the onlookers of the mobile terminal's onlooker function, allows the user to watch the game while the game is in progress, enhances the participation of the game, and thus improves the duration of the user's use of the onlooker function.
可选地,在本发明的一些实施例中,上述移动终端接收服务器发送的目标页面之前,可以包括:Optionally, in some embodiments of the present invention, before the mobile terminal receives the target page sent by the server, the mobile terminal may include:
移动终端向服务器发送第二请求消息,第二请求消息用于请求目标页面 的标识ID;The mobile terminal sends a second request message to the server, where the second request message is used to request the identifier ID of the target page;
上述移动终端接收服务器发送的目标页面包括:The target page sent by the mobile terminal receiving server includes:
移动终端接收服务器发送的目标页面的标识ID,标识ID为服务器根据第二请求消息为目标页面所分配的。The mobile terminal receives the identifier ID of the target page sent by the server, and the identifier ID is allocated by the server as the target page according to the second request message.
本实施例中,移动终端会先去向服务器请求目标页面的标识(Identity,ID),此时服务器创建对应该目标页面的唯一ID,将该标识ID下发给移动终端。可以理解,移动终端在接收到该标识ID后,移动终端可以根据该标识ID跳转到目标页面,即进入围观房间。In this embodiment, the mobile terminal first requests the identifier (Identity, ID) of the target page from the server, and the server creates a unique ID corresponding to the target page, and sends the identifier ID to the mobile terminal. It can be understood that after receiving the identification ID, the mobile terminal can jump to the target page according to the identification ID, that is, enter the onlookers.
本实施例中,服务器将目标页面的标识ID发送给移动终端,移动终端根据接收到的标识ID确定目标页面,进而显示目标页面。由于服务器发送标识ID所需的带宽资源远小于服务器发送目标页面所需的带宽资源,所以采用这种方法能够节省带宽资源。In this embodiment, the server sends the identifier ID of the target page to the mobile terminal, and the mobile terminal determines the target page according to the received identifier ID, thereby displaying the target page. Since the bandwidth resource required for the server to send the identification ID is much smaller than the bandwidth resource required by the server to send the target page, this method can save bandwidth resources.
可选地,在本发明的一些实施例中,上述移动终端显示目标页面之后还包括:Optionally, in some embodiments of the present invention, after the displaying, by the mobile terminal, the target page, the method further includes:
移动终端向服务器发送交互式数据的第一更新请求;The mobile terminal sends a first update request of the interactive data to the server;
移动终端接收服务器根据第一更新请求所发送的更新后的交互式数据;或,The mobile terminal receives the updated interactive data sent by the server according to the first update request; or
移动终端接收用户输入的用于更新交互式数据的操作(例如,该操作可以为点击刷新按钮);The mobile terminal receives an operation input by the user for updating the interactive data (for example, the operation may be a click refresh button);
移动终端根据该操作向服务器发送第二更新请求,该第二更新请求用于指示服务器反馈当前时刻对应的交互式数据,或者,该第二更新请求携带时间戳,该第二更新请求用于指示该服务器将该时间戳对应的交互式数据反馈至移动终端。The mobile terminal sends a second update request to the server according to the operation, where the second update request is used to instruct the server to feed back the interactive data corresponding to the current time, or the second update request carries a timestamp, and the second update request is used to indicate The server feeds back the interactive data corresponding to the timestamp to the mobile terminal.
移动终端接收服务器根据第二更新请求所发送的更新后的交互式数据。The mobile terminal receives the updated interactive data sent by the server according to the second update request.
本实施例中,由于交互式数据是随着时间发生改变的,一方面移动终端可以每隔预置时长主动地向服务器发送更新请求,另一方面,如果用户需要实时了解最新的交互式数据,用户可以向移动终端发送交互式数据的更新请求,移动终端在接收到更新请求后,移动终端将该更新请求发送给服务器,服务器接收到更新请求后,服务器更新交互式数据,服务器将更新后的交互 式数据发送给移动终端,从而用户了解到最新的交互式数据。In this embodiment, since the interactive data changes over time, on the one hand, the mobile terminal can actively send an update request to the server every preset time. On the other hand, if the user needs to know the latest interactive data in real time, The user may send an update request of the interactive data to the mobile terminal. After receiving the update request, the mobile terminal sends the update request to the server. After receiving the update request, the server updates the interactive data, and the server updates the updated data. The interactive data is sent to the mobile terminal so that the user knows the latest interactive data.
比如,以A应用为例,在第17分钟,用户的游戏好友在A应用中的游戏数据包括:击杀:5;死亡5;助攻6。经过3分钟后,在第20分钟,用户想要了解该游戏好友的最新游戏数据,用户可以点击游戏状态刷新按钮,从而移动终端显示更新后的游戏数据,比如更新后的游戏数据包括:击杀:7;死亡5;助攻6。需要说明的是,游戏数据还可以包括其他数据,此处不作限定。For example, taking the A application as an example, in the 17th minute, the game data of the user's game friend in the A application includes: kill: 5; death 5; assist 6 . After 3 minutes, in the 20th minute, the user wants to know the latest game data of the game friend, the user can click the game state refresh button, so that the mobile terminal displays the updated game data, for example, the updated game data includes: killing :7; death 5; assists 6. It should be noted that the game data may also include other data, which is not limited herein.
可选地,在本发明的一些实施例中,若移动终端为第一移动终端,则上述目标页面包含群组,该群组中包含多个对象,即可以支持多人聊天互动,该群组中展示的信息包含第一用户通过第一移动终端输入的第一信息和/或第二用户通过第二移动终端输入的第二信息,该第一信息和第二信息均为互动信息,该群组中的多个对象可以为具有好友关系链的对象,避免陌生用户加入,从而保证用户的隐私。Optionally, in some embodiments of the present invention, if the mobile terminal is the first mobile terminal, the target page includes a group, and the group includes multiple objects, that is, the multi-person chat interaction can be supported, the group The information displayed in the first information input by the first user by the first mobile terminal and/or the second information input by the second user through the second mobile terminal, the first information and the second information are interaction information, the group Multiple objects in a group can be objects with a friend relationship chain, so as to avoid strange users joining, thus ensuring user privacy.
移动终端接收第一用户在群组中输入的第一信息(互动信息),其中,第一信息包括但不限定于文本信息,图片信息,语音信息等。The mobile terminal receives the first information (interaction information) input by the first user in the group, where the first information includes but is not limited to text information, picture information, voice information, and the like.
所述移动终端将所述互动信息向所述服务器发送,以使所述服务器向所述多个对象中的每个对象对应的移动终端广播所述互动信息,所述互动信息显示于所述目标页面。以使得群组中的其他对象均能接收到该互动信息。Transmitting, by the mobile terminal, the interaction information to the server, so that the server broadcasts the interaction information to a mobile terminal corresponding to each of the plurality of objects, where the interaction information is displayed on the target page. So that other objects in the group can receive the interactive information.
本实施例中,用户在群组中输入的信息可以但不限于文字、图片及语音。应理解,该群组支持多个用户进行实时的聊天互动,从而增强了好友间的互动性。In this embodiment, the information input by the user in the group may be, but not limited to, text, pictures, and voice. It should be understood that the group supports multiple users for real-time chat interaction, thereby enhancing the interaction between friends.
需要说明的是,第一用户在群组中输入的文字和图片,都可以通过云消息的方式在群组内进行广播,其他进入该群组的用户(比如第二用户)可以看到第一用户所发送的文字和图片。It should be noted that the text and pictures input by the first user in the group can be broadcasted in the group by means of cloud messages, and other users entering the group (such as the second user) can see the first one. Text and images sent by the user.
上面从移动终端的角度对本发明实施例中的数据获取的方法进行了描述,下面从服务器的角度对本发明实施例中的数据获取的方法进行描述:The method for data acquisition in the embodiment of the present invention is described above from the perspective of a mobile terminal. The method for data acquisition in the embodiment of the present invention is described from the perspective of a server:
请参阅图8,本发明实施例中数据获取方法另一个实施例包括:Referring to FIG. 8, another embodiment of the data acquisition method in the embodiment of the present invention includes:
501、服务器接收移动终端发送的目标对象是否处于应用进行状态的查询请求;501. The server receives a query request that the target object sent by the mobile terminal is in an application progress state.
本实施例中,移动终端向服务器发送目标对象是否处于应用进行状态的查询请求,服务器根据该查询请求从数据库中获取目标对象的好友关系链,进而通过好友关系链获取目标对象的在线状态数据。In this embodiment, the mobile terminal sends a query request to the server whether the target object is in the application progress state, and the server acquires the friend relationship chain of the target object from the database according to the query request, and then acquires the online state data of the target object through the friend relationship chain.
502、当服务器根据查询请求确定目标对象处于应用进行状态时,服务器接收移动终端发送的第一请求消息,第一请求消息为移动终端响应对目标对象的数据查看入口的启动操作所发送的;502. When the server determines, according to the query request, that the target object is in an application progress state, the server receives a first request message sent by the mobile terminal, where the first request message is sent by the mobile terminal in response to a start operation of the data view entry of the target object;
本实施例中,当移动终端接收到对处于应用进行状态的目标对象的数据查看入口的启动操作时,移动终端响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息。In this embodiment, when the mobile terminal receives the start operation of the data view entry of the target object in the application progress state, the mobile terminal sends a message to the server in response to the start operation of the data view entry of the target object in the application progress state. A request message.
503、服务器根据第一请求消息确定目标对象与的应用交互所产生的交互式数据;503. The server determines, according to the first request message, the interactive data generated by the interaction between the target object and the application.
本实施例中,由于移动终端向服务器发送第一请求消息的触发条件为移动终端响应对处于应用进行状态的目标对象的数据查看入口的启动操作,所以服务器可以根据第一请求消息确定目标对象与的应用交互所产生的交互式数据。In this embodiment, because the trigger condition for the mobile terminal to send the first request message to the server is that the mobile terminal responds to the start operation of the data view entry of the target object in the application progress state, the server may determine the target object according to the first request message. The interactive data generated by the application interaction.
其中,交互式数据可以包括但不限于实时游戏对局信息。Among them, the interactive data may include, but is not limited to, real-time game game information.
504、服务器根据交互式数据创建目标页面,目标页面中包含交互式数据;504. The server creates a target page according to the interactive data, where the target page includes interactive data.
本实施例中,服务器在确定交互式数据后,服务器可以根据交互式数据创建目标页面。In this embodiment, after the server determines the interactive data, the server can create a target page according to the interactive data.
需要说明的是,若目标对象不处于应用进行状态,则服务器可以创建聊天窗口页面,该聊天窗口页面用于展示与目标对象进行互动的互动信息。It should be noted that if the target object is not in the application progress state, the server may create a chat window page, which is used to display interactive information for interacting with the target object.
505、服务器向移动终端发送目标页面。505. The server sends a target page to the mobile terminal.
本实施例中,在服务器创建目标页面后,服务器将该目标页面发送至移动终端。In this embodiment, after the server creates the target page, the server sends the target page to the mobile terminal.
本实施例中,服务器可以获取目标对象与的应用进行交互时,所产生的实时交互式数据,通过目标页面的形式将实时交互式数据发送给移动终端,从而用户可以在移动终端获取目标对象的实时交互式数据,进而提高了移动终端的围观功能的围观能力,提高了用户使用围观功能的时长。In this embodiment, the server may obtain real-time interactive data generated when the target object interacts with the application, and send real-time interactive data to the mobile terminal in the form of a target page, so that the user can acquire the target object in the mobile terminal. Real-time interactive data, which enhances the onlookers of the mobile terminal's onlookers and increases the length of time users use the onlookers.
可选地,在本发明的一些实施例中,上述服务器向移动终端发送目标页面包括:Optionally, in some embodiments of the present invention, the sending, by the server, the target page to the mobile terminal includes:
服务器向移动终端发送目标页面的标识ID;The server sends the identification ID of the target page to the mobile terminal;
上述服务器向移动终端发送目标页面的目标标识ID之前包括:Before the foregoing server sends the target identification ID of the target page to the mobile terminal, the method includes:
服务器接收移动终端发送的第二请求消息,第二请求消息用于请求目标页面的标识ID;Receiving, by the server, a second request message sent by the mobile terminal, where the second request message is used to request an identifier ID of the target page;
服务器根据第二请求消息为目标页面分配标识ID。The server assigns an identification ID to the target page according to the second request message.
本实施例中,移动终端会先去向服务器请求目标页面的标识(Identity,ID),此时服务器创建对应该目标页面的唯一ID,将标识ID下发给移动终端。可以理解,移动终端在接收到标识ID后,移动终端可以根据ID跳转到目标页面。In this embodiment, the mobile terminal first requests the identifier (Identity, ID) of the target page from the server, and the server creates a unique ID corresponding to the target page, and sends the identifier ID to the mobile terminal. It can be understood that after receiving the identification ID, the mobile terminal can jump to the target page according to the ID.
本实施例中,服务器将目标页面的标识ID发送给移动终端,移动终端根据接收到的标识ID确定目标页面,进而显示目标页面。由于服务器发送目标ID所需的带宽资源远小于服务器发送目标页面所需的带宽资源,所以采用这种方法能够节省带宽资源。In this embodiment, the server sends the identifier ID of the target page to the mobile terminal, and the mobile terminal determines the target page according to the received identifier ID, thereby displaying the target page. Since the bandwidth resource required for the server to send the target ID is much smaller than the bandwidth resource required by the server to send the target page, this method can save bandwidth resources.
可选地,在本发明的一些实施例中,上述服务器向移动终端发送目标页面之后还包括:Optionally, in some embodiments of the present invention, after the server sends the target page to the mobile terminal, the method further includes:
服务器接收移动终端发送的交互式数据的更新请求;The server receives an update request for the interactive data sent by the mobile terminal;
服务器根据更新请求更新交互式数据;The server updates the interactive data according to the update request;
服务器将更新后的交互式数据发送给移动终端。The server sends the updated interactive data to the mobile terminal.
本实施例中,由于交互式数据是随着时间发生改变的,如果用户需要实时了解最新的交互式数据,用户可以向移动终端发送交互式数据的更新请求,移动终端在接收到更新请求后,移动终端将该更新请求发送给服务器,服务器接收到更新请求后,服务器更新交互式数据,服务器将更新后的交互式数据发送给移动终端,从而用户了解到最新的交互式数据。In this embodiment, since the interactive data changes over time, if the user needs to know the latest interactive data in real time, the user may send an update request of the interactive data to the mobile terminal, and after receiving the update request, the mobile terminal receives the update request. The mobile terminal sends the update request to the server. After receiving the update request, the server updates the interactive data, and the server sends the updated interactive data to the mobile terminal, so that the user knows the latest interactive data.
上面分别从移动终端和服务器的角度对本发明实施例中的数据获取的方法进行了描述,下面从移动终端和服务器交互的角度对本发明实施例中的数据获取的方法进行描述。The method for data acquisition in the embodiment of the present invention is described above from the perspective of the mobile terminal and the server. The method for data acquisition in the embodiment of the present invention is described below from the perspective of interaction between the mobile terminal and the server.
请参阅图9,本发明实施例中数据获取方法另一个实施例包括:Referring to FIG. 9, another embodiment of the data acquisition method in the embodiment of the present invention includes:
601、移动终端响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息;601. The mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application.
602、服务器根据第一请求消息确定目标对象与应用交互所产生的交互式数据;602. The server determines, according to the first request message, interactive data generated by the target object interacting with the application.
603、服务器根据交互式数据创建目标页面;603. The server creates a target page according to the interactive data.
604、服务器向移动终端发送目标页面;604. The server sends a target page to the mobile terminal.
605、移动终端显示目标页面。605. The mobile terminal displays the target page.
本实施例中,步骤601至步骤605中移动终端和服务器的具体描述可以参见前述图7所示实施例中的移动终端的描述以及图8所示实施例中的服务器的描述,此处不再赘述。For the detailed description of the mobile terminal and the server in the step 601 to the step 605, refer to the description of the mobile terminal in the foregoing embodiment shown in FIG. 7 and the description of the server in the embodiment shown in FIG. .
本实施例中,服务器可以获取目标对象与应用交互所产生的实时交互式数据,通过目标页面的形式将实时交互式数据发送给移动终端,从而用户可以在移动终端获取目标对象的实时交互式数据,进而提高了移动终端的围观功能的围观能力,提高了用户使用围观功能的时长。In this embodiment, the server may acquire real-time interactive data generated by the interaction between the target object and the application, and send real-time interactive data to the mobile terminal in the form of the target page, so that the user can acquire real-time interactive data of the target object in the mobile terminal. In addition, the on-the-go capability of the on-the-go function of the mobile terminal is improved, and the duration of the user's use of the on-the-go function is improved.
上面通过具体实施例介绍了本发明实施例中的数据获取方法,下面通过实施例介绍本发明实施例中的移动终端,请参阅图10,本发明实施例中移动终端一个实施例包括:The data acquisition method in the embodiment of the present invention is described above by using a specific embodiment. The following describes the mobile terminal in the embodiment of the present invention by using an embodiment. Referring to FIG. 10, an embodiment of the mobile terminal in the embodiment of the present invention includes:
第一发送模块701,用于响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,第一请求消息用于指示服务器确定目标对象与应用交互所产生的交互式数据;The first sending module 701 is configured to send a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine that the target object is generated by interacting with the application. Interactive data
第一接收模块702,用于接收服务器发送的目标页面,目标页面中包含交互式数据,目标页面为服务器根据第一请求消息所创建的;The first receiving module 702 is configured to receive a target page sent by the server, where the target page includes interactive data, where the target page is created by the server according to the first request message;
显示模块703,用于显示目标页面。The display module 703 is configured to display a target page.
本实施例中,服务器可以获取目标对象与应用交互所产生的实时交互式数据,通过目标页面的形式将实时交互式数据发送给移动终端,从而用户可以在移动终端获取目标对象的实时交互式数据,进而提高了移动终端的围观功能的围观能力,提高了用户使用围观功能的时长。In this embodiment, the server may acquire real-time interactive data generated by the interaction between the target object and the application, and send real-time interactive data to the mobile terminal in the form of the target page, so that the user can acquire real-time interactive data of the target object in the mobile terminal. In addition, the on-the-go capability of the on-the-go function of the mobile terminal is improved, and the duration of the user's use of the on-the-go function is improved.
可选的,如图11所示,在本发明的一个可选实施例中,移动终端还可以包括:Optionally, as shown in FIG. 11, in an optional embodiment of the present invention, the mobile terminal may further include:
第二发送模块801,用于在第一接收模块702接收服务器发送的目标页面之前,向服务器发送第二请求消息,第二请求消息用于请求目标页面的标识ID;The second sending module 801 is configured to send a second request message to the server before the first receiving module 702 receives the target page sent by the server, where the second request message is used to request the identifier ID of the target page;
第一接收模块702,具体用于接收服务器发送的目标页面的标识ID,标识ID为服务器根据第二请求消息为目标页面所分配的。The first receiving module 702 is specifically configured to receive an identifier ID of the target page sent by the server, where the identifier ID is allocated by the server according to the second request message.
可选的,如图12所示,在本发明的一个可选实施例中,移动终端还可以包括:Optionally, as shown in FIG. 12, in an optional embodiment of the present invention, the mobile terminal may further include:
第三发送模块901,用于在显示模块703显示目标页面之后,向服务器发送交互式数据的第一更新请求;The third sending module 901 is configured to send a first update request of the interactive data to the server after the display module 703 displays the target page;
第二接收模块902,用于接收服务器根据第一更新请求所发送的更新后的交互式数据;或,a second receiving module 902, configured to receive updated interactive data sent by the server according to the first update request; or
第三接收模块903,用于接收用于更新交互式数据的操作;a third receiving module 903, configured to receive an operation for updating the interactive data;
第四发送模块904,用于根据所述更新所述交互式数据的操作向服务器发送第二更新请求;The fourth sending module 904 is configured to send a second update request to the server according to the operation of updating the interactive data;
第四接收模块905,用于接收服务器根据第二更新请求所发送的更新后的交互式数据。The fourth receiving module 905 is configured to receive updated interactive data sent by the server according to the second update request.
进一步的,若移动终端为第一移动终端,则上述目标页面包含群组,群组支持多人聊天互动,群组中展示的信息包含第一用户通过第一移动终端输入的第一信息和/或第二用户通过第二移动终端输入的第二信息,移动终端还可以包括:Further, if the mobile terminal is the first mobile terminal, the target page includes a group, and the group supports multi-person chat interaction, and the information displayed in the group includes the first information input by the first user through the first mobile terminal and/or Or the second information that is input by the second user by using the second mobile terminal, the mobile terminal may further include:
第五接收模块906,用于接收输入的互动信息;a fifth receiving module 906, configured to receive input interactive information;
广播模块907,用于将所述互动信息向所述服务器发送,以使所述服务器向所述多个对象中的每个对象对应的移动终端广播所述互动信息,所述互动信息显示于所述目标页面。The broadcast module 907 is configured to send the interaction information to the server, so that the server broadcasts the interaction information to a mobile terminal corresponding to each of the plurality of objects, where the interaction information is displayed in the The target page.
上面从模块化功能实体的角度对本发明实施例中的移动终端进行了描述,下面从硬件处理的角度对本发明实施例中的移动终端进行描述,请参阅图13,本发明实施例中的移动终端包括:收发器、处理器1003以及存储器1004,收发器包括发射器1001和接收器1002。The mobile terminal in the embodiment of the present invention is described above from the perspective of a modular functional entity. The following describes the mobile terminal in the embodiment of the present invention from the perspective of hardware processing. Referring to FIG. 13, the mobile terminal in the embodiment of the present invention is described. The transceiver includes a transceiver, a processor 1003, and a memory 1004. The transceiver includes a transmitter 1001 and a receiver 1002.
本发明实施例涉及的移动终端可以具有比图13所示出的更多或更少的部 件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设备,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。The mobile terminal according to an embodiment of the present invention may have more or less components than those shown in FIG. 13, may combine two or more components, or may have different component configurations or devices, and each component may include Hardware, software, or a combination of hardware and software implementations of one or more signal processing and/or application specific integrated circuits.
发射器1001用于执行如下操作:The transmitter 1001 is configured to perform the following operations:
响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,第一请求消息用于指示服务器确定目标对象与应用交互所产生的交互式数据;And responding to the startup operation of the data view entry of the target object in the state of the application, sending a first request message to the server, where the first request message is used to instruct the server to determine the interactive data generated by the target object interacting with the application;
接收器1002用于执行如下操作:The receiver 1002 is configured to perform the following operations:
接收服务器发送的目标页面,目标页面中包含交互式数据,目标页面为服务器根据第一请求消息所创建的;Receiving a target page sent by the server, where the target page contains interactive data, and the target page is created by the server according to the first request message;
处理器1003用于执行如下操作:The processor 1003 is configured to perform the following operations:
显示目标页面;Display the target page;
存储器1004用于存储处理器1003执行相应的操作所需要的指令。The memory 1004 is used to store instructions required by the processor 1003 to perform corresponding operations.
本实施例中,服务器可以获取目标对象与应用交互所产生的实时交互式数据,通过目标页面的形式将实时交互式数据发送给移动终端,从而用户可以在移动终端获取目标对象的实时交互式数据,进而提高了移动终端的围观功能的围观能力,提高了用户使用围观功能的时长。In this embodiment, the server may acquire real-time interactive data generated by the interaction between the target object and the application, and send real-time interactive data to the mobile terminal in the form of the target page, so that the user can acquire real-time interactive data of the target object in the mobile terminal. In addition, the on-the-go capability of the on-the-go function of the mobile terminal is improved, and the duration of the user's use of the on-the-go function is improved.
可选的,发射器1001还用于执行如下操作:Optionally, the transmitter 1001 is further configured to perform the following operations:
向服务器发送第二请求消息,第二请求消息用于请求目标页面的标识ID;Sending a second request message to the server, where the second request message is used to request an identifier ID of the target page;
相应的,接收器1002具体用于执行如下操作:Correspondingly, the receiver 1002 is specifically configured to perform the following operations:
接收服务器发送的目标页面的标识ID,标识ID为服务器根据第二请求消息为目标页面所分配的。And receiving an identifier ID of the target page sent by the server, where the identifier ID is allocated by the server according to the second request message.
可选的,发射器1001还用于执行如下操作:Optionally, the transmitter 1001 is further configured to perform the following operations:
向服务器发送交互式数据的第一更新请求;Sending a first update request for interactive data to the server;
相应的,接收器1002还用于执行如下操作:Correspondingly, the receiver 1002 is further configured to perform the following operations:
接收服务器根据第一更新请求所发送的更新后的交互式数据。The updated interactive data sent by the receiving server according to the first update request.
可选的,接收器1002还用于执行如下操作:Optionally, the receiver 1002 is further configured to perform the following operations:
接收用户发送的交互式数据的第二更新请求;Receiving a second update request of interactive data sent by the user;
相应的,发射器1001还用于执行如下操作:Correspondingly, the transmitter 1001 is further configured to perform the following operations:
向服务器发送第二更新请求;Sending a second update request to the server;
接收器1002还用于执行如下操作:The receiver 1002 is further configured to perform the following operations:
接收服务器根据第二更新请求所发送的更新后的交互式数据。The updated interactive data sent by the receiving server according to the second update request.
可选的,若移动终端为第一移动终端,则上述目标页面包含群组,群组支持多人聊天互动,群组中展示的信息包含第一用户通过第一移动终端输入的第一信息和/或第二用户通过第二移动终端输入的第二信息,接收器1002还用于执行如下操作:Optionally, if the mobile terminal is the first mobile terminal, the target page includes a group, and the group supports multi-person chat interaction, and the information displayed in the group includes the first information input by the first user through the first mobile terminal, and / or the second information input by the second user through the second mobile terminal, the receiver 1002 is further configured to perform the following operations:
接收第一用户在群组中输入的第一信息,其中,第一信息包括如下至少一种:文字和图片;Receiving, by the first user, the first information input in the group, where the first information includes at least one of the following: a text and a picture;
发射器1001还用于执行如下操作:The transmitter 1001 is also used to perform the following operations:
在群组中广播第一信息,以便第二用户获取第一信息。The first information is broadcast in the group so that the second user obtains the first information.
本发明实施例还提供一种移动终端,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。以移动终端为手机为例:The embodiment of the present invention further provides a mobile terminal. For the convenience of description, only parts related to the embodiment of the present invention are shown. For details that are not disclosed, refer to the method part of the embodiment of the present invention. Take the mobile terminal as a mobile phone as an example:
图14示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图14,手机包括:射频(Radio Frequency,RF)电路1110、存储器1120、输入单元1130、显示单元1140、传感器1150、音频电路1160、无线保真(wireless fidelity,WiFi)模块1170、处理器1180、以及电源1190等部件。本领域技术人员可以理解,图14中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 14 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. Referring to FIG. 14 , the mobile phone includes: a radio frequency (RF) circuit 1110 , a memory 1120 , an input unit 1130 , a display unit 1140 , a sensor 1150 , an audio circuit 1160 , a wireless fidelity (WiFi) module 1170 , and a processor 1180 . And power supply 1190 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 14 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
下面结合图14对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 14:
RF电路1110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1180处理;另外,将设计上行的数据发送给基站。通常,RF电路1110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global  System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 1180; in addition, transmitting the designed uplink data to the base station. Generally, RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 1110 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1120 can be used to store software programs and modules, and the processor 1180 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元1130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1130可包括触控面板1131以及其他输入设备1132。触控面板1131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1131上或在触控面板1131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1180,并能接收处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1131。除了触控面板1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. The touch panel 1131, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 1131 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1180 is provided and can receive commands from the processor 1180 and execute them. In addition, the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1131, the input unit 1130 may also include other input devices 1132. Specifically, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1140可包括显示面板1141,可选的,可以采用液晶 显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1141。进一步的,触控面板1131可覆盖显示面板1141,当触控面板1131检测到在其上或附近的触摸操作后,传送给处理器1180以确定触摸事件的类型,随后处理器1180根据触摸事件的类型在显示面板1141上提供相应的视觉输出。虽然在图14中,触控面板1131与显示面板141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1131与显示面板1141集成而实现手机的输入和输出功能。The display unit 1140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 1140 may include a display panel 1141. Alternatively, the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141. After the touch panel 1131 detects a touch operation thereon or nearby, the touch panel 1131 transmits to the processor 1180 to determine the type of the touch event, and then the processor 1180 according to the touch event. The type provides a corresponding visual output on the display panel 1141. Although the touch panel 1131 and the display panel 141 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 14 , in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated. Realize the input and output functions of the phone.
手机还可包括至少一种传感器1150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1141 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路1160、扬声器1161,传声器162可提供用户与手机之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110以发送给比如另一手机,或者将音频数据输出至存储器1120以便进一步处理。An audio circuit 1160, a speaker 1161, and a microphone 162 can provide an audio interface between the user and the handset. The audio circuit 1160 can transmit the converted electrical data of the received audio data to the speaker 1161, and convert it into a sound signal output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After receiving, it is converted into audio data, and then processed by the audio data output processor 1180, transmitted to the other mobile phone via the RF circuit 1110, or outputted to the memory 1120 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图14示出了WiFi模块1170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 1170, which provides users with wireless broadband Internet access. Although FIG. 14 shows the WiFi module 1170, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器1180是手机的控制中心,利用各种接口和线路连接整个手机的各 个部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1180可包括一个或多个处理单元;优选的,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。The processor 1180 is a control center for the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1120, and invoking data stored in the memory 1120, The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1180.
手机还包括给各个部件供电的电源1190(比如电池),优选的,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The handset also includes a power source 1190 (such as a battery) that powers the various components. Preferably, the power source can be logically coupled to the processor 1180 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
下面通过实施例介绍本发明实施例中的服务器,请参阅图15,本发明实施例中服务器一个实施例包括:The following describes the server in the embodiment of the present invention by using an embodiment. Referring to FIG. 15, an embodiment of the server in the embodiment of the present invention includes:
第一接收模块1201,用于接收移动终端发送的目标对象是否处于应用进行状态的查询请求;The first receiving module 1201 is configured to receive a query request that the target object sent by the mobile terminal is in an application progress state;
第二接收模块1202,用于当根据查询请求确定目标对象处于应用进行状态时,接收移动终端发送的第一请求消息,第一请求消息为移动终端响应对目标对象的数据查看入口的启动操作所发送的;The second receiving module 1202 is configured to receive a first request message sent by the mobile terminal when determining that the target object is in an application progress state according to the query request, where the first request message is a start operation of the data view entry of the mobile terminal in response to the target object Sent
确定模块1203,用于根据第一请求消息确定目标对象与所注册的应用交互所产生的交互式数据;a determining module 1203, configured to determine, according to the first request message, interactive data generated by the target object interacting with the registered application;
第一创建模块1204,用于根据交互式数据创建目标页面,目标页面中包含交互式数据;a first creating module 1204, configured to create a target page according to the interactive data, where the target page includes interactive data;
第一发送模块1205,用于向移动终端发送目标页面。The first sending module 1205 is configured to send a target page to the mobile terminal.
本实施例中,由于交互式数据是随着时间发生改变的,如果用户需要实时了解最新的交互式数据,用户可以向移动终端发送交互式数据的更新请求,移动终端在接收到更新请求后,移动终端将该更新请求发送给服务器,服务器接收到更新请求后,服务器更新交互式数据,服务器将更新后的交互式数据发送给移动终端,从而用户了解到最新的交互式数据。In this embodiment, since the interactive data changes over time, if the user needs to know the latest interactive data in real time, the user may send an update request of the interactive data to the mobile terminal, and after receiving the update request, the mobile terminal receives the update request. The mobile terminal sends the update request to the server. After receiving the update request, the server updates the interactive data, and the server sends the updated interactive data to the mobile terminal, so that the user knows the latest interactive data.
可选的,在本发明的一个可选实施例中,第一发送模块1205,具体用于向移动终端发送目标页面的标识ID;Optionally, in an optional embodiment of the present invention, the first sending module 1205 is specifically configured to send, to the mobile terminal, an identifier ID of the target page;
相应的,如图16所示,服务器还可以包括:Correspondingly, as shown in FIG. 16, the server may further include:
第三接收模块1301,用于在第一发送模块1205向移动终端发送目标页面的标识ID之前,接收移动终端发送的第二请求消息,第二请求消息用于请求目标页面的标识ID;The third receiving module 1301 is configured to receive a second request message sent by the mobile terminal before the first sending module 1205 sends the identifier ID of the target page to the mobile terminal, where the second request message is used to request the identifier ID of the target page;
分配模块1302,用于根据第二请求消息为目标页面分配标识ID。The allocating module 1302 is configured to allocate an identifier ID to the target page according to the second request message.
可选的,在本发明的一个可选实施例中,如图17所示,服务器还可以包括:Optionally, in an optional embodiment of the present invention, as shown in FIG. 17, the server may further include:
第二创建模块1401,用于在目标页面中创建支持多人聊天互动的群组,群组包含具有好友关系链的多个对象。The second creating module 1401 is configured to create a group supporting a multi-person chat interaction in the target page, where the group includes multiple objects having a friend relationship chain.
进一步的,服务器还可以包括:Further, the server may further include:
第四接收模块1402,用于在第一发送模块1205向移动终端发送目标页面之后,接收移动终端发送的交互式数据的更新请求;The fourth receiving module 1402 is configured to receive an update request of the interactive data sent by the mobile terminal after the first sending module 1205 sends the target page to the mobile terminal;
更新模块1403,用于根据更新请求更新交互式数据;An update module 1403, configured to update the interactive data according to the update request;
第二发送模块1404,用于将更新后的交互式数据发送给移动终端。The second sending module 1404 is configured to send the updated interactive data to the mobile terminal.
上面从模块化功能实体的角度对本发明实施例中的服务器进行了描述,下面从硬件处理的角度对本发明实施例中的服务器进行描述,请参阅图18,本发明实施例中的服务器包括:接收器1501、处理器1502、发射器1503以及存储器1504。The server in the embodiment of the present invention is described above from the perspective of a modular functional entity. The server in the embodiment of the present invention is described from the perspective of hardware processing. Referring to FIG. 18, the server in the embodiment of the present invention includes: receiving The device 1501, the processor 1502, the transmitter 1503, and the memory 1504.
本发明实施例涉及的服务器可以具有比图18所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设备,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。The server according to an embodiment of the present invention may have more or less components than those shown in FIG. 18, may combine two or more components, or may have different component configurations or devices, and each component may include one Hardware, software, or a combination of hardware and software, including multiple signal processing and/or application specific integrated circuits.
接收器1501用于执行如下操作:The receiver 1501 is configured to perform the following operations:
接收移动终端发送的目标对象是否处于应用进行状态的查询请求;Receiving a query request that the target object sent by the mobile terminal is in an application progress state;
当根据查询请求确定目标对象处于应用进行状态时,接收移动终端发送的第一请求消息,第一请求消息为移动终端响应对目标对象的数据查看入口的启动操作所发送的;Receiving, by the query request, that the target object is in an application progress state, receiving a first request message sent by the mobile terminal, where the first request message is sent by the mobile terminal in response to a start operation of the data view entry of the target object;
处理器1502用于执行如下操作:根据第一请求消息确定目标对象与所注册的应用交互所产生的交互式数据;根据交互式数据创建目标页面,目标页 面中包含交互式数据;The processor 1502 is configured to: determine, according to the first request message, the interactive data generated by the target object interacting with the registered application; create a target page according to the interactive data, where the target page includes the interactive data;
发射器1503用于执行如下操作:The transmitter 1503 is configured to perform the following operations:
向移动终端发送目标页面;Sending a target page to the mobile terminal;
存储器1504用于存储处理器1502执行相应的操作所需要的指令。The memory 1504 is used to store instructions required by the processor 1502 to perform corresponding operations.
本实施例中,由于交互式数据是随着时间发生改变的,如果用户需要实时了解最新的交互式数据,用户可以向移动终端发送交互式数据的更新请求,移动终端在接收到更新请求后,移动终端将该更新请求发送给服务器,服务器接收到更新请求后,服务器更新交互式数据,服务器将更新后的交互式数据发送给移动终端,从而用户了解到最新的交互式数据。In this embodiment, since the interactive data changes over time, if the user needs to know the latest interactive data in real time, the user may send an update request of the interactive data to the mobile terminal, and after receiving the update request, the mobile terminal receives the update request. The mobile terminal sends the update request to the server. After receiving the update request, the server updates the interactive data, and the server sends the updated interactive data to the mobile terminal, so that the user knows the latest interactive data.
可选的,发射器1503还用于执行如下操作:Optionally, the transmitter 1503 is further configured to perform the following operations:
向移动终端发送目标页面的目标标识ID;Sending a target identification ID of the target page to the mobile terminal;
相应的,接收器1501还用于执行如下操作:Correspondingly, the receiver 1501 is further configured to perform the following operations:
接收移动终端发送的第二请求消息,第二请求消息用于请求目标页面的ID;Receiving a second request message sent by the mobile terminal, where the second request message is used to request an ID of the target page;
处理器1502还用于执行如下操作:The processor 1502 is further configured to perform the following operations:
根据第二请求消息为目标页面分配目标ID。The target page is assigned a target ID according to the second request message.
可选的,处理器1502还用于执行如下操作:Optionally, the processor 1502 is further configured to perform the following operations:
在目标页面中创建支持多人聊天互动的群组。Create a group that supports multi-person chat interactions in the target page.
进一步的,接收器1501还用于执行如下操作:接收移动终端发送的交互式数据的更新请求;Further, the receiver 1501 is further configured to: receive an update request of the interactive data sent by the mobile terminal;
相应的,处理器1502还用于执行如下操作:Correspondingly, the processor 1502 is further configured to perform the following operations:
根据更新请求更新交互式数据;Update interactive data based on update requests;
相应的,发射器1503还用于执行如下操作:Correspondingly, the transmitter 1503 is further configured to perform the following operations:
将更新后的交互式数据发送给移动终端。The updated interactive data is sent to the mobile terminal.
本发明实施例还提供一种服务器,图19是本发明实施例提供的一种服务器结构示意图,该服务器1600可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1601(例如,一个或一个以上处理器)和存储器1602,一个或一个以上存储应用程序1603或数据1604的存储介质1605(例如一个或一个以上海量存储设备)。其 中,存储器1602和存储介质1605可以是短暂存储或持久存储。存储在存储介质1605的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1601可以设置为与存储介质1605通信,在服务器1600上执行存储介质1602中的一系列指令操作。The embodiment of the present invention further provides a server. FIG. 19 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 1600 may generate a large difference due to different configurations or performances, and may include one or more central processing units. (central processing units, CPU) 1601 (eg, one or more processors) and memory 1602, one or more storage media 1605 that store application 1603 or data 1604 (eg, one or one storage device in Shanghai). Among them, the memory 1602 and the storage medium 1605 may be short-term storage or persistent storage. The program stored on storage medium 1605 can include one or more modules (not shown), each of which can include a series of instruction operations in the server. Still further, central processor 1601 can be configured to communicate with storage medium 1605, executing a series of instruction operations in storage medium 1602 on server 1600.
服务器1600还可以包括一个或一个以上电源1606,一个或一个以上有线或无线网络接口1607,一个或一个以上输入输出接口1608,和/或,一个或一个以上操作系统1609,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Server 1600 may also include one or more power sources 1606, one or more wired or wireless network interfaces 1607, one or more input and output interfaces 1608, and/or one or more operating systems 1609, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
上述实施例中由服务器所执行的步骤可以基于该图19所示的服务器结构。The steps performed by the server in the above embodiment may be based on the server structure shown in FIG.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (22)

  1. 一种数据获取方法,其特征在于,包括:A data acquisition method, comprising:
    移动终端响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,所述第一请求消息用于指示服务器确定所述目标对象与所述应用交互所产生的交互式数据;The mobile terminal sends a first request message to the server in response to the start operation of the data view entry of the target object in the state of the application, where the first request message is used to instruct the server to determine that the target object is generated by interaction with the application. Interactive data
    所述移动终端接收所述服务器发送的目标页面,所述目标页面中包含所述交互式数据,所述目标页面为所述服务器根据所述第一请求消息所创建的;Receiving, by the mobile terminal, a target page that is sent by the server, where the target page includes the interactive data, where the target page is created by the server according to the first request message;
    所述移动终端显示所述目标页面。The mobile terminal displays the target page.
  2. 根据权利要求1所述的方法,其特征在于,所述移动终端接收所述服务器发送的目标页面之前包括:The method according to claim 1, wherein the receiving, by the mobile terminal, the target page sent by the server comprises:
    所述移动终端向所述服务器发送第二请求消息,所述第二请求消息用于请求所述目标页面的标识ID;The mobile terminal sends a second request message to the server, where the second request message is used to request an identifier ID of the target page;
    所述移动终端接收所述服务器发送的目标页面包括:Receiving, by the mobile terminal, the target page sent by the server includes:
    所述移动终端接收所述服务器发送的所述标识ID,所述标识ID为所述服务器根据所述第二请求消息为所述目标页面所分配的。The mobile terminal receives the identifier ID sent by the server, and the identifier ID is allocated by the server to the target page according to the second request message.
  3. 根据权利要求1所述的方法,其特征在于,所述移动终端显示所述目标页面之后还包括:The method according to claim 1, wherein the displaying, by the mobile terminal after the target page, further comprises:
    所述移动终端向所述服务器发送所述交互式数据的第一更新请求;Sending, by the mobile terminal, a first update request of the interactive data to the server;
    所述移动终端接收所述服务器根据所述第一更新请求所发送的更新后的交互式数据。The mobile terminal receives updated interactive data sent by the server according to the first update request.
  4. 根据权利要求1所述的方法,其特征在于,所述移动终端显示所述目标页面之后还包括:The method according to claim 1, wherein the displaying, by the mobile terminal after the target page, further comprises:
    所述移动终端接收用于更新所述交互式数据的操作;The mobile terminal receives an operation for updating the interactive data;
    所述移动终端根据所述更新所述交互式数据的操作向所述服务器发送所述第二更新请求;The mobile terminal sends the second update request to the server according to the operation of updating the interactive data;
    所述移动终端接收所述服务器根据所述第二更新请求所发送的更新后的交互式数据。The mobile terminal receives updated interactive data sent by the server according to the second update request.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述目标页面包含群组,所述群组包含具有好友关系链的多个对象所述方法还包括:The method according to any one of claims 1 to 4, wherein the target page includes a group, and the group includes a plurality of objects having a chain of friend relationships. The method further includes:
    所述移动终端接收输入的互动信息;The mobile terminal receives the input interactive information;
    所述移动终端将所述互动信息向所述服务器发送,以使所述服务器向所述多个对象中的每个对象对应的移动终端广播所述互动信息,所述互动信息显示于所述目标页面。Transmitting, by the mobile terminal, the interaction information to the server, so that the server broadcasts the interaction information to a mobile terminal corresponding to each of the plurality of objects, where the interaction information is displayed on the target page.
  6. 一种数据获取的方法,其特征在于,包括:A method for data acquisition, comprising:
    服务器接收移动终端发送的目标对象是否处于应用进行状态的查询请求;Receiving, by the server, a query request that the target object sent by the mobile terminal is in an application progress state;
    当所述服务器根据所述查询请求确定所述目标对象处于应用进行状态时,所述服务器接收移动终端发送的第一请求消息,所述第一请求消息为所述移动终端响应对目标对象的数据查看入口的启动操作所发送的;When the server determines, according to the query request, that the target object is in an application progress state, the server receives a first request message sent by the mobile terminal, where the first request message is that the mobile terminal responds to data of the target object. View the send operation sent by the portal;
    所述服务器根据所述第一请求消息确定所述目标对象与所述应用交互所产生的交互式数据;Determining, by the server, the interactive data generated by the target object interacting with the application according to the first request message;
    所述服务器根据所述交互式数据创建目标页面,所述目标页面中包含所述交互式数据;The server creates a target page according to the interactive data, where the target page includes the interactive data;
    所述服务器向所述移动终端发送所述目标页面。The server sends the target page to the mobile terminal.
  7. 根据权利要求6所述的方法,其特征在于,所述服务器向所述移动终端发送所述目标页面之前,所述方法包括:The method according to claim 6, wherein before the server sends the target page to the mobile terminal, the method includes:
    所述服务器接收所述移动终端发送的第二请求消息;Receiving, by the server, a second request message sent by the mobile terminal;
    所述服务器根据所述第二请求消息为所述目标页面分配所述标识ID;The server allocates the identifier ID to the target page according to the second request message;
    所述服务器向所述移动终端发送所述标识ID,以使所述移动终端根据所述标识ID获取所述目标页面。Sending, by the server, the identifier ID to the mobile terminal, so that the mobile terminal acquires the target page according to the identifier ID.
  8. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    所述服务器在所述目标页面中创建群组,所述群组包含具有好友关系链的多个对象。The server creates a group in the target page, the group including a plurality of objects having a chain of buddy relationships.
  9. 根据权利要求6至8任一项所述的方法,其特征在于,所述服务器向所述移动终端发送所述目标页面之后还包括:The method according to any one of claims 6 to 8, wherein after the server sends the target page to the mobile terminal, the method further comprises:
    所述服务器接收所述移动终端发送的所述交互式数据的更新请求;Receiving, by the server, an update request of the interactive data sent by the mobile terminal;
    所述服务器根据所述更新请求将更新后的交互式数据发送给所述移动终端。The server sends the updated interactive data to the mobile terminal according to the update request.
  10. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    第一发送模块,用于响应对处于应用进行状态的目标对象的数据查看入口的启动操作,向服务器发送第一请求消息,所述第一请求消息用于指示服务器确定所述目标对象与所述应用交互所产生的交互式数据;a first sending module, configured to send a first request message to the server, in response to the start operation of the data view entry of the target object in the state of the application, the first request message is used to instruct the server to determine the target object and the Interactive data generated by application interaction;
    第一接收模块,用于接收所述服务器发送的目标页面,所述目标页面中包含所述交互式数据,所述目标页面为所述服务器根据所述第一请求消息所创建的;a first receiving module, configured to receive a target page sent by the server, where the target page includes the interactive data, where the target page is created by the server according to the first request message;
    显示模块,用于显示所述目标页面。A display module for displaying the target page.
  11. 根据权利要求10所述的移动终端,其特征在于,所述移动终端还包括:The mobile terminal according to claim 10, wherein the mobile terminal further comprises:
    第二发送模块,用于在所述第一接收模块接收所述服务器发送的目标页面之前,向所述服务器发送第二请求消息,所述第二请求消息用于请求所述目标页面的标识ID;a second sending module, configured to send, to the server, a second request message, where the second request message is used to request an identifier ID of the target page, before the first receiving module receives the target page sent by the server ;
    所述第一接收模块,具体用于接收所述服务器发送的所述标识ID,所述标识ID为所述服务器根据所述第二请求消息为所述目标页面所分配的。The first receiving module is configured to receive the identifier ID sent by the server, where the identifier ID is allocated by the server according to the second request message to the target page.
  12. 根据权利要求10所述的移动终端,其特征在于,所述移动终端还包括:The mobile terminal according to claim 10, wherein the mobile terminal further comprises:
    第三发送模块,用于在所述显示模块显示所述目标页面之后,向所述服务器发送所述交互式数据的第一更新请求;a third sending module, configured to send a first update request of the interactive data to the server after the display module displays the target page;
    第二接收模块,用于接收所述服务器根据所述第一更新请求所发送的更新后的交互式数据。The second receiving module is configured to receive the updated interactive data sent by the server according to the first update request.
  13. 根据权利要求10所述的移动终端,其特征在于,所述移动终端还包括:The mobile terminal according to claim 10, wherein the mobile terminal further comprises:
    第三接收模块,用于接收用于更新所述交互式数据的操作;a third receiving module, configured to receive an operation for updating the interactive data;
    第四发送模块,用于根据所述更新所述交互式数据的操作向所述服务器发送第二更新请求;a fourth sending module, configured to send a second update request to the server according to the operation of updating the interactive data;
    第四接收模块,用于接收所述服务器根据所述第二更新请求所发送的更新后的交互式数据。The fourth receiving module is configured to receive the updated interactive data sent by the server according to the second update request.
  14. 根据权利要求10至13任一项所述的移动终端,其特征在于,所述目标页面包含群组,所述群组包含多个对象,所述移动终端还包括:The mobile terminal according to any one of claims 10 to 13, wherein the target page comprises a group, the group comprises a plurality of objects, and the mobile terminal further comprises:
    第五接收模块,用于接收输入的互动信息;a fifth receiving module, configured to receive input interactive information;
    广播模块,用于将所述互动信息向所述服务器发送,以使所述服务器向所述多个对象中的每个对象对应的移动终端广播所述互动信息,所述互动信息显示于所述目标页面。a broadcast module, configured to send the interaction information to the server, so that the server broadcasts the interaction information to a mobile terminal corresponding to each of the plurality of objects, where the interaction information is displayed on the Target page.
  15. 一种服务器,其特征在于,包括:A server, comprising:
    第一接收模块,用于接收移动终端发送的目标对象是否处于应用进行状态的查询请求;a first receiving module, configured to receive a query request that the target object sent by the mobile terminal is in an application progress state;
    第二接收模块,用于当根据所述查询请求确定所述目标对象处于应用进行状态时,接收移动终端发送的第一请求消息,所述第一请求消息为所述移动终端响应对所述目标对象的数据查看入口的启动操作所发送的;a second receiving module, configured to: when determining that the target object is in an application progress state according to the query request, receiving a first request message sent by the mobile terminal, where the first request message is that the mobile terminal responds to the target The data sent by the object is viewed by the start operation of the entry;
    确定模块,用于根据所述第一请求消息确定所述目标对象与所述应用交互所产生的交互式数据;a determining module, configured to determine, according to the first request message, interactive data generated by the target object interacting with the application;
    第一创建模块,用于根据所述交互式数据创建目标页面,所述目标页面中包含所述交互式数据;a first creating module, configured to create a target page according to the interactive data, where the target page includes the interactive data;
    第一发送模块,用于向所述移动终端发送所述目标页面。And a first sending module, configured to send the target page to the mobile terminal.
  16. 根据权利要求15所述的服务器,其特征在于,所述服务器还包括第三接收模块;The server according to claim 15, wherein the server further comprises a third receiving module;
    所述第三接收模块,用于接收所述移动终端发送的第二请求消息;The third receiving module is configured to receive a second request message sent by the mobile terminal;
    分配模块,用于根据所述第二请求消息为所述目标页面分配所述标识ID;An allocating module, configured to allocate the identifier ID to the target page according to the second request message;
    所述第一发送模块,还用于向所述移动终端发送所述目标页面的标识ID。The first sending module is further configured to send the identifier ID of the target page to the mobile terminal.
  17. 根据权利要求15所述的服务器,其特征在于,所述服务器还包括:The server according to claim 15, wherein the server further comprises:
    第二创建模块,用于在所述目标页面中创建群组,所述群组包含具有好友关系链的多个对象。And a second creating module, configured to create a group in the target page, where the group includes multiple objects having a chain of friend relationships.
  18. 根据权利要求15至17任一项所述的服务器,其特征在于,所述服务器还包括:The server according to any one of claims 15 to 17, wherein the server further comprises:
    第四接收模块,用于接收所述移动终端发送的所述交互式数据的更新请求;a fourth receiving module, configured to receive an update request of the interactive data sent by the mobile terminal;
    第二发送模块,用于根据所述更新请求将更新后的交互式数据发送给所述移动终端。And a second sending module, configured to send the updated interactive data to the mobile terminal according to the update request.
  19. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    存储器,用于存储计算机可执行程序代码;a memory for storing computer executable program code;
    收发器,以及Transceiver, and
    处理器,与所述存储器和所述收发器耦合;a processor coupled to the memory and the transceiver;
    其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令使所述移动终端执行如权利要求1至5中任一项所述的方法。Wherein the program code includes instructions that, when executed by the processor, cause the mobile terminal to perform the method of any one of claims 1 to 5.
  20. 一种计算机存储介质,其特征在于,用于储存移动终端所用的计算机软件指令,其包含用于执行如权利要求1至5中任一项所述的方法。A computer storage medium, characterized by computer software instructions for storing a mobile terminal, comprising means for performing the method of any one of claims 1 to 5.
  21. 一种服务器,其特征在于,包括:A server, comprising:
    存储器,用于存储计算机可执行程序代码;a memory for storing computer executable program code;
    网络接口,以及Network interface, and
    处理器,与所述存储器和所述网络接口耦合;a processor coupled to the memory and the network interface;
    其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令使所述服务器执行如权利要求6至9中任一项所述的方法。Wherein the program code includes instructions that, when executed by the processor, cause the server to perform the method of any one of claims 6 to 9.
  22. 一种计算机存储介质,其特征在于,用于储存服务器所用的计算机软件指令,其包含用于执行如权利要求6至9中任一项所述的方法。A computer storage medium, characterized by computer software instructions for storing a server, comprising means for performing the method of any one of claims 6 to 9.
PCT/CN2018/075973 2017-02-17 2018-02-09 Data acquisition method, mobile terminal, and server WO2018149365A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710086993.2 2017-02-17
CN201710086993.2A CN106817429B (en) 2017-02-17 2017-02-17 A kind of data capture method, mobile terminal and server

Publications (1)

Publication Number Publication Date
WO2018149365A1 true WO2018149365A1 (en) 2018-08-23

Family

ID=59112844

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075973 WO2018149365A1 (en) 2017-02-17 2018-02-09 Data acquisition method, mobile terminal, and server

Country Status (2)

Country Link
CN (1) CN106817429B (en)
WO (1) WO2018149365A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908745A (en) * 2018-09-14 2020-03-24 中国科学院上海高等研究院 Data analysis display method and system, storage medium, server and client
CN112596810A (en) * 2020-12-18 2021-04-02 北京达佳互联信息技术有限公司 Loading prompt information display method and device, electronic equipment and storage medium
CN115348228A (en) * 2021-05-14 2022-11-15 腾讯科技(深圳)有限公司 Group joining method, group information display method and related device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817429B (en) * 2017-02-17 2019-08-06 腾讯科技(深圳)有限公司 A kind of data capture method, mobile terminal and server
CN112398685B (en) * 2020-11-04 2024-01-19 腾讯科技(深圳)有限公司 Host equipment acceleration method, device, equipment and medium based on mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805361A (en) * 2005-11-29 2006-07-19 珠海市西山居软件有限公司 Method and apparatus for watching game play in real time through browser
CN104168271A (en) * 2014-08-01 2014-11-26 广州华多网络科技有限公司 Interaction system, server, client and interaction method
CN104645615A (en) * 2015-03-02 2015-05-27 郑州三生石科技有限公司 Multi-player on-line video game
CN106817429A (en) * 2017-02-17 2017-06-09 腾讯科技(深圳)有限公司 A kind of data capture method, mobile terminal and server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562790B (en) * 2009-05-04 2011-09-14 腾讯科技(北京)有限公司 Method and system for realizing audio and video sharing by mobile terminal instant messaging software users
CN101562581B (en) * 2009-05-26 2013-01-09 腾讯科技(深圳)有限公司 Method and system for achieving web page game
CN101626398B (en) * 2009-08-11 2013-01-02 腾讯数码(天津)有限公司 Method for obtaining friend dynamic and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805361A (en) * 2005-11-29 2006-07-19 珠海市西山居软件有限公司 Method and apparatus for watching game play in real time through browser
CN104168271A (en) * 2014-08-01 2014-11-26 广州华多网络科技有限公司 Interaction system, server, client and interaction method
CN104645615A (en) * 2015-03-02 2015-05-27 郑州三生石科技有限公司 Multi-player on-line video game
CN106817429A (en) * 2017-02-17 2017-06-09 腾讯科技(深圳)有限公司 A kind of data capture method, mobile terminal and server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908745A (en) * 2018-09-14 2020-03-24 中国科学院上海高等研究院 Data analysis display method and system, storage medium, server and client
CN110908745B (en) * 2018-09-14 2023-06-09 中国科学院上海高等研究院 Data analysis display method and system, storage medium, server and client
CN112596810A (en) * 2020-12-18 2021-04-02 北京达佳互联信息技术有限公司 Loading prompt information display method and device, electronic equipment and storage medium
CN112596810B (en) * 2020-12-18 2024-05-14 北京达佳互联信息技术有限公司 Loading prompt information display method and device, electronic equipment and storage medium
CN115348228A (en) * 2021-05-14 2022-11-15 腾讯科技(深圳)有限公司 Group joining method, group information display method and related device
CN115348228B (en) * 2021-05-14 2025-05-06 腾讯科技(深圳)有限公司 Group joining method, group information display method and related devices

Also Published As

Publication number Publication date
CN106817429B (en) 2019-08-06
CN106817429A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN106162236B (en) A kind of method and device of sharing video frequency
US10659844B2 (en) Interaction method and system based on recommended content
WO2017133547A1 (en) Information processing method and device
US10057627B2 (en) Method, apparatus and system for displaying bullet screen information
US10341716B2 (en) Live interaction system, information sending method, information receiving method and apparatus
US20190221045A1 (en) Interaction method between user terminals, terminal, server, system, and storage medium
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
CN105879391B (en) The control method for movement and server and client of role in a kind of game
WO2018149365A1 (en) Data acquisition method, mobile terminal, and server
WO2016150270A1 (en) Method and apparatus for processing group session message
WO2015124033A1 (en) Video interaction method, terminal, server and system
CN110198484B (en) Message pushing method, device and equipment
CN106686396B (en) Method and system for switching live broadcast room
WO2016150331A1 (en) Method and device for operating game client
CN106973330B (en) Screen live broadcasting method, device and system
WO2015035796A1 (en) Tabletop display method, apparatus, and terminal
WO2015085951A1 (en) Terminal, server, system and method for inviting friend to watch video
CN106254910B (en) Method and device for recording image
WO2021078215A1 (en) Method for cross-terminal switching of cloud game and related device
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
CN104954149A (en) Method for sharing data in network conference, device and system thereof
CN107800585B (en) Network communication method and device, and message pushing method and device
CN106303605B (en) A kind of methods, devices and systems to send a notification message
CN106330917B (en) Method for exhibiting data and device
CN106230703A (en) The process of chat record and acquisition methods and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18754593

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18754593

Country of ref document: EP

Kind code of ref document: A1