CN110995931A - City business card service method based on interactive short message and WebXR - Google Patents

City business card service method based on interactive short message and WebXR Download PDF

Info

Publication number
CN110995931A
CN110995931A CN201911261759.4A CN201911261759A CN110995931A CN 110995931 A CN110995931 A CN 110995931A CN 201911261759 A CN201911261759 A CN 201911261759A CN 110995931 A CN110995931 A CN 110995931A
Authority
CN
China
Prior art keywords
short message
display mode
displayed
public number
webxr
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911261759.4A
Other languages
Chinese (zh)
Inventor
乔秀全
顾慧慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201911261759.4A priority Critical patent/CN110995931A/en
Publication of CN110995931A publication Critical patent/CN110995931A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Abstract

The embodiment of the invention discloses a city business card service method based on interactive short messages and WebXR. The method comprises the steps of firstly obtaining the short message to be displayed, determining a corresponding short message display mode according to the type of the short message to be displayed, obtaining configuration information corresponding to the public number display mode when the short message display mode is the public number display mode, and rendering an interface according to the configuration information to display the short message to be displayed in the public number display mode. The invention is different from the traditional short message and the RCS enhanced short message, and the short message content of the short message to be displayed is rendered by adopting the public number display mode, so that the public number display mode adopts an optimized information organization form when displaying the content, the short message content can be displayed more normatively and more diversely, the display effect is better, and the invention belongs to a short message processing mode with better effect.

Description

