Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the embodiment of the application, "and/or" describes the association relation of the association objects, which means that three relations can exist. For example, A and/or B may represent three cases, A alone, A and B together, and B alone. Wherein A, B may be singular or plural.
In the embodiment of the present application, the symbol "/" may indicate that the associated object is an or relationship. In addition, the symbol "/" may also denote a divisor, i.e. performing a division operation. For example, A/B may represent A divided by B.
"At least one" or the like in the embodiments of the present application means any combination of these items, including any combination of single item(s) or plural items(s), meaning one or more, and plural means two or more. For example, at least one (one) of a, b or c may represent seven cases a, b, c, a and b, a and c, b and c, a, b and c. Wherein each of a, b, c may be an element or a set comprising one or more elements.
The 'equal' in the embodiment of the application can be used with the greater than the adopted technical scheme, can also be used with the lesser than the adopted technical scheme. When the combination is equal to or greater than the combination, the combination is not less than the combination, and when the combination is equal to or less than the combination, the combination is not greater than the combination.
In order to better understand the schemes of the embodiments of the present application, the following description will first describe terminal devices, related concepts and contexts that may be involved in the embodiments of the present application.
The terminal device of the embodiment of the present application is a device having a wireless communication function, and may be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), an access terminal device, a vehicle-mounted terminal device, an industrial control terminal device, a UE unit, a UE station, a mobile station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent, or a UE apparatus, or the like. The terminal device may be fixed or mobile. It should be noted that the terminal device may support at least one wireless communication technology, such as LTE, new Radio (NR), wideband code division multiple access (wideband code division multiple access, WCDMA), etc. For example, the terminal device may be a mobile phone, a tablet, a desktop, a notebook, a body, a car-mounted terminal, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (SELF DRIVING), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (SMART GRID), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (SMART CITY), a wireless terminal in smart home (smart home), a cellular phone, a cordless phone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, a personal digital assistant (personal DIGITAL ASSISTANT, PDA), a handheld device with wireless communication functionality, an electronic or other processing device connected to a wireless modem, a wearable device, a terminal device in a future mobile communication network, or a terminal in a future evolved public mobile network (public land mobile network, PLMN), etc. The electronic device may be a server.
Referring to fig. 1, fig. 1 is a schematic diagram of a processing system for game interaction information including a user position according to an embodiment of the application. As shown in fig. 1, the processing system of the competition interaction information containing the user position comprises a first server 10, a satellite positioning device 20, a terminal device 30 of a sightseeing user, a positioning satellite 41 of a satellite positioning system 40 and a second server 42, wherein the first server 10 is in communication connection with the second server 42, the positioning satellite 41 is in communication connection with the satellite positioning device 20 used by the competition user, and the positioning satellite 41 is in communication connection with the second server 42.
Wherein the first server 10 is distinguished from the second server 42 and from third party application servers in the mobile communication network.
The positioning satellite 41 may be a beidou positioning satellite. The satellite positioning device 20 includes a beidou module, which can receive satellite signal information of a plurality of positioning satellites 41 and calculate its own position information according to the satellite signal information.
Wherein the satellite positioning device 20 may record the sports data of the racing user and transmit the location information and the sports data to the positioning satellite 41, the positioning satellite 41 transmits the location information and the sports data to the second server 42, and the second server 42 transmits the location information and the sports data to the first server 10.
The first server 10 is communicatively connected to the terminal device 30 of the viewing user, and the first server 10 may push the virtual game screen to at least one terminal device of the virtual event live broadcast room of the racing user.
The manner in which the satellite positioning device 20 receives the short message of the positioning satellite 41 is that the beidou module can send a TCA query instruction to the positioning satellite 41, receive a TCI instruction (short message) from the positioning satellite 41, indicate that no new message is temporary if the fields of the instructions 1 and 2 of the TCI instruction are 0, and sequentially receive and analyze the TCI instruction and display the analyzed message content if the fields of the instructions 1 and 2 of the TCI instruction are not 0.
The satellite positioning device 20 may be a Beidou satellite positioning device, such as a wristwatch, a Beidou box, etc. with a Beidou satellite positioning function and receiving and sending Beidou short messages. For example, when the satellite positioning device 20 is a beidou box, referring to fig. 2A, fig. 2A is an interface schematic diagram of the satellite positioning device according to the embodiment of the present application, the electric quantity is 80%, the inquiry status of the TCI instruction is that the number of remaining short message stripes is x in the inquiry. When the satellite positioning device 20 is a wristwatch, referring to fig. 2D, fig. 2D is a schematic diagram of an interface of the wristwatch provided by an embodiment of the application, the electric quantity is 70%, the time is 32 minutes at 10 points, and the content displayed after analyzing the TCI command is that the sender reaches the peak top immediately, and xxx fueling.
In one possible example, the first server 10 generates a virtual match screen of the racing user according to the location information and the motion data of the racing user, and pushes the virtual match screen to at least one terminal device 30 of the virtual match living room of the racing user, the first server 10 then acquires at least one first interaction message from part or all of the at least one terminal device 30, the single first interaction message is used for representing interaction intention information sent by the racing user in the process of watching the virtual match screen, the first server 10 then generates at least one short message according to the at least one first interaction message, the at least one short message includes a target interaction message which can be output by the satellite positioning device 20 according to preset constraints, the preset constraints include device capability constraints and/or policy management constraints, and further, the first server 10 sends at least one short message to the second server 42, and description information of a receiving end device in the at least one short message corresponds to the satellite positioning device 20. The virtual competition picture of the competition user can be generated, the virtual competition picture is pushed, the interaction message is acquired, the interaction message is transmitted to the satellite positioning equipment 20 of the competition user through the positioning satellite 41, the interaction communication between the sightseeing user and the competition user is realized, and the intelligence of the first server for processing the competition interaction information is improved.
Referring to fig. 3, fig. 3 is a flowchart of a processing method of game interaction information including a user position, provided by an embodiment of the present application, applied to a first server, where the first server is communicatively connected to a second server of a satellite positioning system, the satellite positioning system includes a positioning satellite and the second server, and the positioning satellite is communicatively connected to a satellite positioning device used by a game user, where the method includes:
Step S301, generating a virtual competition picture of the competition user according to the position information of the competition user and the motion data, and pushing the virtual competition picture to at least one terminal device of a virtual competition live room of the competition user.
The position information may be position coordinates, such as 39.123456 degrees north latitude and 116.456789 degrees east longitude, and the motion data includes, but is not limited to, heart rate, body temperature, blood pressure, distance, speed, stride, step frequency, etc., which are not limited herein.
The satellite positioning equipment can acquire the motion data of the user, or the satellite positioning equipment is in communication connection with the motion data acquisition equipment used by the racing user, and the satellite positioning equipment can acquire the motion data acquired by the motion data acquisition equipment used by the racing user. The satellite positioning device may transmit the calculated position information and motion data to a positioning satellite, which transmits the position information and motion data to a second server, which transmits the position information and motion message to the first server.
Wherein, the virtual competition picture comprises a virtual competition environment and preset digital human images of competition users, and the virtual competition environment comprises vegetation, topography, buildings and the like which are constructed by modeling, without limitation. Referring to fig. 4, fig. 4 is a schematic diagram of a virtual game screen according to an embodiment of the present application, in which digital figures, vegetation and zigzag topography of game users are shown.
The first server can push the virtual competition picture to the terminal equipment of the virtual competition live broadcasting room of the competition user, so that the sightseeing user of the terminal equipment can watch the virtual competition picture of the competition user in the virtual competition live broadcasting room.
Alternatively, the virtual game screen may be a preset generation type AI model generated based on the position information and the motion data.
Step S302, obtaining at least one first interaction message from some or all of the at least one terminal device, where the single first interaction message is used to characterize interaction intention information sent by a viewing user in the process of viewing the virtual game picture.
The viewing user can send a message by using the terminal equipment in the interaction communication area in the virtual event live broadcast room, and if the sent message indicates that the receiver is a competition user, the message is interaction intention information interacted with the competition user. The first server can acquire the interactive information sent by the sightseeing user by using the terminal equipment.
Step S303, generating at least one short message according to the at least one first interaction message, where the at least one short message includes a target interaction message that can be output by the satellite positioning device according to a preset constraint condition, where the preset constraint condition includes a device capability constraint condition and/or a policy management constraint condition.
The satellite positioning device has device capability constraint conditions and limit/or policy management constraint conditions, for example, the device capability constraint conditions only support receiving and outputting text messages, the length of the outputted short message messages is limited, and the policy management constraint conditions can be limitations of receiving interactive messages, for example, only accept interactive messages of family, friends and event administrators of racing users. The preset constraint condition is used for screening out target interaction messages from at least one first interaction message.
Step S304, sending the at least one short message to the second server, where the description information of the receiving end device in the at least one short message corresponds to the satellite positioning device.
The short message comprises a field of descriptive information of the receiving end equipment, so that the short message can be accurately sent to the satellite positioning equipment.
It can be seen that in the embodiment of the present application, a first server generates a virtual match picture of a match user according to position information and motion data of the match user, pushes the virtual match picture to at least one terminal device of a virtual match live room of the match user, then obtains at least one first interaction message from part or all of the terminal devices in the at least one terminal device, the single first interaction message is used for characterizing interaction intention information sent by a sightseeing user in a process of viewing the virtual match picture, then generates at least one short message according to the at least one first interaction message, the at least one short message includes a target interaction message that can be output by a satellite positioning device according to preset constraint conditions, the preset constraint conditions include a device capability constraint condition and/or a policy management constraint condition, and further, a second server sends at least one short message, and description information of a receiving end device in the at least one short message corresponds to the satellite positioning device. The virtual competition picture of the competition user can be generated, the virtual competition picture is pushed, the interaction message is acquired, the interaction message is transmitted to the satellite positioning equipment of the competition user through the positioning satellite, the interaction communication between the sightseeing user and the competition user is realized, and the intelligent of the first server for processing the competition interaction information is improved.
In one possible example, in terms of generating at least one short message according to the at least one first interactive message, the method may include the steps of screening at least one target interactive message from the at least one first interactive message according to the preset constraint condition, determining a message type of each target interactive message, determining a target execution sequence of each target interactive message according to the message type, and sequentially performing the following operation on each target interactive message according to the target execution sequence to obtain the at least one short message, wherein the currently processed target interactive message is encoded according to a preset encoding mode and a preset data format to obtain the short message of the currently processed target interactive message.
The method comprises the steps of setting a position determining message, a position determining message and a short message, setting the priority of the emergency notification to be higher than that of the position determining message, setting the priority of the position determining message to be higher than that of the common text message, and setting the order of generating short message messages according to the type of priority if an event side monitors that the environment is not suitable for continuing the competition, for example, a sand storm is encountered, then an event manager needs to timely notify a competition user, meanwhile, the event side needs to pay attention to the position of the competition user in real time, and if the position of the competition user is lost for a certain time, then the competition user needs to be timely contacted, and sending the position determining message to the competition.
Referring to fig. 2B, fig. 2B is another interface schematic diagram of a satellite positioning device according to an embodiment of the present application, wherein the electric quantity is 80%, and the content displayed after analyzing the TCI instruction is that the sender has an emergency situation in front and returns.
The target interactive information can not be directly transmitted through the positioning satellite, but needs to be converted into a format supported by the positioning satellite for transmission, and the target interactive information is encoded through a preset encoding mode and a preset data format to obtain a corresponding short message.
The preset encoding mode may be ASCII, unicode encoding, which is not limited herein, and the preset data format may be a start symbol, a sender identifier, a receiving end device identifier, a timestamp, a message type identifier, a message content, a check code, and an end symbol, for example, the timestamp format is year, month, day, time, minute, and second, each occupying 2 digits.
It can be seen that, in this example, the execution sequence of the target interaction message may be determined according to the message type, and the target interaction message may be encoded to obtain a short message, which is beneficial to improving the intelligence of the first server in processing the game interaction information.
In one possible example, the preset constraint condition includes the policy management constraint condition, the policy management constraint condition includes a message grade threshold, and in terms of screening at least one target interactive message from the at least one first interactive message according to the preset constraint condition, the method may include determining a device identifier of the terminal device corresponding to each first interactive message, determining a target message grade of each first interactive message according to the device identifier, screening at least one second interactive message with the target message grade greater than or equal to the message grade threshold, and using the at least one second interactive message as the at least one target interactive message.
In order to facilitate the family and friends of the racing users to refuel and pump air for the racing users, the equipment identifiers of the family and friends of the racing administrators and the racing users can be set to correspond to higher message grades, and the message grade threshold value is set so as to screen interactive messages of the family and friends of the racing administrators and the racing users. Referring to fig. 2C, fig. 2C is a schematic diagram of another interface of a satellite positioning device according to an embodiment of the present application, where the electric quantity is 80%, and the content displayed after the TCI command is analyzed is that the sender performs xxx refueling and 1 km reaches the destination.
The first server comprises a memory, wherein the memory can store a message grade set, the message grade set comprises a corresponding relation between a device identifier and a message grade, and specifically, a target device identifier can inquire the message grade set to acquire a target message grade corresponding to the target device identifier.
The preset threshold may be set manually or by default, which is not limited herein.
For example, the message levels include A, B, C levels, where the level a is greater than the level B and the level B is greater than the level C, the device identification of the terminal device of the event manager corresponds to the level a, the device identifications of the terminal devices of the family and friends of the racing user correspond to the level B, the device identifications of the terminal devices of other spectators correspond to the level C, and the message level threshold may be the level B.
It can be seen that, in this example, the message level may be set to screen out the target interaction messages of the event manager, the family and the friends of the racing user, and establish a message channel for the family and the friends of the racing user to refuel and inflate for the racing user, so as to facilitate improving the intelligence of the first server in processing the racing interaction information.
In one possible example, the preset constraint includes the device capability constraint, where the device capability constraint includes a text format and a message length threshold, the method may include the steps of screening at least one third interactive message from the at least one first interactive message in a text format, determining a target message length for each of the third interactive messages, screening at least one fourth interactive message from the at least one third interactive message in a message format greater than the message length threshold, and regarding the at least one fourth interactive message as the at least one target interactive message.
The interactive message may be text, voice, picture, etc., which is not limited herein.
The message length threshold may be set manually or by default, and is not limited herein, e.g., the message length threshold is 100 characters.
The device capability constraint condition indicates that the positioning satellite device only supports receiving and outputting the interactive message which is in a text format and the message length does not exceed the message length threshold, and only the interactive message meeting the device capability constraint condition can be output and/or received by the positioning satellite device.
It can be seen that, in this example, by setting the device capability constraint condition, the target interaction message that can be output to the satellite positioning device by the positioning satellite is screened out, which is beneficial to improving the intelligence of the first server in processing the game interaction information.
In one possible example, in terms of encoding the currently processed target interactive message according to a preset encoding mode and a preset data format to obtain a short message of the currently processed target interactive message, the method may include the steps of converting the currently processed target interactive message into a plurality of message character segments conforming to the preset encoding mode, and assembling the plurality of message character segments according to the preset data format to obtain the short message of the currently processed target interactive message.
Specifically, a target interactive message currently processed is encoded according to a preset encoding mode to obtain a plurality of message character segments, the message character segments correspond to any one of sender identification, receiving end equipment identification, time stamp, message type identification, check code, message content, initiator and terminator, if the sequence of a preset data format is the initiator, sender identification, receiving end equipment identification, time stamp, message type identification, message content, check code and terminator, the message character segments are assembled according to the sequence of the preset data format, metadata fields are added, and the metadata fields can comprise custom fields such as encryption marks.
It can be seen that, in this example, the target interaction message may be encoded into a short message supported by the positioning satellite for transmission, which is beneficial to improving the intelligence of the first server in processing the game interaction information.
In one possible example, in terms of generating a virtual game image of the game user according to the position information of the game user and the motion data, the method may include determining a first preset environment image according to the position information, determining weather information and environment state information corresponding to the position information, rendering the first preset environment image according to the weather information and the environment state information to obtain a virtual environment image, determining a virtual motion image of the game user according to the motion data and a digital person motion model, and generating the virtual game image of the game user according to the virtual environment image and the virtual motion image.
The first server stores a plurality of preset environmental images, the off-road event can be divided into a plurality of event segments, each event segment corresponds to one preset environmental image, the event segment where the user is located can be determined according to the position information, and then the first preset environmental image corresponding to the event segment is obtained. The preset environmental images are sectional environmental images acquired by the racing parties through shooting equipment in advance, and the environmental images comprise vegetation, topography, buildings and the like in the racing sections. However, as the off-road event environment of the competition device may be different from the preset environment image, it can be determined that the real-time weather information and the environment state information render the preset environment image, so that the virtual environment image is more real.
The weather information may be rainy, snowy, cloudy, sand storm, etc., and the environmental status information includes, but is not limited to, vegetation color, terrain color, building color, cloud density, real-time temperature, illumination, humidity, wind speed, wind direction, air pressure, etc. For example, the color of the terrain photographed in advance is a cool tone, and the color of the terrain changes to a warm tone due to illumination on the day of the race.
The digital human motion model is a basic human model which is created by pre-collecting image data of a competition user, wherein the image data comprises face data, stature data and the like, the face data comprises but is not limited to detailed geometric information and color information of parts such as face contours, skin textures, eyes, nose, mouth and the like, and the stature data comprises but is not limited to data such as body type, height, proportion and the like.
Optionally, in the aspect of rendering the first preset environmental image according to the weather information and the environmental state information to obtain a virtual environmental image, the method can comprise the steps of adjusting material parameters and environmental parameters of a three-dimensional environmental model of the first preset environmental image according to the environmental state information, adding a target weather effect of the three-dimensional environmental model according to the weather information, and adjusting an illumination effect of the three-dimensional environmental model according to the weather information.
The material parameters include, but are not limited to, color, transparency, etc., for example, the surface changes due to changes in illumination, changes in color, and the surface has low transparency in foggy days and sand storm. Environmental parameters include, but are not limited to, cloud density, vegetation color, etc., weather effects include, but are not limited to, rain, snow, etc., lighting effects include, but are not limited to, color, intensity, shading, etc., of ambient light, for example, using a cool and dim light source in cloudy days.
Optionally, in determining a virtual moving image of the racing user according to the moving data and the digital person moving model, the method can comprise the steps of determining image information of the second user according to a racing video, determining preset digital person images of the second user, adjusting parameters of texture mapping of the preset digital person images according to the image information to obtain a target digital person image, updating the target digital person image to the digital person moving model, and inputting the moving data into the digital person moving model to obtain the virtual moving image of the second user.
Wherein, the preset digital figure can be adjusted according to the figure during the competition of the competition user, so that the preset digital figure is more real. Parameters of the texture map include facial texture parameters including skin texture, skin color, eyes, eyebrows, beards, etc., and body texture parameters including skin, clothing, accessories, etc.
It can be seen that, in this example, the first server may determine a virtual environment image according to weather information and environment state information, map motion data to a digital person motion model, obtain the virtual environment image, generate a virtual game picture based on the virtual environment image and the virtual environment image, and facilitate improving the reality of the virtual game picture, and facilitate improving the experience of the viewing user.
In one possible example, in determining weather information and environment state information corresponding to the location information, the method may include the steps of querying a weather database with the location information to obtain the weather information corresponding to the location information, querying a geographic information system with the location information to obtain the environment state information corresponding to the location information, or obtaining event video acquired by a camera and determining the environment state information according to the event video.
The weather database which is updated in real time can be queried by longitude and latitude information, the real-time weather information of the position is obtained, and the geographic information system can be a platform for providing geographic information query service by a third party.
For the event segment with the camera and the network coverage, the first server can directly acquire the event video acquired by the camera, and analyze the current environmental state information according to the event video.
It can be seen that, in this example, the first server may determine real-time weather information and environmental status information according to the location information, which is subsequently used to generate the virtual game screen, which is beneficial to improving the reality of the virtual game screen and improving the experience of the viewing user.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, the electronic device is applied to a first server, the first server is communicatively connected to a second server of a satellite positioning system, the satellite positioning system includes a positioning satellite and the second server, the positioning satellite is communicatively connected to a satellite positioning device used by a racing user, and the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs are configured by the processor to execute instructions of:
Generating a virtual competition picture of the competition user according to the position information of the competition user and the motion data, and pushing the virtual competition picture to at least one terminal device of a virtual competition live room of the competition user;
Acquiring at least one first interaction message from part or all of the at least one terminal device, wherein the single first interaction message is used for representing interaction intention information sent by a viewing user in the process of watching the virtual competition picture;
generating at least one short message according to the at least one first interactive message, wherein the at least one short message comprises a target interactive message which can be output by the satellite positioning equipment according to preset constraint conditions, and the preset constraint conditions comprise equipment capacity constraint conditions and/or strategy management constraint conditions;
and sending the at least one short message to the second server, wherein the description information of the receiving end equipment in the at least one short message corresponds to the satellite positioning equipment.
It can be seen that, in the embodiment of the present application, the electronic device may generate a virtual match picture of the match user according to the position information and the motion data of the match user, push the virtual match picture to at least one terminal device of a virtual match living broadcast room of the match user, then obtain at least one first interaction message from part or all of the terminal devices in the at least one terminal device, where the single first interaction message is used to characterize interaction intention information sent by the sightseeing user in viewing the virtual match picture, then generate at least one short message according to the at least one first interaction message, where the at least one short message includes a target interaction message that can be output by the satellite positioning device according to a preset constraint condition, where the preset constraint condition includes a device capability constraint condition and/or a policy management constraint condition, and further, the second server sends at least one short message, where the description information of the receiving end device in the at least one short message corresponds to the satellite positioning device. The virtual competition picture of the competition user can be generated, the virtual competition picture is pushed, the interaction message is acquired, the interaction message is transmitted to the satellite positioning equipment of the competition user through the positioning satellite, the interaction communication between the sightseeing user and the competition user is realized, and the intelligent of the first server for processing the competition interaction information is improved.
In one possible example, in said generating at least one short message from said at least one first interactive message, the program comprises instructions for:
screening at least one target interaction message from the at least one first interaction message according to the preset constraint condition;
determining the message type of each target interaction message;
Determining a target execution sequence of each target interaction message according to the message type;
And executing the following operations on each target interaction message in turn according to the target execution sequence to obtain the at least one short message:
And encoding the currently processed target interactive message according to a preset encoding mode and a preset data format to obtain a short message of the currently processed target interactive message.
In one possible example, the preset constraint includes the policy management constraint, the policy management constraint includes a message level threshold, and the program includes instructions for performing the following steps in terms of screening the at least one target interaction message from the at least one first interaction message according to the preset constraint:
determining the equipment identifier of the terminal equipment corresponding to each first interactive message;
Determining a target message grade of each first interactive message according to the equipment identifier;
And screening at least one second interactive message with the target message grade being greater than or equal to the message grade threshold value, and taking the at least one second interactive message as the at least one target interactive message.
In one possible example, the preset constraint includes the device capability constraint, the device capability constraint includes a text format and a message length threshold, and the program includes instructions for performing the following steps in terms of screening the at least one target interaction message from the at least one first interaction message according to the preset constraint:
screening at least one third interactive message with a message format of text format from the at least one first interactive message;
Determining a target message length of each third interactive message;
And screening at least one fourth interactive message with the target message length larger than the message length threshold value from the at least one third interactive message, and taking the at least one fourth interactive message as the at least one target interactive message.
In one possible example, in the aspect of encoding the currently processed target interactive message according to the preset encoding manner and the preset data format to obtain a short message of the currently processed target interactive message, the program further includes instructions for executing the following steps:
Converting the currently processed target interactive message into a plurality of message character segments conforming to the preset coding mode;
And assembling the message character segments according to the preset data format to obtain the short message of the currently processed target interactive message.
In one possible example, in the generating a virtual game screen of the game user according to the position information of the game user and the motion data, the program further includes instructions for:
Determining a first preset environment image according to the position information;
Determining weather information and environment state information corresponding to the position information;
rendering the first preset environment image according to the weather information and the environment state information to obtain a virtual environment image;
determining virtual moving images of the racing users according to the moving data and the digital human moving model;
And generating the virtual competition picture of the competition user according to the virtual environment image and the virtual moving image.
In one possible example, in the determining weather information and environment state information corresponding to the location information, the program further includes instructions for:
Inquiring a weather database by the position information to obtain weather information corresponding to the position information;
Inquiring a geographic information system by the position information to obtain the environment state information corresponding to the position information, or
And acquiring event videos acquired by the cameras, and determining the environmental state information according to the event videos.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional units of the electronic device according to the method example, for example, each functional unit can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
In the case of dividing the respective functional modules by the respective functions, fig. 6 shows a functional unit composition block diagram of a process of game interaction information including a user position, which is applied to a first server communicatively connected with a second server of a satellite positioning system including a positioning satellite communicatively connected with a satellite positioning device used by a game user and the second server, as shown in fig. 6, the process apparatus of game interaction information including a user position includes a generation unit 601, an acquisition unit 602 and a transmission unit 603,
The generating unit 601 is configured to generate a virtual game picture of the racing user according to the location information of the racing user and the motion data, and push the virtual game picture to at least one terminal device of a virtual event live room of the racing user;
The obtaining unit 602 is configured to obtain at least one first interaction message from some or all of the at least one terminal device, where the single first interaction message is used to characterize interaction intention information sent by a viewing user in a process of viewing the virtual game screen;
The generating unit 601 is further configured to generate at least one short message according to the at least one first interaction message, where the at least one short message includes a target interaction message that can be output by the satellite positioning device according to a preset constraint condition, where the preset constraint condition includes a device capability constraint condition and/or a policy management constraint condition;
The transmission unit 603 is configured to send the at least one short message to the second server, where description information of a receiving end device in the at least one short message corresponds to the satellite positioning device.
It can be seen that, in the processing device for the game interaction information including the user position described in the embodiment of the present application, a virtual game picture of the game user may be generated according to the position information and the motion data of the game user, and the virtual game picture is pushed to at least one terminal device in a virtual live broadcast room of the game user, then at least one first interaction message from part or all of the at least one terminal device is obtained, the single first interaction message is used to represent interaction intention information sent by the sightseeing user in the process of viewing the virtual game picture, then at least one short message is generated according to the at least one first interaction message, where the at least one short message includes a target interaction message that can be output by the satellite positioning device according to a preset constraint condition, the preset constraint condition includes a device capability constraint condition and/or a policy management constraint condition, and further, the second server sends at least one short message, where the description information of the receiving end device in the at least one short message corresponds to the satellite positioning device. The virtual competition picture of the competition user can be generated, the virtual competition picture is pushed, the interaction message is acquired, the interaction message is transmitted to the satellite positioning equipment of the competition user through the positioning satellite, the interaction communication between the sightseeing user and the competition user is realized, and the intelligent of the first server for processing the competition interaction information is improved.
In one possible example, in terms of said generating at least one short message from said at least one first interactive message, said generating unit 601 is specifically configured to:
screening at least one target interaction message from the at least one first interaction message according to the preset constraint condition;
determining the message type of each target interaction message;
Determining a target execution sequence of each target interaction message according to the message type;
And executing the following operations on each target interaction message in turn according to the target execution sequence to obtain the at least one short message:
And encoding the currently processed target interactive message according to a preset encoding mode and a preset data format to obtain a short message of the currently processed target interactive message.
In one possible example, the preset constraint condition includes the policy management constraint condition, the policy management constraint condition includes a message level threshold, and the generating unit 601 is specifically configured to:
determining the equipment identifier of the terminal equipment corresponding to each first interactive message;
Determining a target message grade of each first interactive message according to the equipment identifier;
And screening at least one second interactive message with the target message grade being greater than or equal to the message grade threshold value, and taking the at least one second interactive message as the at least one target interactive message.
In one possible example, the preset constraint condition includes the device capability constraint condition, the device capability constraint condition includes a text format and a message length threshold, and the generating unit 601 is specifically configured to:
screening at least one third interactive message with a message format of text format from the at least one first interactive message;
Determining a target message length of each third interactive message;
And screening at least one fourth interactive message with the target message length larger than the message length threshold value from the at least one third interactive message, and taking the at least one fourth interactive message as the at least one target interactive message.
In one possible example, in the aspect of encoding the currently processed target interactive message according to the preset encoding manner and the preset data format to obtain the short message of the currently processed target interactive message, the generating unit 601 is specifically configured to:
Converting the currently processed target interactive message into a plurality of message character segments conforming to the preset coding mode;
And assembling the message character segments according to the preset data format to obtain the short message of the currently processed target interactive message.
In one possible example, in the generating a virtual game screen of the game user according to the location information of the game user and the motion data, the generating unit 601 is specifically configured to:
Determining a first preset environment image according to the position information;
Determining weather information and environment state information corresponding to the position information;
rendering the first preset environment image according to the weather information and the environment state information to obtain a virtual environment image;
determining virtual moving images of the racing users according to the moving data and the digital human moving model;
And generating the virtual competition picture of the competition user according to the virtual environment image and the virtual moving image.
In one possible example, in the determining weather information and environment state information corresponding to the location information, the generating unit 601 is specifically configured to:
Inquiring a weather database by the position information to obtain weather information corresponding to the position information;
Inquiring a geographic information system by the position information to obtain the environment state information corresponding to the position information, or
And acquiring event videos acquired by the cameras, and determining the environmental state information according to the event videos.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the above-mentioned processing method for game interaction information including the user position, so that the same effect as the above-mentioned implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the electronic device, for example, may be configured to support the electronic device to execute the steps executed by the functional units. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital Signal Processing (DSP) and a combination of microprocessors, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
The embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program makes a computer execute part or all of the steps of any one of the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising a control platform.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. The Memory includes a U disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, etc. which can store the program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable memory, the memory may include a flash disk, a read only memory, a random access memory, a magnetic or optical disk, etc.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.