City business card service method based on interactive short message and WebXR
Technical Field
The invention relates to the technical field of mobile communication, in particular to a city business card service method based on interactive short messages and WebXR.
Background
With the rapid development of the tourism industry, in order to greatly publicize the city image, the text travel and other resources, each province and city will usually actively push a short message to the foreign user who just enters the area, and the content of the short message may relate to the content of welcoming the user to enter a certain province/a certain city and the like.
Although the mode of pushing the short message is low in cost, accurate in target and strong in flexibility, and belongs to a city culture propagation mode with a good effect, the traditional short message or the enhanced short message of the converged Communication (RCS) is only a simple short message text, and the text introduction enables users not to have visual perception, so that the local cognition is very limited, and the propaganda effect is poor. Moreover, some short message texts contain a webpage hyperlink, but due to the safety problem brought by the short message links at ordinary times and the inundated fraud short messages, the user is high in alertness, and the short message notification sent by the merchant to the user is often regarded as the fraud short message disguised by lawbreakers and is rarely clicked.
Therefore, the short message display form is not good when the traditional short message and the RCS enhanced short message are popularized in a city.
Therefore, a new short message processing method is needed.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide a city business card service method based on interactive short messages and WebXR.
In a first aspect, an embodiment of the present invention provides a city business card service method based on interactive short messages and WebXR, including:
acquiring a short message to be displayed;
determining a corresponding short message display mode according to the short message type of the short message to be displayed;
when the short message display mode is a public number display mode, acquiring configuration information corresponding to the public number display mode, wherein the public number display mode is a short message display mode corresponding to the intelligent short message;
and performing interface rendering in a preset display interface according to the configuration information so as to perform display operation of the short message to be displayed in a public number display mode corresponding to the configuration information.
Preferably, the determining a corresponding short message display mode according to the short message type of the short message to be displayed specifically includes:
extracting a sender number from the short message to be displayed;
when the number of the sender is a preset organization number, determining that the short message type of the short message to be displayed is the intelligent short message;
and setting a short message display mode corresponding to the short message to be displayed as a public number display mode.
Preferably, when the short message display mode is a public number display mode, the obtaining of the configuration information corresponding to the public number display mode specifically includes:
when the short message display mode is a public number display mode, detecting whether historical short messages corresponding to the short messages to be displayed exist;
and when the historical short message does not exist, sending an information request to a configuration server so that the configuration server responds to the information request and feeds back configuration information corresponding to the public number display mode.
Preferably, after performing interface rendering in a preset display interface according to the configuration information and performing a display operation of the short message to be displayed in a public number display mode corresponding to the configuration information, the city card service method based on the interactive short message and the WebXR further includes:
acquiring a first user operation in the preset display interface;
when the first user operation triggers a first preset component, calling a camera to shoot an image so as to obtain a current image;
sending the current image to an image server so that the image server performs image matching on the current image, acquiring virtual model information matched with the current image when the matching is successful, and feeding back the virtual model information;
and displaying the virtual model information in a preset background image.
Preferably, after the virtual model information is displayed in the preset background image, the city business card service method based on the interactive short message and the WebXR further includes:
monitoring whether gesture control operation input by a user exists or not;
and when the gesture control operation is monitored, changing the display mode of the virtual model information according to the gesture control operation.
Preferably, after performing interface rendering in a preset display interface according to the configuration information and performing a display operation of the short message to be displayed in a public number display mode corresponding to the configuration information, the city card service method based on the interactive short message and the WebXR further includes:
acquiring a second user operation in the preset display interface;
and when the second user operation triggers a second preset component, performing panoramic rendering to obtain a current panoramic image and displaying the current panoramic image.
Preferably, when the second user operation triggers the second preset component, performing panorama rendering to obtain a current panorama image, and displaying the current panorama image, where the city card service method based on the interactive short message and the WebXR further includes:
monitoring whether a scene switching operation input by a user exists;
when the scene switching operation is monitored, determining a current scene section corresponding to the current panoramic image, and switching the current scene section into a target scene section according to the scene switching operation.
In a second aspect, an embodiment of the present invention provides a city business card service system based on interactive short messages and WebXR, including:
the short message receiving module is used for acquiring a short message to be displayed;
the mode determining module is used for determining a corresponding short message display mode according to the short message type of the short message to be displayed;
the configuration module is used for acquiring configuration information corresponding to the public number display mode when the short message display mode is the public number display mode, wherein the public number display mode is the short message display mode corresponding to the intelligent short message;
and the short message display module is used for rendering an interface in a preset display interface according to the configuration information so as to display the short message to be displayed in a public number display mode corresponding to the configuration information.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the city card service method based on interactive short message and WebXR provided in the first aspect of the present invention.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for serving a city card based on interactive short message service and WebXR provided in the first aspect of the present invention.
The city business card service method based on the interactive short message and the WebXR, provided by the embodiment of the invention, comprises the steps of firstly obtaining the short message to be displayed, determining a corresponding short message display mode according to the short message type of the short message to be displayed, obtaining configuration information corresponding to the public number display mode when the short message display mode is the public number display mode, and rendering an interface according to the configuration information to display the short message to be displayed in the public number display mode. The embodiment of the invention is different from the traditional short message and the RCS enhanced short message, and the short message content of the short message to be displayed is rendered by adopting the public number display mode, so that the public number display mode adopts an optimized information organization form when displaying the content, the short message content can be displayed more normatively and more diversely, the display effect is better, and the short message processing mode with better effect belongs to the short message processing mode with better effect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a city business card service method based on interactive short message and WebXR according to an embodiment of the present invention;
fig. 2 is a flowchart of a city business card service method based on interactive short message and WebXR according to another embodiment of the present invention;
FIG. 3a is a diagram illustrating a first default component invocation according to yet another embodiment of the present invention;
FIG. 3b is a diagram illustrating other component calls according to yet another embodiment of the present invention;
fig. 4 is a flowchart of a city business card service method based on interactive short message and WebXR according to yet another embodiment of the present invention;
FIG. 5 is a functional partitioning diagram according to yet another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a city business card service system based on interactive short messages and WebXR according to an embodiment of the present invention;
fig. 7 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a city business card service method based on interactive short message and WebXR according to an embodiment of the present invention, as shown in fig. 1, the method includes:
and S1, acquiring the short message to be displayed.
The execution subject of the embodiment of the present invention is an electronic device, which may be a personal mobile phone with a short message receiving function.
Specifically, a short message server of a specific organization can send a short message to the personal mobile phone, and the short message can be recorded as a short message to be displayed. Wherein, the specific organizations comprise the city level tourist committee, the enterprise and the like.
In addition, if the mobile phone number of the personal mobile phone is in the place of the city A, if the base station in the city B senses that the personal mobile phone enters the city B, the base station sends a notice to the short message server, so that the short message server sends the short message to be displayed to the side of the personal mobile phone.
And S2, determining a corresponding short message display mode according to the short message type of the short message to be displayed.
After receiving the short message to be displayed, the personal mobile phone determines the short message display mode to be adopted by the short message according to the short message type of the short message to be displayed, and finally, the short message is displayed by adopting the short message display mode.
The short message display mode is an information organization mode for organizing the short message content in the interface.
S3, when the short message display mode is a public number display mode, acquiring configuration information corresponding to the public number display mode, wherein the public number display mode is a short message display mode corresponding to the intelligent short message.
And if the short message type of the short message to be displayed is the intelligent short message, the short message display mode corresponding to the short message to be displayed is a public number display mode.
The intelligent short message can analyze and reconstruct the traditional text short message into a card type short message, and can realize bidirectional interaction. The public number display mode is one of a plurality of short message display modes, the public number display mode is that short message content is displayed in a card mode in an interface for displaying short messages, a plurality of user-defined menus are arranged at the bottom end of the interface for displaying the short messages to be clicked by a user, and the user can jump to an Application mall, an Application (App) inner page, various HTML5(H5) pages, an official website, a micro-message public number and the like by clicking the user-defined menu.
In addition, the intelligent short message can also be recorded as an interactive short message, and the interactive short message reconstructs the data form of the short message based on the natural language processing technology.
Specifically, when the short message display mode is a public number display mode, configuration information corresponding to the public number display mode is acquired, and the configuration information is used for displaying the short message content in the short message to be displayed in the public number display mode.
In addition, if the short message type of the short message to be displayed is a non-intelligent short message, the non-intelligent short message comprises a normal short message; if the short message type of the short message to be displayed is a normal short message, the short message to be displayed can be displayed in a normal short message display mode corresponding to the normal short message. Obviously, the above configuration information need not be acquired at this time.
The normal short message is a traditional short message, that is, a plain text displayed short message.
And S4, performing interface rendering in a preset display interface according to the configuration information, and performing display operation of the short message to be displayed in a public number display mode corresponding to the configuration information.
The preset display interface is an interface for displaying the short message, and if interface rendering operation is performed by using the configuration information, a card display structure for displaying the short message content in a card form appears in the preset display interface, and a plurality of self-defined menus appear at the bottom end of the interface, similar to the display interface after the micro message enters the public number.
The city business card service method based on the interactive short message and the WebXR, provided by the embodiment of the invention, comprises the steps of firstly obtaining the short message to be displayed, determining a corresponding short message display mode according to the short message type of the short message to be displayed, obtaining configuration information corresponding to the public number display mode when the short message display mode is the public number display mode, and rendering an interface according to the configuration information to display the short message to be displayed in the public number display mode. The embodiment of the invention is different from the traditional short message and the RCS enhanced short message, and the short message content of the short message to be displayed is rendered by adopting the public number display mode, so that the public number display mode adopts an optimized information organization form when displaying the content, the short message content can be displayed more normatively and more diversely, the display effect is better, and the short message processing mode with better effect belongs to the short message processing mode with better effect.
On the basis of the foregoing embodiment, preferably, the determining a corresponding short message display mode according to the short message type of the short message to be displayed specifically includes:
extracting a sender number from the short message to be displayed;
when the number of the sender is a preset organization number, determining that the short message type of the short message to be displayed is the intelligent short message;
and setting a short message display mode corresponding to the short message to be displayed as a public number display mode.
Considering that the received short message to be displayed may be an intelligent short message or other types of short messages at the moment, in order to adapt different types of short message display modes to different types of short messages, different types of short message display modes can be determined according to the number of the sender.
Specifically, the preset organization number may be a telephone number of a specific organization, and if the short message to be displayed comes from the preset organization number, the short message to be displayed is considered to be an intelligent short message, and a public number display mode corresponding to the intelligent short message may be adopted as a short message display mode corresponding to the short message to be displayed.
For example, if the sender number is a tourist commission number, the short message can be displayed in a public number display mode.
Of course, the sender number may also be an enterprise number.
Therefore, the method and the device relate to the steps of determining the corresponding short message type according to the number of the sender of the short message to be displayed, and further determining the corresponding short message display mode according to the short message type. However, the embodiment of the present invention is not limited to this type of determination method for determining the type of the short message.
For example, the short message display mode of the short message to be displayed can be determined according to the keyword in the short message content of the short message to be displayed, that is, a preset corresponding relationship exists between the keyword and the specific short message display mode.
On the basis of the foregoing embodiment, preferably, when the short message display mode is a public number display mode, acquiring configuration information corresponding to the public number display mode specifically includes:
when the short message display mode is a public number display mode, detecting whether historical short messages corresponding to the short messages to be displayed exist;
and when the historical short message does not exist, sending an information request to a configuration server so that the configuration server responds to the information request and feeds back configuration information corresponding to the public number display mode.
Specifically, after receiving a short message to be displayed sent by a travel agency number, the personal mobile phone may first determine whether to receive the short message sent by the travel agency number for the first time in order to obtain configuration information for displaying the short message in a public number display manner. For example, if it is detected that the personal mobile phone has not received the history short message sent by the sender number before, it indicates that the short message to be displayed is the first short message, and the personal mobile phone does not have the configuration information locally, and can request the configuration server side to download the configuration information; if the personal mobile phone is detected to have the historical short message sent by the sender number, the short message to be displayed is not the first short message, the personal mobile phone locally has the configuration information, and the configuration information corresponding to the public number display mode can be directly and locally acquired.
Therefore, when the historical short message exists, the configuration information corresponding to the public number display mode is acquired.
Therefore, the embodiment of the invention can judge whether the personal mobile phone receives the short message to be displayed for the first time by detecting whether the historical short message exists or not, thereby effectively carrying out the operation of acquiring the configuration information and avoiding the repeated operation of acquiring.
Fig. 2 is a flowchart of a city business card service method based on interactive short message and WebXR according to another embodiment of the present invention, where another embodiment of the present invention is based on the embodiment shown in fig. 1.
In this embodiment, after S4, the city business card service method based on interactive short message and WebXR further includes:
and S5, acquiring the first user operation in the preset display interface.
It can be understood that, in order to optimize the information organization form and endow the short message with more functionality, the embodiment may further provide a WebAR service, which is an augmented reality service based on a web page side.
Specifically, in this embodiment, the short message to be displayed is a city welcome short message as an example, see fig. 3a, where fig. 3a may be a preset display interface of the personal mobile phone after receiving the short message to be displayed sent by the travel commission number, where "XX city travel commission" and "welcome to XX city!are upper ends of the preset display interface! Card type contents of 'learning city history' and 'drawing city scene' are short message content parts of short messages to be displayed, and 'city impression VR', 'city memory AR' and 'city strategy' at the lower end of a preset display interface are self-defined menus for users to click.
The city memory AR in fig. 3a is the WebAR service, a component of the WebAR service may be recorded as a first preset component, and the user may trigger the component by clicking the city memory AR in the bottom menu bar.
And S6, when the first user operation triggers the first preset component, calling a camera to shoot the image so as to obtain the current image.
Of course, the city memory AR service may further subdivide sub-menus, such as city history, city landscape, and city specials. The operation types of the first user operation may include a click operation, a slide operation, and the like.
Specifically, for example, if the user actually triggered the urban landscape, the user may be shown a certain sight spot, for example, the sight spot may be a statue of a certain historical figure. If the user stands in front of the statue or holds a certain photo of the statue, the user can shoot through the front camera of the mobile phone to shoot the statue or a real-time image of the photo of the statue.
And S7, sending the current image to an image server so that the image server performs image matching on the current image, and when the matching is successful, acquiring virtual model information matched with the current image and feeding back the virtual model information.
The image server side can store the animation modeling model of the statue in advance, and the animation modeling model can enable a user to observe the statue more comprehensively from multiple angles, so that the model can be provided for the user to browse.
In specific implementation, the real-time image can be sent to the image server side, the image server can match the real-time image with the multi-surface image of the animation modeling model, if the real-time image is successfully matched with one surface image of the animation modeling model, the real-time image is determined as being successfully matched, and then the virtual model information of the animation modeling model of the statue is obtained from the image server. The virtual model information is then downloaded to the personal handset.
In addition, a model database can be arranged in the image server, and a large number of animation modeling models with different contents are stored in the model database, and the models relate to landscapes, statues, buildings and the like.
And S8, displaying the virtual model information in a preset background image.
Presetting a background image as a background picture of the animation modeling model for displaying the statue, wherein the background picture can be additionally arranged; the virtual model information includes coordinate information of the animation modeling model, which is a coordinate point displayed on the background picture.
In a specific implementation, in order to display the three-dimensional image of the statue, a Uniform Resource Locator (URL) corresponding to the virtual model information may be read first, and the animation modeling model may be loaded based on the URL; and animation rendering is carried out according to the received coordinate information, so that augmented reality information is constructed and displayed.
In addition, the WebAR service in this embodiment may be based on a WebXR technology, which includes Augmented Reality (AR), Virtual Reality (VR), and mixed display (MR).
The WebXR technology is a general lightweight Web (Web) end-based augmented reality technology for a mobile intelligent terminal, different apps can be spanned, enterprises can conveniently accumulate users, the users are convenient and practical, and compared with a heavy-weight augmented reality technical scheme based on professional equipment and a special App, the method and the system are more convenient, do not need downloading and installation, and are high in universality.
Meanwhile, based on the WebXR technology of HTML5, by using a link mechanism, the XR function can be conveniently embedded into various Apps, or embedded into a large number of Web pages; and moreover, forwarding, sharing and spreading can be conveniently carried out.
The city business card service method based on the interactive short message and the WebXR combines the interactive short message and the WebXR technology, can construct a short message platform into a multifunctional entrance platform, and has more diversified functions and operations. Moreover, the short message platform can be constructed as a new entrance for interaction between a city and a user.
On the basis of the foregoing embodiment, preferably, after the virtual model information is displayed in the preset background image, the city card service method based on the interactive short message and the WebXR further includes:
monitoring whether gesture control operation input by a user exists or not;
and when the gesture control operation is monitored, changing the display mode of the virtual model information according to the gesture control operation.
Specifically, in order to meet the requirements of multi-angle and multi-dimensional browsing, a user may change the animated statue through gestures, for example, the gesture control operations include a zoom-in operation, a zoom-out operation, a rotation operation, and the like.
If the gesture control operation is a magnifying operation, magnifying a certain part of the virtual model information; if the gesture control operation is a rotation operation, the current display view angle of the virtual model information can be rotated to another display view angle corresponding to the rotation operation.
On the basis of the embodiment, if a new city wants to use the technical scheme described in the scheme of the invention to send a city welcome short message to a personal mobile phone which newly enters the city, a unique sender number is firstly allocated to the new city.
Meanwhile, a default display frame of the short message to be displayed may be preset, for example, referring to fig. 3a, the default display frame may also be recorded as feature sequence information, where the feature sequence information is "travel committee in XX city", "welcome to XX city |" on the upper end of a preset display interface! "," know city history "and" draw city scene ".
Therefore, compared with the traditional short message, the embodiment of the invention additionally introduces the first preset component, and the user can use the first preset component by independently clicking, so that other information except the short message content of the traditional short message can be acquired, and a certain city can be known more comprehensively.
Fig. 4 is a flowchart of a city card service method based on interactive short message and WebXR according to another embodiment of the present invention, which can be based on the embodiments shown in fig. 1 or fig. 2.
In this embodiment, after S4, the city business card service method based on interactive short message and WebXR further includes:
and S9, acquiring a second user operation in the preset display interface.
The embodiment can also provide WebVR service, and the WebVR service is virtual reality service based on a webpage end. The city impression VR in fig. 3a and 3b belongs to a class of WebVR services, and is a second preset component, which can be triggered by a user clicking on the city impression VR in the bottom menu bar.
And S10, when the second user operation triggers a second preset component, carrying out panoramic rendering to obtain a current panoramic image, and displaying the current panoramic image.
If the user triggers the second preset component, the number of the travel commission is the number of the travel commission of a certain city, the panoramic scene of the certain city can be stored in advance, and generally, one city can contain a plurality of panoramic scenes. As for obtaining the panoramic scene image, the panoramic scene image is generally obtained by performing special splicing and fusion after being shot by a panoramic camera.
The panoramic image refers to an image technology for splicing one or more groups of photos shot by a camera in 360 degrees into a panoramic image.
In a specific implementation, a panoramic image corresponding to a default panoramic scene may be first panoramic-rendered, the panoramic image may be recorded as a current panoramic image, and the default panoramic scene is displayed.
The embodiment of the invention provides a city business card service method based on interactive short messages and WebXR, which mainly discloses a VR part in the WebXR technology, namely the WebVR service, and a user can browse a certain scene more comprehensively through the panoramic technology.
On the basis of the foregoing embodiment, preferably, when the second user operation triggers the second preset component, performing panoramic rendering to obtain a current panoramic image, and displaying the current panoramic image, where the city business card service method based on interactive short message and WebXR further includes:
monitoring whether a scene switching operation input by a user exists;
when the scene switching operation is monitored, determining a current scene section corresponding to the current panoramic image, and switching the current scene section into a target scene section according to the scene switching operation.
Specifically, since the current panoramic image can view a certain area in 360 degrees, the user can manually operate to perform scene switching, for example, if the currently displayed front image of the area is the front image, the front image can be rotated to the back. If so, the current scene section is the front side, and the target scene section is the back side.
On the basis of the above embodiment, it is preferable that, referring to fig. 3b, the "city strategy" may be other components besides the first preset component and the second preset component, and the other components may provide other functions, for example, the "real-time traffic" may inform the traffic condition.
Of course, other components can also provide a voice reading function and can introduce history culture in the current panoramic image; a video trigger mechanism may also be provided to improve interactivity.
In addition, the first default component, the second default component, and other components described above may be provided by a third-party platform, and if provided by the third-party platform, the link may jump to a page of the third-party platform for subsequent operations.
In addition, the sms server, the configuration server, and the image server may be the same cloud server providing multiple functions, or may be different cloud servers, which is not limited herein.
In addition, when the user browses different pages, the page access condition of the user can be recorded, and the data of the page access condition is analyzed to determine interest points and preference of the user during travel, so that the user can be served more specifically.
In addition, when displaying the short message content of the short message to be displayed, if the short message is sent for the enterprise client, in order to increase the public credibility, the enterprise name and the enterprise logo (logo) can be displayed at the same time.
In addition, referring to fig. 5, if the city business card service method based on the interactive short message service and the WebXR described in the embodiment of the present invention is divided into six parts of functions aiming at the interactive short message service, the six parts of functions are respectively the functions of the base station response, the short message capture, the sender confirmation, the feature sequence determination, the display, and the terminal operation execution.
Further, referring to fig. 5, the functions for the city information service platform can be divided into business card configuration, WebAR, WebVR, city information service, and data statistics.
The functions of WebAR can be subdivided into image acquisition, feature recognition, 3D animation and AR interaction, and WebAR mainly aims at AR display of urban features; the functions of WebVR can be subdivided into panoramic rendering, panoramic interaction and voice interpretation; the functionality of the city information service may be subdivided into the functionality of the H5 page and third party links.
The city information service function can also relate to local special e-commerce, city publicity films, city food, city historical culture introduction and the like, but is not limited to the above.
Fig. 6 is a schematic structural diagram of a city business card service system based on interactive short message and WebXR according to an embodiment of the present invention, as shown in fig. 6, the system includes: a short message receiving module 301, a mode determining module 302, a configuration module 303 and a short message display module 304;
the short message receiving module 301 is configured to obtain a short message to be displayed.
And a mode determining module 302, configured to determine a corresponding short message display mode according to the short message type of the short message to be displayed.
The configuration module 303 is configured to acquire configuration information corresponding to a public number display mode when the short message display mode is the public number display mode, where the public number display mode is a short message display mode corresponding to an intelligent short message.
And a short message display module 304, configured to perform interface rendering in a preset display interface according to the configuration information, so as to perform a display operation of the short message to be displayed in a public number display manner corresponding to the configuration information.
The city business card service system based on the interactive short message and the WebXR, provided by the embodiment of the invention, comprises a short message receiving module, a short message display module and a display module, wherein the short message receiving module is used for acquiring a short message to be displayed; the mode determining module is used for determining a corresponding short message display mode according to the short message type of the short message to be displayed; the configuration module is used for acquiring configuration information corresponding to the public number display mode when the short message display mode is the public number display mode; and the short message display module is used for rendering an interface according to the configuration information so as to display the short message to be displayed in a public number display mode. The embodiment of the invention is different from the traditional short message and the RCS enhanced short message, and the short message content of the short message to be displayed is rendered by adopting the public number display mode, so that the public number display mode adopts an optimized information organization form when displaying the content, the short message content can be displayed more normatively and more diversely, the display effect is better, and the short message processing mode with better effect belongs to the short message processing mode with better effect.
The system embodiment provided in the embodiments of the present invention is for implementing the above method embodiments, and for details of the process and the details, reference is made to the above method embodiments, which are not described herein again.
Fig. 7 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the bus 404. The communication interface 402 may be used for information transfer of an electronic device. Processor 401 may call logic instructions in memory 403 to perform a method comprising:
acquiring a short message to be displayed;
determining a corresponding short message display mode according to the short message type of the short message to be displayed;
when the short message display mode is a public number display mode, acquiring configuration information corresponding to the public number display mode, wherein the public number display mode is a short message display mode corresponding to the intelligent short message;
and performing interface rendering in a preset display interface according to the configuration information so as to perform display operation of the short message to be displayed in a public number display mode corresponding to the configuration information.
In addition, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-described method embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including:
acquiring a short message to be displayed;
determining a corresponding short message display mode according to the short message type of the short message to be displayed;
when the short message display mode is a public number display mode, acquiring configuration information corresponding to the public number display mode, wherein the public number display mode is a short message display mode corresponding to the intelligent short message;
and performing interface rendering in a preset display interface according to the configuration information so as to perform display operation of the short message to be displayed in a public number display mode corresponding to the configuration information.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A city business card service method based on interactive short message and WebXR is characterized by comprising the following steps:
acquiring a short message to be displayed;
determining a corresponding short message display mode according to the short message type of the short message to be displayed;
when the short message display mode is a public number display mode, acquiring configuration information corresponding to the public number display mode, wherein the public number display mode is a short message display mode corresponding to the intelligent short message;
and performing interface rendering in a preset display interface according to the configuration information so as to perform display operation of the short message to be displayed in a public number display mode corresponding to the configuration information.
2. The city business card service method based on interactive short message and WebXR as claimed in claim 1, wherein the determining of the corresponding short message display mode according to the short message type of the short message to be displayed specifically comprises:
extracting a sender number from the short message to be displayed;
when the number of the sender is a preset organization number, determining that the short message type of the short message to be displayed is the intelligent short message;
and setting a short message display mode corresponding to the short message to be displayed as a public number display mode.
3. The city business card service method based on interactive short message and WebXR as claimed in claim 1, wherein when the short message display mode is a public number display mode, the obtaining of configuration information corresponding to the public number display mode specifically comprises:
when the short message display mode is a public number display mode, detecting whether historical short messages corresponding to the short messages to be displayed exist;
and when the historical short message does not exist, sending an information request to a configuration server so that the configuration server responds to the information request and feeds back configuration information corresponding to the public number display mode.
4. The city business card service method based on interactive short message and WebXR as claimed in any one of claims 1 to 3, wherein after interface rendering is performed in a preset display interface according to the configuration information to perform the display operation of the short message to be displayed in a public number display mode corresponding to the configuration information, the city business card service method based on interactive short message and WebXR further comprises:
acquiring a first user operation in the preset display interface;
when the first user operation triggers a first preset component, calling a camera to shoot an image so as to obtain a current image;
sending the current image to an image server so that the image server performs image matching on the current image, acquiring virtual model information matched with the current image when the matching is successful, and feeding back the virtual model information;
and displaying the virtual model information in a preset background image.
5. The city card service method based on interactive short message and WebXR as claimed in claim 4, wherein after the virtual model information is displayed in the preset background image, the city card service method based on interactive short message and WebXR further comprises:
monitoring whether gesture control operation input by a user exists or not;
and when the gesture control operation is monitored, changing the display mode of the virtual model information according to the gesture control operation.
6. The city business card service method based on interactive short message and WebXR as claimed in any one of claims 1 to 3, wherein after interface rendering is performed in a preset display interface according to the configuration information to perform the display operation of the short message to be displayed in a public number display mode corresponding to the configuration information, the city business card service method based on interactive short message and WebXR further comprises:
acquiring a second user operation in the preset display interface;
and when the second user operation triggers a second preset component, performing panoramic rendering to obtain a current panoramic image and displaying the current panoramic image.
7. The interactive short message and WebXR-based city card service method of claim 6, wherein when the second user operation triggers a second preset component, performing panoramic rendering to obtain a current panoramic image, and displaying the current panoramic image, the interactive short message and WebXR-based city card service method further comprises:
monitoring whether a scene switching operation input by a user exists;
when the scene switching operation is monitored, determining a current scene section corresponding to the current panoramic image, and switching the current scene section into a target scene section according to the scene switching operation.
8. A city business card service system based on interactive short message and WebXR is characterized by comprising:
the short message receiving module is used for acquiring a short message to be displayed;
the mode determining module is used for determining a corresponding short message display mode according to the short message type of the short message to be displayed;
the configuration module is used for acquiring configuration information corresponding to the public number display mode when the short message display mode is the public number display mode, wherein the public number display mode is the short message display mode corresponding to the intelligent short message;
and the short message display module is used for rendering an interface in a preset display interface according to the configuration information so as to display the short message to be displayed in a public number display mode corresponding to the configuration information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the interactive text messaging and WebXR-based city card service method according to any one of claims 1 to 7.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the interactive text messaging and WebXR-based city card service method according to any one of claims 1 to 7.
CN201911261759.4A 2019-12-10 2019-12-10 City business card service method based on interactive short message and WebXR Pending CN110995931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911261759.4A CN110995931A (en) 2019-12-10 2019-12-10 City business card service method based on interactive short message and WebXR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911261759.4A CN110995931A (en) 2019-12-10 2019-12-10 City business card service method based on interactive short message and WebXR

Publications (1)

Publication Number Publication Date
CN110995931A true CN110995931A (en) 2020-04-10

Family

ID=70092052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911261759.4A Pending CN110995931A (en) 2019-12-10 2019-12-10 City business card service method based on interactive short message and WebXR

Country Status (1)

Country Link
CN (1) CN110995931A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639756A (en) * 2015-02-10 2015-05-20 北京羽乐创新科技有限公司 Short message display method and device
CN106910049A (en) * 2017-03-24 2017-06-30 上海凯泉泵业(集团)有限公司 A kind of wisdom safety standard pump house AR(Augmented reality)Management system
WO2018078517A1 (en) * 2016-10-31 2018-05-03 Rana Mohit System and method for creating an internet identity based on the user's existing verifiable identity
CN108597028A (en) * 2018-04-11 2018-09-28 北京邮电大学 A kind of method, apparatus and equipment of continuous load Web AR objects
CN109213834A (en) * 2017-06-29 2019-01-15 深圳市掌网科技股份有限公司 A kind of guidance method and system based on augmented reality
CN109547953A (en) * 2018-12-06 2019-03-29 北京邮电大学 For the WebXR service enhancement method and device of short message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639756A (en) * 2015-02-10 2015-05-20 北京羽乐创新科技有限公司 Short message display method and device
WO2018078517A1 (en) * 2016-10-31 2018-05-03 Rana Mohit System and method for creating an internet identity based on the user's existing verifiable identity
CN106910049A (en) * 2017-03-24 2017-06-30 上海凯泉泵业(集团)有限公司 A kind of wisdom safety standard pump house AR(Augmented reality)Management system
CN109213834A (en) * 2017-06-29 2019-01-15 深圳市掌网科技股份有限公司 A kind of guidance method and system based on augmented reality
CN108597028A (en) * 2018-04-11 2018-09-28 北京邮电大学 A kind of method, apparatus and equipment of continuous load Web AR objects
CN109547953A (en) * 2018-12-06 2019-03-29 北京邮电大学 For the WebXR service enhancement method and device of short message

Similar Documents

Publication Publication Date Title
CN107809492B (en) Method and system for generating shared information
US10863310B2 (en) Method, server and terminal for information interaction
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US10929460B2 (en) Method and apparatus for storing resource and electronic device
US20150271118A1 (en) Apparatus and method for accessing content in an email message
WO2009149354A2 (en) Systems and methods for creating and sharing a presentation
CN104778621B (en) Clap the implementation method for selling business and client and server-side
CN110069738B (en) Information processing method and device, terminal equipment and server
TW201737681A (en) Method and apparatus for implementing instant messaging
CN107169147B (en) Data processing method and device and electronic equipment
CN105988790B (en) Information processing method, sending terminal and receiving terminal
CN114245228A (en) Page link releasing method and device and electronic equipment
CN112817671A (en) Image processing method, device, equipment and computer readable storage medium
CN106953924B (en) Processing method of shared information and shared client
CN104639593A (en) Information sharing method and system, browser and server
CN110889057B (en) Service data visualization method and service object visualization device
CN112272328B (en) Bullet screen recommendation method and related device
WO2014072739A1 (en) Video distribution
KR20190075596A (en) Method for creating augmented reality contents, method for using the contents and apparatus using the same
CN105204718B (en) Information processing method and electronic equipment
TWI515684B (en) Method and apparatus for message processing and system thereof
CN109688041B (en) Information processing method and device, server, intelligent terminal and storage medium
CN109918168A (en) Show method, electronic equipment and the computer-readable medium of graphic code
CN110995931A (en) City business card service method based on interactive short message and WebXR
CN111970402A (en) Information processing method and device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410