CN110377200B - Shared data generation method and device and storage medium - Google Patents

Shared data generation method and device and storage medium Download PDF

Info

Publication number
CN110377200B
CN110377200B CN201910691320.9A CN201910691320A CN110377200B CN 110377200 B CN110377200 B CN 110377200B CN 201910691320 A CN201910691320 A CN 201910691320A CN 110377200 B CN110377200 B CN 110377200B
Authority
CN
China
Prior art keywords
shared data
instruction
data generation
target
target element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910691320.9A
Other languages
Chinese (zh)
Other versions
CN110377200A (en
Inventor
郭微
夏洲
熊明钧
韩朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910691320.9A priority Critical patent/CN110377200B/en
Publication of CN110377200A publication Critical patent/CN110377200A/en
Application granted granted Critical
Publication of CN110377200B publication Critical patent/CN110377200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device and a storage medium for generating shared data, wherein at least one alternative element is obtained, and the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area; receiving a sharing data generation instruction of a first target element in at least one alternative element; and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction. The embodiment of the invention provides a mode for generating sharing data, which can generate the sharing data for a target geographic area so as to share the sharing data with other users, a paper postcard is not needed, the sharing data is convenient for the users to carry, the limitation of the paper postcard is broken, the generation process is convenient and quick, and the operation efficiency is improved.

Description

Shared data generation method and device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for generating shared data, and a storage medium.
Background
With the increasing living standard of people, the tourist attractions become an excellent choice for people to enjoy leisure and entertainment. The stores at the tourist attractions typically sell paper postcards for purchase by people.
The paper postcard usually uses a photo of a tourist attraction as a background, for example, a certain known place in the tourist attraction as a background, or a certain known landscape in the tourist attraction as a background. Tourist attractions can be displayed for people through the paper postcard, and people can be deepened about the tourist attractions. People can buy the paper postcard and reserve as souvenir, and remember the tourist attraction by watching the paper postcard in the future. However, the paper postcard is made of paper material, and is very inconvenient for the user to carry.
Disclosure of Invention
The embodiment of the invention provides a shared data generation method, a device and a storage medium, which break through the limitation of paper postcards, are convenient and quick in generation process and improve the operation efficiency. The technical scheme is as follows:
in one aspect, a method for generating shared data is provided, where the method includes:
obtaining at least one alternative element, wherein the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area;
receiving a shared data generation instruction of a first target element in the at least one alternative element, wherein the shared data generation instruction is used for indicating generation of shared data of the first target element;
and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction.
In one possible implementation manner, the receiving a shared data generation instruction for a first target element in the at least one candidate element includes:
displaying a first information presentation interface, wherein the first information presentation interface comprises the at least one position point;
when the trigger operation on a target position point in the first information display interface is detected, determining that a shared data generation instruction of the target position point is received; alternatively, the first and second electrodes may be,
when the triggering operation of the target position point in the first information display interface is detected, displaying a sharing data generation option of the target position point, and when the triggering operation of the sharing data generation option is detected, determining that a sharing data generation instruction of the target position point is received; alternatively, the first and second electrodes may be,
the first information display interface further comprises a shared data generation option, and when the triggering operation of the shared data generation option is detected, it is determined that a shared data generation instruction for the first target element is received, wherein the first target element is a target element which is set by default in the at least one alternative element.
In another possible implementation manner, the receiving a shared data generation instruction for a first target element in the at least one candidate element includes:
displaying a second information display interface, wherein the second information display interface comprises a material information inquiry option;
when the triggering operation of the material information query option is detected, displaying a third information display interface, wherein the third information display interface comprises the at least one alternative element and the material information of the at least one alternative element;
when the triggering operation on the first target element is detected, displaying a sharing data generation option;
when the triggering operation of the sharing data generation option is detected, determining that a sharing data generation instruction of the first target element is received.
In another possible implementation manner, the obtaining at least one alternative element includes:
displaying a shared data link shared by a second user identifier to a currently logged first user identifier, wherein the shared data link comprises the first target element and shared data generated by the second user identifier according to material information corresponding to the first target element;
when a trigger instruction for the shared data link is received, acquiring the first target element and the shared data, and displaying a shared data generation option based on the acquired first target element and the shared data;
the receiving a shared data generation instruction for a first target element in the at least one candidate element includes:
when the triggering operation of the sharing data generation option is detected, determining that a sharing data generation instruction of the first target element is received.
In another possible implementation manner, the generating, based on the shared data generating instruction, first shared data according to material information corresponding to the first target element includes:
and acquiring material information corresponding to the first target element, and generating first sharing data of the first target element according to the material information.
In another possible implementation manner, the first shared data is obtained by processing the material information according to a first template, and after generating the first shared data according to the material information corresponding to the first target element based on the shared data generation instruction, the method further includes:
when a template switching instruction is received, acquiring a second template switched by the first template based on the template switching instruction;
and processing the material information according to the second template to obtain second shared data.
In another possible implementation manner, after the generating, based on the shared data generating instruction, first shared data according to material information corresponding to the first target element, the method further includes:
when an editing instruction of the first shared data is received, displaying a shared data editing interface;
and editing the first shared data according to the editing operation detected in the shared data editing interface to obtain third shared data.
In another possible implementation manner, after the generating, based on the shared data generating instruction, first shared data according to material information corresponding to the first target element, the method further includes:
displaying a shared data display interface, wherein the shared data display interface comprises the first shared data and the at least one alternative element;
when the selection operation of a second target element in the at least one alternative element is detected, determining that a sharing data generation instruction of the second target element is received, and generating fourth sharing data according to material information of the second target element based on the received sharing data generation instruction.
In another possible implementation, the method further includes:
and when a storage instruction of the currently generated shared data is received, storing the shared data into a picture database.
In another possible implementation, the method further includes:
when a sharing instruction of currently generated shared data is received, displaying an identification selection interface, wherein the identification selection interface comprises at least one of a personal user identification and a group user identification which are associated with a currently logged-in first user identification;
acquiring a third user identifier selected from the identifier selection interface;
and generating a shared data link according to the shared data, and sharing the shared data link to the third user identifier.
In another aspect, there is provided a shared data display apparatus, the apparatus including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring at least one alternative element, and the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area;
a receiving module, configured to receive a shared data generation instruction for a first target element in the at least one candidate element, where the shared data generation instruction is used to instruct generation of shared data of the first target element;
and the generating module is used for generating first shared data according to the material information corresponding to the first target element based on the shared data generating instruction.
In one possible implementation, the receiving module includes:
the first display unit is used for displaying a first information display interface, and the first information display interface comprises the at least one position point;
the first determining unit is used for determining that a shared data generating instruction of a target position point is received when the triggering operation of the target position point in the first information display interface is detected;
the second determining unit is used for displaying a sharing data generation option of the target position point when the triggering operation of the target position point in the first information display interface is detected; when the triggering operation of the shared data generation option is detected, determining that a shared data generation instruction of the target position point is received;
the first information display interface further comprises a shared data generation option, and the third determining unit is used for determining that a shared data generation instruction for the first target element is received when the triggering operation of the shared data generation option is detected, wherein the first target element is a target element which is set by default in the at least one alternative element.
In another possible implementation manner, the receiving module includes:
the second display unit is used for displaying a second information display interface, and the second information display interface comprises material information inquiry options;
the third display unit is used for displaying a third information display interface when the triggering operation of the material information query option is detected, wherein the third information display interface comprises the at least one alternative element and the material information of the at least one alternative element;
the fourth display unit is used for displaying a sharing data generation option when the triggering operation of the first target element is detected;
a fourth determining unit, configured to determine that a shared data generation instruction for the first target element is received when a trigger operation on the shared data generation option is detected.
In another possible implementation manner, the first obtaining module includes:
the fifth display unit is used for displaying a shared data link shared by a second user identifier to a currently logged first user identifier, wherein the shared data link comprises the first target element and shared data generated by the second user identifier according to material information corresponding to the first target element;
the first obtaining unit is used for obtaining the first target element and the shared data when a trigger instruction of the shared data link is received;
a sixth display unit, configured to display a shared data generation option based on the acquired first target element and the shared data;
the receiving module comprises:
and the receiving unit is used for determining that a shared data generation instruction for the first target element is received when the triggering operation of the shared data generation option is detected.
In another possible implementation manner, the generating module includes:
and the second acquisition unit is used for acquiring material information corresponding to the first target element and generating first shared data of the first target element according to the material information.
In another possible implementation manner, the first shared data is obtained by processing the material information according to a first template, and the apparatus further includes:
the second acquisition module is used for acquiring a second template switched by the first template based on the template switching instruction when the template switching instruction is received;
and the processing module is used for processing the material information according to the second template to obtain second shared data.
In another possible implementation manner, the apparatus further includes:
the first display module is used for displaying a shared data editing interface when an editing instruction of the first shared data is received;
and the editing module is used for editing the first shared data according to the editing operation detected in the shared data editing interface to obtain third shared data.
In another possible implementation manner, the apparatus further includes:
the second display module is used for displaying a shared data display interface, and the shared data display interface comprises the first shared data and the at least one alternative element;
the receiving module is configured to determine that a shared data generation instruction for a second target element in the at least one candidate element is received when a selection operation for the second target element is detected;
the generating module is used for generating fourth shared data according to the material information of the second target element based on the received shared data generating instruction.
In another possible implementation manner, the apparatus further includes:
and the storage module is used for storing the shared data into the picture database when a storage instruction of the currently generated shared data is received.
In another possible implementation manner, the apparatus further includes:
the third display module is used for displaying an identification selection interface when a sharing instruction of the currently generated sharing data is received, wherein the identification selection interface comprises at least one of a personal user identification and a group user identification which are associated with a currently logged-in first user identification;
the third acquisition module is used for acquiring a third user identifier selected from the identifier selection interface;
and the sharing module is used for generating a shared data link according to the shared data and sharing the shared data link to the third user identifier.
In another aspect, a shared data display apparatus is provided, the apparatus including a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the operations as performed in the shared data generating method.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by a processor to implement the operations as performed in the shared data generating method.
According to the method, the device and the storage medium for generating the shared data, provided by the embodiment of the invention, at least one alternative element is obtained, and the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area; receiving a shared data generation instruction of a first target element in at least one alternative element, wherein the shared data generation instruction is used for indicating generation of shared data of the first target element; and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction. The embodiment of the invention provides a mode for generating sharing data, which can generate the sharing data for a target geographic area so as to share the sharing data with other users, a paper postcard is not needed, the sharing data is convenient for the users to carry, the limitation of the paper postcard is broken, the generation process is convenient and quick, and the operation efficiency is improved.
And the terminal can switch the templates according to the received template switching instruction and generate shared data corresponding to the switched templates, so that the shared data in various styles can be provided for the user to select, the styles of the shared data are enriched, and the selectivity of the user on the shared data is improved.
In addition, the terminal provides multiple alternative elements of the target geographic area for the user, so that the user can select the target element needing to generate the shared data from the multiple alternative elements according to the requirement to generate the shared data corresponding to the target element, the shared data of multiple elements can be provided for the user to select, the style of the shared data is enriched, the operation of the user is simple and convenient, and the operation efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of an implementation environment provided by an embodiment of the invention;
fig. 3 is a flowchart of a shared data generation method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a first information presentation interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another first information presentation interface provided by an embodiment of the invention;
FIG. 6 is a schematic diagram of another first information presentation interface provided by an embodiment of the present invention;
FIG. 7 is a diagram of an information display window according to an embodiment of the present invention;
FIG. 8 is a schematic illustration of a profile interface provided by an embodiment of the present invention;
FIG. 9 is a diagram of a shared data display interface according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another shared data display interface according to an embodiment of the invention;
FIG. 11 is a schematic diagram of another shared data display interface according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of another shared data display interface according to an embodiment of the invention;
fig. 13 is a schematic view of another shared data display interface according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of an identification selection interface provided by an embodiment of the invention;
FIG. 15 is a schematic diagram of another shared data display interface according to an embodiment of the invention;
FIG. 16 is a schematic diagram of another shared data display interface according to an embodiment of the invention;
fig. 17 is a flowchart of another shared data generating method according to an embodiment of the present invention;
fig. 18 is a flowchart of another shared data generating method according to an embodiment of the present invention;
FIG. 19 is a diagram illustrating a picture selection interface according to an embodiment of the present invention;
FIG. 20 is a diagram illustrating a third shared data according to an embodiment of the present invention;
FIG. 21 is a schematic diagram of a map selection interface provided by an embodiment of the present invention;
FIG. 22 is a diagram illustrating another third shared data according to an embodiment of the present invention;
fig. 23 is a flowchart of another shared data generating method according to an embodiment of the present invention;
FIG. 24 is a diagram of a shared data display interface according to an embodiment of the present invention;
fig. 25 is a schematic structural diagram of a shared data generation apparatus according to an embodiment of the present invention;
fig. 26 is a schematic structural diagram of another shared data generating apparatus according to an embodiment of the present invention;
fig. 27 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 28 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The invention provides a shared data generation method which can generate shared data for a user and is convenient for the user to carry.
The method can be applied to the guiding function application of terminal operation, the guiding function application is used for guiding the user, and the user can deeply experience the essence content of the scenic spot, including the scenic spot internal comprehensive service of items such as guide, explanation, knowledge question and answer. That is, the guidance function application is used to provide guidance services for one or more geographical areas for the user, such as tour guide, generation of postcards, regional introduction, and the like, and the user can visit the geographical areas according to the guidance services provided by the guidance function application.
In a possible implementation manner, the guidance function application is an application running independently on the terminal, and the embodiment of the present invention provides an implementation environment as shown in fig. 1, where the implementation environment includes a terminal 101 and a guidance application server 102, and the terminal 101 and the guidance application server 102 are connected through a network.
The terminal 101 installs a guidance function application, and logs in the guidance function application based on a user identifier, which may be a telephone number, a user account, a user nickname, or the like, and can determine an identifier of a corresponding user.
The guidance application server 102 is a background server of the guidance function application, the terminal 101 interacts with the guidance application server 102 through the guidance function application, and the guidance application server 102 provides resources for the guidance function application to realize the function of providing the guidance service.
The terminal 101 may be a mobile phone, a computer, a tablet computer, or other various devices. The bootstrap application server 102 may be a server, a server cluster composed of several servers, or a cloud computing service center.
In another possible implementation, the guidance function application runs in an internet application, which may be an instant messaging application, an electronic payment application, a mapping application, and other applications. The embodiment of the present invention provides an implementation environment as shown in fig. 2, where the implementation environment includes a terminal 201, a guidance application server 202, and an internet application server 203, the terminal 201 and the guidance application server 202 are connected through a network, and the guidance application server 202 and the internet application server 203 are connected through a network.
The terminal 201 installs the internet application and logs in the internet application based on the user identification.
The internet application server 202 is a background server of the internet application, the guidance function application runs in the internet application, the guidance application server 202 is a background server of the guidance function application, the terminal 201 interacts with the guidance application server 202 through the guidance function application, and the guidance application server 202 provides resources for the guidance function application to realize the function of providing the guidance service.
The guidance function application may be a public number or an applet in an internet application. A Mini Program (Mini Program) is an application that can be used without downloading and installing. In order to provide more diversified business services to users, developers can develop corresponding applets for the internet applications of the terminal, the applets can be embedded into the internet applications as sub-applications, and the corresponding services can be provided to the users by running the sub-applications (i.e. the corresponding applets) in the internet applications.
The shared data generation method provided by the embodiment of the invention can be applied to scenes of visiting scenic spots, and when a user visits in a scenic spot, the guide function application of the scenic spot is opened through the terminal to enjoy guide services provided by the guide function application. By adopting the method provided by the embodiment of the invention, the electronic postcard of the scenic spot can be generated, and the user can edit and change the generated electronic postcard to generate the personalized electronic postcard.
Or, the shared data generation method provided by the embodiment of the present invention may also be applied to a postcard collection scene, where a user generates an electronic postcard in any scene area through a terminal, and stores the generated electronic postcard in the terminal, so as to achieve the effect of collecting the postcard.
Or, the sharing data generation method provided by the embodiment of the present invention may also be applied to a postcard sharing scenario, where a user generates an electronic postcard in any scene area through a terminal, and shares the generated electronic postcard with other users, so as to achieve the effect of sharing a postcard.
Fig. 3 is a flowchart of a shared data generating method according to an embodiment of the present invention, where the method is applied to a terminal, and the terminal may be a mobile phone, a personal computer, a tablet computer, or the like. Referring to fig. 3, the method includes:
301. at least one alternative element is obtained.
Wherein the at least one alternative element comprises at least one of at least one location point within the target geographic area or a theme preset for the target geographic area.
The target geographic area may be a geographic area such as a scenic spot, a museum, a lighthouse, an amusement park, or a beacon in a city. The target geographic area includes at least one alternate element.
1. Regarding location points within the target geographic area:
the location point may be a sight spot in a scenic spot, an exhibition area in a museum, a location of an entertainment facility in an amusement park, etc. One or more location points may be included in a target geographic area. For example, the location point of the target geographic area may be the XX lake, YY palace, etc. in the scenic spot.
2. Theme preset with respect to the target geographical area: the theme of the target geographic area may be set according to the characteristics of the target geographic area, and may represent the style type to which the target geographic area belongs, for example, the theme is an event frequently held by the target geographic area, a weather type for making the target geographic area more ornamental, and the like, such as a night, a snow scene.
302. And displaying a first information display interface, wherein the first information display interface comprises at least one position point.
When a user plays in any geographic area, triggering a guide function application in a terminal, detecting the operation of triggering the guide function application by the terminal, and displaying a first information display interface through the guide function application so as to generate sharing data in the guide function application subsequently. The shared data is data that can be shared, such as postcards, photos or other types of data.
In one possible implementation manner, the guidance function application is an application that provides guidance service specifically for the target geographic area, and therefore an application interface of the guidance function application is the first information presentation interface of the target geographic area.
In another possible implementation manner, the guidance function application provides guidance services for a plurality of geographic areas, when the terminal displays an application interface of the guidance function application through the guidance function application, the application interface includes the plurality of geographic areas, and when a trigger operation on a target geographic area is detected, a first information display interface of the target geographic area is displayed.
The first information display interface comprises at least one position point, the terminal displays the first information display interface, and a user can view the at least one position point through the first information display interface.
In one possible implementation, a plurality of location points are displayed in the first information presentation interface, a route exists between the location points, and a route between any two location points can also be displayed in the first information presentation interface, so that a tour direction is provided for a user.
When the user views the first information display interface, the layout of the target geographic area and the route leading to each position point can be determined according to the first information display interface, the user can conveniently walk in the target geographic area, and the playing efficiency of the user in the target geographic area is improved.
For example, as shown in fig. 4, the first information display interface includes a plurality of location points, which are a sight spot 1, a sight spot 2, a sight spot 3, a sight spot 4, and a sight spot 5, and further includes routes between the sight spots.
At least one alternative element can be displayed in the first information presentation interface, and one or more functional options of a target geographic area can also be displayed. Each function option is used for triggering execution of a corresponding operation on the target geographic area. The one or more functionality options may include a share data generation option, a commentary option, a profile option, and the like.
The sharing data generation option is used for triggering the operation of generating the sharing data. The commentary option is used for triggering the operation of playing the voice audio of the target geographic area. The profile option is used to trigger an operation to display profile information for the target geographic area.
In the embodiment of the invention, the terminal can receive the sharing data generation instruction based on the first information display interface by displaying the first information display interface of the target geographic area, so that the sharing data of the target geographic area is generated for the user.
303. The first information display interface comprises a shared data generation option, and when the triggering operation of the shared data generation option is detected, the shared data generation instruction of the first target element is determined to be received.
The first information display interface comprises a sharing data generation option which is used for triggering a sharing data generation instruction. When the terminal detects the triggering operation of the shared data generation option in the first information display interface, the shared data generation instruction of the target geographic area is determined to be received.
The shared data generation instruction is used for indicating generation of shared data of the first target element, and the trigger operation may be a single-click operation, a double-click operation, a long-press operation, or other operations. The first target element is a target element of default setting in the at least one alternative element.
For example, as shown in fig. 5, the first information display interface includes a plurality of position points and a sharing data generation option, the position points are a sight spot 1, a sight spot 2, a sight spot 3, a sight spot 4, and a sight spot 5, and the sharing data generation option is located at the upper right corner of the first information display interface.
In an embodiment of the present invention, an example is given that the shared data generation instruction is triggered by a trigger operation on a shared data generation option, in another embodiment, the shared data generation instruction may also be triggered by a preset operation, and when the terminal detects the preset operation in the first information display interface, it is determined that the shared data generation instruction for the first target element is received. The preset operation may be an operation with an L-shaped operation track, an operation with an operation track where both hands slide simultaneously, or the like.
Regarding the manner of determining the first target element, the first target element set by default in the multiple candidate elements may be obtained based on the shared data generation instruction.
The first target element of the default setting may be any one of the candidate elements selected from the at least one candidate element, or the first target element may also be a candidate element generated the most times from the at least one candidate element, or the first target element may also be a candidate element selected in another manner.
In another embodiment, the first information presentation interface includes at least one location point in the target geographic area, where the at least one location point may be one location point or multiple location points, and step 303 may be replaced with any of the following steps:
1. when the triggering operation of the target position point in the first information display interface is detected, the shared data generation instruction of the target position point is determined to be received. The target location point is any one of the at least one location point. The trigger operation may be a single click operation, a double click operation, a long press operation, or other types of operations.
2. When the triggering operation of the target position point in the first information display interface is detected, the shared data generation option of the target position point is displayed, and when the triggering operation of the shared data generation option is detected, the shared data generation instruction of the target position point is determined to be received. The target position point is any one of the at least one position point. The trigger operation may be a single click operation, a double click operation, a long press operation, or other types of operations.
For example, as shown in fig. 6, the first information display interface includes a plurality of location points, where the location points are a sight spot 1, a sight spot 2, a sight spot 3, a sight spot 4, and a sight spot 5, and when the user triggers the sight spot 1 through the first information display interface, an option including a word "share data" is displayed, and when the option is triggered, it is determined that a share data generation instruction for the sight spot 1 is received.
3. When the triggering operation of the target position point in the first information display interface is detected, an information display window of the target position point is displayed, and when the triggering operation of the brief introduction interface of the target position point is detected in the information display window, a brief introduction interface of the target position point is displayed, wherein the brief introduction interface comprises the name of the target position point, a sharing data generation option, a detailed brief introduction, a description option and the like. And when the triggering operation of the shared data generation option is detected through the introduction interface, determining that a shared data generation instruction of the target position point is received.
The information display window may include a function option of the target location point, where the function option is used to trigger execution of a corresponding operation on the target location point. The function options may include a name of the target location point, profile thumbnail information of the target location point, a description option of the target location point, and a route option. The explaining option is used for triggering the operation of playing the voice audio of the target position point, and the route option is used for triggering the operation of displaying the route moved to the target position point from the current position.
And the information presentation window can also comprise brief introduction abbreviated information of the target position point, and the triggering operation on the brief introduction interface of the target position point can be a triggering operation on the brief introduction abbreviated information, namely when the triggering operation on the brief introduction abbreviated information is detected, the brief introduction interface of the target position point is displayed.
For example, referring to fig. 7, when a trigger operation on an attraction 1 is detected, an information presentation window corresponding to the attraction 1 is displayed, and the information presentation window includes, as shown in fig. 7, a name of the attraction 1, profile thumbnail information, a sharing data generation option, a comment option, and a route option. When the triggering operation of the brief description information is detected, the brief description interface of the scenery 1 is displayed, and the brief description interface is as shown in fig. 8 and comprises the name of the scenery 1, the sharing data generation option, the detailed brief description of the scenery 1 and the comment option.
In the step 1-3, a shared data generation instruction for a target position point is received by performing a trigger operation on the target position point in the plurality of position points, where the target position point is the first target element.
304. And generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction.
The terminal receives a sharing data generation instruction, determines a first target element from the at least one alternative element, acquires material information corresponding to the first target element, and generates first sharing data of the first target element according to the material information. Wherein, the at least one alternative element may be one alternative element or a plurality of alternative elements.
Firstly, regarding material information:
and each alternative element is provided with corresponding material information, and the material information comprises at least one of a background picture, a user identifier, a graphic code, element information and character information. The background picture may be a picture related to the alternative element, such as a picture of a location point, a moving picture of a certain subject, and the like. The user identifier is a user identifier of a terminal currently logged in, the graphic code contains a link address of shared data, and other devices can check the generated shared data according to the link address in the graphic code by scanning the graphic code, or can jump to a first information display interface corresponding to the graphic code, and check the layout of the target geographic area in the first information display interface. The graphic code may be a two-dimensional code, a bar code or other type of graphic code. The element information is used to indicate a corresponding candidate element, and may be element information of a location point or description information of a topic, etc. The text information is used for describing the alternative elements or describing the background picture, for example, the text information may be poetry information, lyric information or other types of information.
The material information may be material information stored in the terminal, or may also be material information stored in the server.
In a possible implementation manner, a corresponding relation between an alternative element and material information is stored in a server, when a terminal receives a sharing data generation instruction, the sharing data generation instruction includes a first target element, a material information acquisition request carrying the first target element is sent to the server, when the server receives the material information acquisition request, material information corresponding to the first target element is determined according to the first target element in the material acquisition request and the corresponding relation, the determined material information is sent to the terminal, and the terminal receives the material information.
In another possible implementation manner, the terminal stores a corresponding relationship between the alternative element and the material information, when the terminal receives a sharing data generation instruction, the sharing data generation instruction includes a first target element, and the material information corresponding to the first target element is determined according to the first target element and the corresponding relationship.
Secondly, the process of generating the first shared data comprises the following steps:
in a possible implementation manner, one or more templates corresponding to each candidate element may be set, and multiple templates in the multiple candidate elements may be the same or different, and each template is used to indicate the position of one or more types of material information in the shared data to be generated. The material information comprises a plurality of material information items, the material information items can be at least one of background pictures, user identifications, graphic codes, element information and character information, each material information item belongs to one type, and then the material information corresponding to the first target element can be processed according to a template corresponding to the first target element to generate first sharing data. Thus, step 304 may also include step 3043:
3043. the terminal obtains the material information and the first template corresponding to the first target element based on the sharing data generation instruction, and sets material information items belonging to corresponding types in the material information corresponding to the first target element at corresponding positions according to the type and the corresponding position of the material information indicated in the first template to obtain first sharing data corresponding to the first target element.
The first template is one of a plurality of templates corresponding to the first target element. In one possible implementation manner, when the plurality of templates corresponding to the first target element are arranged in sequence, the selected first template is a first template of the plurality of templates. Or, the first template is any one template randomly selected from a plurality of templates corresponding to the first target element.
It should be noted that step 3043 may be combined with any one of steps 3041 and 3042.
For example, when the first share data is generated through step 3041 or step 3042, the determined first target element is a scenery spot 1, the material information corresponding to the scenery spot 1, which is the picture a, the user identifier B, the graphic code C, the element information D, and the text information E, is obtained, and the first share data shown in fig. 9 is generated according to the obtained first template and the material information corresponding to the scenery spot 1.
It should be noted that, when sharing data is the postcard, then the first sharing data that generate is the electronic postcard, and the user only need carry terminal, can look over this electronic postcard in order to look over the content that includes in this electronic postcard in the terminal, need not to reuse paper postcard again, sets up the electronic postcard, and convenience of customers carries.
After the terminal generates the first shared data, the first shared data can be displayed in a shared data display interface.
In a possible implementation manner, the shared data display interface includes a first display area and a second display area, and the first display area and the second display area may be arranged up and down, or the first display area and the second display area may be arranged left and right.
The terminal displays the generated shared data through the first display area, and displays a plurality of candidate elements through the second display area so as to display the generated shared data and the candidate elements in a distinguishing manner. As shown in fig. 9, the first display area and the second display area are arranged up and down, the first shared data including the picture a, the user identifier B, the graphic code C, the element information D, and the text information E is displayed in the first display area, and a plurality of candidate elements are displayed in the second display area: sight 1, sight 2, sight 3, sight 4, sight 5, and sight 6.
By displaying the shared data and the multiple alternative elements in the shared data display interface, the generated shared data can be displayed in the first display area, and the multiple alternative elements can be provided for the user in the second display area, so that the user can select other target elements from the multiple alternative elements, the shared data of the other target elements can be generated, the operation of the user is simplified, and the operation efficiency of the user is improved.
In another possible implementation manner, the shared data display interface may also display only the generated first shared data. As shown in fig. 10, the shared data including the picture a, the user identifier B, the graphic code C, the element information D, and the text information E is displayed in the interface.
305. And when a template switching instruction is received, acquiring a second template switched by the first template based on the template switching instruction.
The template switching instruction is used for indicating switching from the current template to the next template.
Based on the above step 3034, when the template switching instruction is received, the first template may be switched to the second template according to the template switching instruction, and then the material information is processed according to the second template to generate the second shared data.
In one possible implementation, the template switching instruction is triggered by a template switching operation, which may be a sliding operation, a long-press operation, or other operation. For example, when the template switching operation is a left slide operation, the first template is switched to a second template which is one second template above the first template, and when the preset operation is a right slide operation, the first template is switched to a second template which is one second template below the first template.
306. And processing the material information according to the second template to obtain second shared data.
After the terminal acquires the second template, the terminal sets the material information items belonging to the corresponding types at the corresponding positions according to the types and the corresponding positions of the material information indicated in the second template, generates second shared data corresponding to the second template, and can subsequently display the second shared data in a shared data display interface for a user to check.
For example, when the terminal receives a template switching instruction, the first template a may be switched to the second template B according to the template switching instruction, so as to generate another shared data, that is, the shared data shown in fig. 9 is switched to the shared data shown in fig. 11, where the shared data shown in fig. 11 includes a picture a, a user identifier B, a graphic code C, element information D, and text information E.
The first point to be described is that the step 305 and 306 in the embodiment of the present invention are only described by taking the terminal receiving the template switching instruction as an example. In another embodiment, before performing step 305 and step 306, the terminal displays the generated first shared data in the shared data display interface, and cannot perform template switching. When the terminal detects the trigger operation on the first shared data, the first shared data is displayed in a shared data display interface, as shown in fig. 10, the first shared data is initially displayed in the shared data display interface, and template switching may be performed, and by executing step 305 and step 306, the effect of switching the templates may be achieved.
The second point to be described is that, in the embodiment shown in fig. 3, the shared data for generating the first target element is only taken as an example for description. In another embodiment, a shared data display interface is displayed, the shared data display interface includes first shared data and at least one alternative element, when a selection operation on a second target element in the at least one alternative element is detected, it is determined that a shared data generation instruction for the second target element is received, fourth shared data generated according to material information of the second target element based on the received shared data generation instruction is displayed, and the generated fourth shared data can be displayed subsequently.
The process of generating the fourth shared data is similar to the process of generating the first shared data, and is not described herein again.
In a possible implementation manner, the multiple candidate elements are in a selectable state whenever the user needs to switch the target element, and when the user needs to switch the target element, a second target element is selected from the multiple candidate elements, so that second shared data corresponding to the second target element can be generated.
In another possible implementation manner, in order to prevent a user from performing misoperation, the terminal displays the first shared data and the multiple candidate elements in the shared data display interface, where the multiple candidate elements are in an unselected state, and when an unlocking operation of the user is detected, the multiple candidate elements are in a selectable state, and the unlocking operation may be an operation of clicking a background picture of the first shared data, a sliding operation, a long-time pressing operation, and the like. At this time, the user may select any one of the candidate elements, and when the terminal detects a selection operation on a second target element among the plurality of candidate elements, second shared data corresponding to the second target element is generated.
Additionally, on the basis of the embodiment of fig. 3, the selection of the second target element from the plurality of candidate elements may be performed after step 304. Or may also be performed after step 306.
It should be noted that, in the embodiment of the present invention, the step 305 and 306 are executed on the basis of the step 3043, and in another embodiment, the step 305 and 306 are optional steps, and the terminal may not execute the step 305 and 306.
The method provided by the embodiment of the invention comprises the steps of obtaining at least one alternative element, wherein the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area; receiving a shared data generation instruction of a first target element in at least one alternative element, wherein the shared data generation instruction is used for indicating generation of shared data of the first target element; and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction. The embodiment of the invention provides a mode for generating sharing data, which can generate the sharing data for a target geographic area so as to share the sharing data to other users, a paper postcard is not needed to be used, the user can conveniently carry the sharing data, the limitation of the paper postcard is broken, the generation process is convenient and quick, and the operation efficiency is improved.
And the terminal can switch the templates according to the received template switching instruction and generate shared data corresponding to the switched templates, so that the shared data in various styles can be provided for the user to select, the styles of the shared data are enriched, and the selectivity of the user on the shared data is improved.
In addition, the terminal provides a plurality of alternative elements of the target geographic area for the user, so that the user can select the target element needing to generate the shared data from the plurality of alternative elements according to the requirement to generate the shared data corresponding to the target element, the shared data of various elements can be provided for the user to be selected by the user, the style of the shared data is enriched, the operation of the user is simple and convenient, and the operation efficiency is improved.
On the basis of the embodiment shown in fig. 3, in a possible implementation manner, the step 306 may further include the step 3061: and when a storage instruction of the currently generated shared data is received, storing the shared data into the picture database.
The saving instruction is used for indicating that the currently generated sharing data is saved in the picture database. The picture database is used for storing files of types such as pictures, videos and the like.
In one possible implementation, the picture database may be a self-configured database in the terminal, for example, a local album of the terminal. Alternatively, the picture database may also be a picture database in a server bound to the terminal, for example, a cloud album bound to the terminal.
Optionally, as shown in fig. 12, when the shared data is displayed in the shared data display interface, a saving option may also be displayed, and when a trigger operation on the saving option is detected, it is determined that a saving instruction is received, and the currently generated shared data is saved in the picture database.
The trigger operation may be a single-click operation, a double-click operation, a long-press operation, and the like.
When the terminal receives a storage instruction for the first time, a permission granting interface is displayed, when a determination operation is detected through the permission granting interface, a guidance function application is determined to obtain the use permission of the picture database, and the currently generated sharing data is stored in the picture database. And subsequently, when the terminal receives the storage instruction again, the currently generated sharing data can be directly stored in the picture database based on the obtained use permission.
After the terminal stores the shared data in the picture database, the picture database can be called in any scene, and the shared data is selected from the picture database. For example, the shared data may be published to an internet application for viewing by other users, or the shared data may be shared with other users and viewed by other users.
According to the embodiment of the invention, the currently generated shared data is stored by receiving the storage instruction, so that the shared data is convenient for a user to store, and the user can conveniently use the stored shared data in any scene, and the transmission path of the shared data is expanded.
In another possible implementation, the step 306 may further include the step 3062: when a sharing instruction of the currently generated shared data is received, displaying an identification selection interface, wherein the identification selection interface comprises at least one of a personal user identification and a group user identification which are associated with the currently logged-in first user identification, acquiring a third user identification selected from the identification selection interface, generating a shared data link according to the shared data, and sharing the shared data link to the third user identification.
The sharing instruction is used for indicating that the currently generated link of the shared data is shared to other users. The individual user identification is a user identification associated with a first user identification which logs in at present, the user identifications and the first user identification are in a friend relationship, the group user identification is a user identification of a group which the first user identification which logs in at present joins, and the group user identifications are identifications of the group which the first user identification joins.
Optionally, when the shared data is displayed in the shared data display interface, a sharing option may also be displayed, and when a trigger operation on the sharing option is detected, it is determined that a sharing instruction is received. The trigger operation may be a single-click operation, a double-click operation, a long-press operation, or other types of operations.
For example, as shown in fig. 13, when the shared data is displayed in the shared data display interface, a sharing option may also be displayed, when a trigger operation on the sharing option is detected, as shown in fig. 14, an identifier selection interface including a personal user identifier 1, a personal user identifier 2, a group user identifier 3, and a personal user identifier 4 is displayed, and when a selection operation on the personal user identifier 2 is detected, a shared data link is generated according to currently generated shared data, and the shared data link is shared to the personal user identifier 2.
After the terminal generates the shared data link, a sharing request can be sent to the server, the sharing request carries the shared data link and the third user identifier, when the server receives the sharing request, the shared data link can be forwarded to the terminal where the third user identifier is located, and the shared data link is displayed by the terminal where the third user identifier is located.
Optionally, when the guidance function application runs in the internet application, after the terminal generates a shared data link through the guidance function application, the terminal sends a sharing request to the internet application server through the internet application, the sharing request carries the shared data link and the third user identifier, the internet application server receives the sharing request, sends the shared data link to the terminal where the third user identifier is located according to the third user identifier in the sharing request, and the terminal where the third user identifier is located displays the shared data link.
Or when the guidance function application is an application running independently on the terminal, the terminal generates a sharing data link through the guidance function application and then sends a sharing request to the guidance application server, the sharing request carries the sharing data link and the third user identifier, when the guidance application server receives the sharing request, the sharing data link is sent to the terminal where the third user identifier is located, and the sharing data link is displayed by the terminal where the third user is located.
Optionally, when the terminal receives the sharing instruction for the first time, a permission granting interface is displayed, and when a determination operation is detected through the permission granting interface, it is determined that the guidance function application obtains permission to invoke the user identifier associated with the first user identifier, and then the user identifier associated with the first user identifier is invoked, and the invoked user identifier is displayed in the identifier selection interface. And subsequently, when the terminal receives the sharing instruction again, the user identifier associated with the first user identifier can be called based on the obtained calling authority.
In the embodiment of the invention, the link of the shared data is shared to other user identifications associated with the first user identification by triggering the sharing instruction, so that the shared data can be looked up by other user identifications, a way for transmitting the shared data is provided, and the transmission efficiency of the shared data is improved.
It should be noted that, in one possible implementation manner, as shown in fig. 15, when the shared data is displayed in the shared data display interface, the saving option and the sharing option are displayed at the same time, and the user triggers the saving option or the sharing option to implement the saving operation or the sharing operation on the generated shared data. The save option and the share option shown in fig. 16 may also be included in the interface shown in fig. 12.
Fig. 17 is a flowchart of another shared data generation method provided in the embodiment of the present invention, where the method is applied to a terminal, and referring to fig. 17, the method includes:
1701. at least one candidate element is obtained.
Step 1701 is similar to step 301, and is not described herein again.
1702. And displaying a second information display interface, wherein the second information display interface comprises a material information inquiry option.
When a user plays in any geographic area, triggering the guide function application in the terminal, detecting the operation of triggering the guide function application by the terminal, and displaying a second information display interface through the guide function application so as to generate sharing data in the guide function application subsequently. The shared data is data that can be shared, such as postcards, photos, or other types of data.
In one possible implementation manner, the guidance function application is an application that provides guidance service specifically for the target geographic area, and therefore an application interface of the guidance function application is the second information presentation interface.
In another possible implementation manner, the guidance function application provides guidance services for a plurality of geographic areas, when the terminal displays an application interface of the guidance function application through the guidance function application, the application interface includes the plurality of geographic areas, and when a trigger operation on a target geographic area is detected, a second information display interface is displayed.
The mode of the terminal displaying the second information display interface is as follows:
in one possible implementation, the bootstrapping function application runs in an internet application where an associated list of identities is displayed, from which a user can view public identities. And when the terminal detects the trigger operation of the public identification of the guide function application, displaying an application interface of the guide function application.
When the guiding function application is an application specially providing guiding service for a target geographic area, the application interface is a second information display interface, when the guiding function application provides guiding service for a plurality of geographic areas, the plurality of geographic areas are displayed in the application interface, and when the triggering operation of the target geographic area is detected, the second information display interface is displayed.
The identifier list may include one or more public identifiers concerned by the terminal, one or more user identifiers in a user relationship chain of the terminal, such as friends and contacts of the user, and a service identifier provided by the internet application for the terminal, such as a weather forecast identifier.
In another possible implementation manner, the guidance function application is an application running independently on the terminal, and when a trigger operation on the guidance function application is detected, an application interface is displayed.
When the guiding function application provides guiding service for a special target geographic area, the application interface is a second information display interface, when the guiding function application provides guiding service for a plurality of geographic areas, the plurality of geographic areas are displayed in the application interface, and when the triggering operation of the target geographic area is detected, the second information display interface is displayed.
In addition, the user can perform zooming operation on the second information display interface and can zoom the target geographic area displayed in the second information display interface; or, the user may perform a sliding operation on the second information presentation interface, and may move the target geographic area presented in the second information presentation interface, so that the user views other location points of the target geographic area.
In addition, in the second information display interface, a route between any two position points can be displayed. In one possible implementation, a plurality of location points are displayed in the second information presentation interface, a route exists between the plurality of location points, and the route between any two location points is displayed in the second information presentation interface, so that the user is provided with the tour direction.
When the user views the second information display interface, the layout of the target geographic area and the route leading to each position point can be determined according to the second information display interface, the user can conveniently walk in the target geographic area, and the playing efficiency of the user in the target geographic area is improved.
At least one alternative element may be displayed in the second information presentation interface, and one or more functional options for a target geographic area may also be displayed. Each function option is used for triggering execution of a corresponding operation on the target geographic area. The one or more functional options may include a shared data generation option, a commentary option, a profile option, etc., and may also include a material information query option.
The sharing data generation option is used for triggering the operation of generating the sharing data. The commentary option is used for triggering the operation of playing the voice audio of the target geographic area. The profile option is used to trigger an operation to display profile information for the target geographic area. The material information query option is used for querying the material information of the at least one alternative element.
1703. And when the triggering operation of the material information query option is detected, displaying a third information display interface, wherein the third information display interface comprises at least one alternative element and material information of the at least one alternative element.
In a possible implementation manner, the second information display interface includes a material information query option, and when a trigger operation on the material information query option is detected, it is determined that a material information query instruction is received, and a third information display interface is displayed. The trigger operation may be a single-click operation, a double-click operation, a long-press operation, and the like.
For example, a material information query option may be displayed in the upper right corner of the second information display interface, when a trigger operation on the material information query option is detected, a material information query instruction is received, a third information display interface is displayed, and material information of at least one candidate element and at least one candidate element is displayed on the third information display interface.
1704. And when the triggering operation on the first target element is detected, displaying a sharing data generation option.
Wherein the first target element is any one of the at least one alternative element.
1705. When the triggering operation of the shared data generation option is detected, it is determined that a shared data generation instruction for the first target element is received.
1706. And generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction.
The process of steps 1704-1706 is similar to the process of steps 3032 and 304, and will not be described herein again.
The method for generating the shared data, provided by the embodiment of the invention, comprises the steps of obtaining at least one alternative element, wherein the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area; receiving a shared data generation instruction of a first target element in at least one alternative element, wherein the shared data generation instruction is used for indicating generation of shared data of the first target element; and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction. The embodiment of the invention provides a mode for generating sharing data, which can generate the sharing data for a target geographic area so as to share the sharing data with other users, a paper postcard is not needed, the sharing data is convenient for the users to carry, the limitation of the paper postcard is broken, the generation process is convenient and quick, and the operation efficiency is improved.
Fig. 18 is a flowchart of another shared data generation method according to an embodiment of the present invention, and referring to fig. 18, the method includes:
1801. at least one alternative element is obtained.
1802. And displaying a first information display interface, wherein the first information display interface comprises at least one position point.
1803. The first information display interface comprises a sharing data generation option, and when the triggering operation of the sharing data generation option is detected, the sharing data generation instruction of the first target element is determined to be received.
1804. And generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction.
The process in steps 1801 and 1804 is similar to that in steps 301 and 304, and will not be described herein.
1805. And when an editing instruction of the first shared data is received, displaying a shared data editing interface.
For the generated shared data, the user can edit the shared data according to own preference, and the shared data is edited into shared data meeting own requirements. Therefore, a user can trigger an editing instruction for the first shared data in the terminal, and the shared data editing interface is displayed when the terminal receives the editing instruction for the first shared data.
The editing instruction is used for indicating to enter a shared data editing interface, and editing operation on first shared data is executed in the shared data editing interface.
In one possible implementation manner, when the first shared data is displayed, an editing option is displayed, and when a trigger operation on the editing option is detected, it is determined that an editing instruction on the first shared data is received. The trigger operation may be a single-click operation, a double-click operation, a long-press operation, or other types of operations.
In another possible implementation manner, the editing instruction may be triggered by a preset editing operation, where the preset editing operation may be a single-click operation, a double-click operation, a long-press operation, or another type of operation on any material information in the first shared data.
1806. And editing the first shared data according to the editing operation detected in the shared data editing interface to obtain third shared data.
And when the terminal detects the editing operation through the shared data editing interface, determining the type of the editing operation, and editing the material information in the first shared data according to the type of the editing operation to obtain third shared data.
The material information in the first sharing data comprises a plurality of material information items, and the material information items can be at least one of background pictures, user identifications, graphic codes, element information and character information. Therefore, the user can perform an editing operation on any one or more of the material information items, and further perform an editing operation on the first shared data. The type of the editing operation may be a change operation for a background picture, a change operation for text information, a size change operation for any material information item, a position change operation for any material information item, or the like.
Optionally, because the user identifier, the graphic code and the element information in the material information are all fixed and unchangeable contents, the change authority of the user identifier, the graphic code and the element information is not opened, but the change authority of the position and the size of the user identifier, the graphic code and the element information can be opened. The background picture and the character information in the material information belong to changeable contents, so that the changing authority of the background picture and the character information and the changing authority of the position and the size of the background picture and the character information can be opened.
In one possible implementation, the step 1806 may include at least one of the steps 1816-1856:
1816. when the background picture replacing operation is detected in the shared data editing interface, pictures stored in the picture database are displayed in the shared data editing interface, and when the selecting operation of any picture is detected, the background picture is replaced by the selected picture, so that third shared data are obtained.
The picture database may be a picture database stored in the terminal, or may be a picture database stored in the server. When the picture database is stored in the server, the server can send the pictures stored in the picture database to the terminal for display.
For example, as shown in fig. 19, when an operation of clicking on picture a is detected in the shared data editing interface, pictures 1, 2, 3, 4, and 5 in the picture database are displayed, and when a selection operation of picture 3 is detected, this picture a is replaced with picture 3, and third shared data as shown in fig. 20 is generated.
1826. When the background picture mapping operation is detected in the shared data editing interface, the mapping stored in the mapping database is displayed in the shared data editing interface, and when the dragging operation of the target mapping is detected, the target mapping is added at the termination position of the dragging operation in the shared data editing interface, so that third shared data is obtained.
The map database may be a map database stored in the terminal, or may be a map database stored in the server. When the mapping database is stored in the terminal, the mapping database can be directly called, and when the mapping database is stored in the server, the server can send the mapping stored in the mapping database to the terminal for display.
For example, as shown in fig. 21, when a background picture map operation is detected in the shared data editing interface, the map 6, the map 7, the map 8, the map 9, and the map 10 in the map database are displayed, and when a drag operation on the map 10 is detected, the map 10 is added to the first shared data shown in fig. 6, and the third shared data shown in fig. 22 is generated.
1836. When the editing operation of the text information is detected in the shared data editing interface, the edited text information is obtained, the original text information is replaced by the edited text information, and third shared data is obtained.
In the shared data editing interface, the first shared data is in an editable state, and when the editing operation on the text information is detected in the shared data editing interface, the edited text information is acquired, and the originally displayed text information is changed into the edited text information.
The editing operation on the text information can be operations of changing fonts, changing font sizes, adding texts, deleting texts, adjusting the sequence of the texts and the like.
In step 1846, when a drag operation on any material information item is detected in the shared data editing interface, the material information item is moved to the termination position of the drag operation, and the third shared data is obtained.
In step 1856, when a resizing operation is detected in the shared data editing interface, determining a material information item corresponding to the resizing operation, and adjusting the size of the material information item according to the resizing operation to ensure that the size of the material information item is a size required by a user, thereby obtaining third shared data.
In one possible implementation, each of the material information items is provided with a minimum size and a maximum size, and when the size of each of the material information items is adjusted, the size of the material information item cannot be smaller than the set minimum size and cannot be larger than the set maximum size.
The terminal may combine at least two of the above steps 1816-1856 to perform various editing operations on the shared data.
Optionally, a plurality of material information items in the first shared data respectively belong to different layers, the material information items on each layer may be edited, and after the editing is completed, the material information items belonging to different layers may be combined to obtain edited third shared data.
In the embodiment of the present invention, after the third shared data is obtained, an edit completion instruction may be subsequently received through the shared data editing interface, and the third shared data is displayed.
The editing completion instruction is used for indicating completion of editing operation and quitting the shared data editing interface.
And when the terminal receives an editing completion instruction through the shared data editing interface, determining that the editing operation on the first shared data is completed, exiting the currently displayed shared data editing interface, and displaying the edited third shared data.
In a possible implementation manner, the shared data editing interface includes an editing completion option, and when a trigger operation on the editing completion option is detected through the shared data editing interface, it is determined that an editing completion instruction is received. The trigger operation may be a single-click operation, a double-click operation, a long-press operation, or other types of operations.
According to the method provided by the embodiment of the invention, when the first shared data is displayed, an editing instruction for the first shared data can be received, a shared data editing interface is displayed, the first shared data is edited in the shared data editing interface to obtain third shared data, and the third shared data is displayed. By editing the generated shared data, the shared data can be designed according to the own preference of the user, individual shared data can be customized, the style of the shared data is enriched, and the selectivity of the shared data is improved.
A first point to be described is that when the third shared data is displayed, the third shared data may also be stored and shared, and the storage process and the sharing process are similar to those in the embodiment shown in fig. 3 and are not described herein again.
The second point to be described is that, in the embodiment of the present invention, only the first shared data is edited in the shared data editing interface, and in another embodiment, an auditing mechanism may be further added to audit the shared data.
In a possible implementation manner, when the terminal receives an editing completion instruction, the third shared data is audited, if the audit is passed, the edited shared data is allowed to be displayed, and the subsequent storage operation or the sharing operation is also allowed to be executed, if the audit is not passed, the edited shared data is not allowed to be displayed, and prompt information is also displayed so as to prompt a user that the shared data does not meet the audit requirement and needs to be changed.
The auditing process may include auditing the changed background picture or text information to prevent sensitive information from appearing in the changed background picture or text information.
In a possible implementation manner, when detecting that the background picture or the text information is changed, the terminal audits the changed background picture or the text information, if the audit is passed, the subsequent steps are allowed to be executed, and if the audit is not passed, the terminal displays prompt information to prompt a user that the changed picture or text information does not meet the audit requirement.
In another possible implementation manner, when the terminal receives an editing completion instruction, the terminal audits the background picture and the text information in the third shared data, if the audit is passed, the edited shared data is allowed to be displayed, and the subsequent storage operation or the sharing operation is also allowed to be executed, and if the audit is not passed, the prompt information is displayed to prompt the user that the background picture or the text information in the third shared data does not meet the audit requirement, and the background picture or the text information needs to be changed.
In another possible implementation manner, when the terminal receives the saving instruction or the sharing instruction, the terminal audits the background picture or the text information in the third shared data, if the audit is passed, the saving operation or the sharing operation is allowed to be executed, and if the audit is not passed, the prompt information is displayed to prompt the user that the background picture or the text information in the third shared data does not meet the audit requirement, and the user is prohibited to save or share the background picture or the text information.
According to the embodiment of the invention, by adding the auditing mechanism, the edited shared data can be audited, so that sensitive information in the shared data is prevented, and the edited shared data is ensured to meet the requirements.
The third point to be described is that after the terminal generates the third shared data, the generated third shared data may be uploaded to the server, and the server stores the third shared data.
In a possible implementation manner, the server receives third shared data uploaded by the terminal, acquires a template corresponding to the third shared data according to the third shared data, stores the template, and subsequently generates corresponding shared data according to the template by other users.
In another possible implementation manner, the server receives third shared data uploaded by the terminal, acquires a background picture corresponding to the third shared data from the third shared data, stores the background picture, and subsequently, other users can acquire the background picture and generate corresponding shared data by using the background picture.
According to the embodiment of the invention, the edited shared data is uploaded to the server through the terminal, so that the updating of the material information can be realized, and the style of the shared data is enriched.
A fourth point to be described is that, on the basis of the embodiment shown in fig. 3 and fig. 18, when the terminal displays the first information display interface for the first time, a cover interface is displayed in the displayed first information display interface, and the cover interface is used for guiding the user to learn the corresponding functions, introducing each function in the first information display interface, guiding the user to generate shared data, continuing to display the cover interface, guiding the user to enter the shared data editing interface, continuing to display the cover interface in the shared data editing interface, continuing to introduce the functions of the shared data editing interface through the cover interface, and so on until the function introduction is completed, ending displaying the cover interface.
In a possible implementation manner, when the covering interface is displayed, an exit option may be further included, and when a trigger operation on the exit option is detected, the displaying of the covering interface is directly ended. When the first information presentation interface is displayed next time, the cover interface is not displayed any more.
According to the method and the device, the covering interface is displayed when the first information display interface is displayed for the first time, and the functions of each interface are introduced through the covering interface, so that a user can conveniently know the functions of each interface, the user can conveniently use the covering interface, and the time for the user to learn to know the functions of each interface is saved.
Fig. 23 is a flowchart of another shared data generation method according to an embodiment of the present invention, and referring to fig. 23, the method includes:
2301. and the first terminal displays a sharing data link shared by the second user identifier to the currently logged first user identifier.
The first terminal logs in based on the first user identification, the second terminal logs in based on the second user identification, and the first user identification and the second user identification have an incidence relation, namely the first user identification and the second user identification are in a friend relation.
The method comprises the steps that a second terminal generates sharing data, when a sharing instruction is received, an identification selection interface is displayed and comprises at least one of a personal user identification and a group user identification which are related to a currently logged-in second user identification, a first user identification selected from the identification selection interface is obtained, a sharing data link is generated according to the currently displayed sharing data, the sharing data link is shared to the first user identification, and the first terminal can display the sharing data link through a guiding function application.
Optionally, when the guidance function application runs in an internet application, the first terminal logs in the internet application based on the first user identifier, so as to log in the guidance function application based on the first user identifier, the second terminal logs in the internet application based on the second user identifier, so as to log in the guidance function application based on the second user identifier, and the first terminal displays a session interface of the first user identifier and the second user identifier through the internet application, where the session interface includes a shared data link shared by the second user identifier to the first user identifier. Or when the guidance function application is an application independently running on the terminal, the first terminal logs in the guidance function application based on the first user identifier, the second terminal logs in the guidance function application based on the second user identifier, the first terminal starts the guidance function application, a session interface of the first user identifier and the second user identifier is displayed through the guidance function application, and the session interface comprises a sharing data link shared by the second user identifier to the first user identifier.
The shared data link comprises shared data generated by a first target element and a second user identifier according to material information corresponding to the first target element, and the shared data comprises the second user identifier, a background picture, a graphic code, element information, character information and the like.
The process of generating and sharing the shared data by the second terminal is similar to the embodiment shown in fig. 3 and fig. 18, and is not described herein again.
2302. When the first terminal receives a trigger instruction for the shared data link, a first target element and shared data are obtained, and a shared data generation option is displayed based on the obtained first target element and shared data.
The first terminal displays the shared data link, when a trigger instruction of the shared data link is received, shared data in the shared data link and shared data generation options are displayed, and a user using the first terminal can view the shared data generated by the second terminal in the shared data display interface.
The shared data generation option is used for indicating to jump to an application interface displaying the guidance function application, the application interface may be a first information display interface, or may also be an interface for generating shared data for the first user identifier, and the first terminal may generate own shared data in the interface.
Optionally, when the guidance function application runs in the internet application, the first terminal jumps to the guidance function application when receiving a trigger instruction for the shared data link through the internet application, and displays the shared data in the shared data link and a shared data generation option through the guidance function application.
As shown in fig. 24, when the first terminal receives the trigger instruction of the shared data link, the shared data generated by the second user identifier is displayed, and the save option and the shared data generation option "view more" are displayed.
2303. When the triggering operation of the sharing data generation option is detected, the first terminal determines that a sharing data generation instruction of the first target element is received.
2304. The first terminal generates sharing data according to the material information corresponding to the first target element based on the sharing data generation instruction.
The process of step 2303-2304 is similar to that of step 301-304, and will not be described herein again.
It should be noted that, after the step 2304, operations similar to the above-mentioned steps 305 and 306 may be further performed to switch the used templates, or operations similar to the steps 1805 and 1807 may be further performed to edit the generated sharing data, so as to obtain the edited sharing data. Or may also perform a save operation or a share operation, etc.
According to the method provided by the embodiment of the invention, the first terminal displays the shared data link shared by the second user identifier, when a trigger instruction for the shared data link is received, the shared data and the shared data generation option in the shared data link are displayed, when the trigger operation for the shared data generation option is detected, the shared data generation instruction for the target element corresponding to the shared data is determined to be received, and the shared data generated according to the material information corresponding to the target element is displayed based on the shared data generation instruction. The shared data can be stored or shared subsequently, so that the shared data can be conveniently spread, more users are attracted to generate the shared data, the application range of the shared data is expanded, and the function of the shared data is expanded.
Fig. 25 is a schematic structural diagram of a shared data generation apparatus according to an embodiment of the present invention, and referring to fig. 25, the apparatus includes:
a first obtaining module 2501, configured to obtain at least one alternative element, where the at least one alternative element includes at least one of at least one location point in a target geographic area or a preset theme of the target geographic area;
a receiving module 2502, configured to receive a shared data generation instruction for a first target element in the at least one candidate element, where the shared data generation instruction is used to instruct generation of shared data of the first target element;
the generating module 2503 is configured to generate, based on the shared data generating instruction, first shared data according to the material information corresponding to the first target element.
The device provided by the embodiment of the invention obtains at least one alternative element, wherein the at least one alternative element comprises at least one of at least one position point in the target geographic area or a preset theme of the target geographic area; receiving a shared data generation instruction of a first target element in at least one alternative element, wherein the shared data generation instruction is used for indicating generation of shared data of the first target element; and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction. The embodiment of the invention provides a mode for generating sharing data, which can generate the sharing data for a target geographic area so as to share the sharing data with other users, a paper postcard is not needed, the sharing data is convenient for the users to carry, the limitation of the paper postcard is broken, the generation process is convenient and quick, and the operation efficiency is improved.
In one possible implementation, referring to fig. 26, the receiving module 2502 includes:
a first display unit 25021, configured to display a first information display interface, where the first information display interface includes at least one location point;
a first determining unit 25022, configured to determine that a shared data generating instruction for a target location point is received when a trigger operation on the target location point in a first information display interface is detected;
the second determining unit 25023 is configured to display a sharing data generation option of a target location point when a trigger operation on the target location point in the first information display interface is detected; when the triggering operation of the shared data generation option is detected, determining that a shared data generation instruction of a target position point is received;
the first information display interface further includes a shared data generation option, and the third determining unit 25024 is configured to determine that a shared data generation instruction for a first target element is received when a trigger operation on the shared data generation option is detected, where the first target element is a target element that is set by default in the at least one candidate element.
In another possible implementation, referring to fig. 26, the receiving module 2502 includes:
a second display unit 25025, configured to display a second information display interface, where the second information display interface includes a material information query option;
a third display unit 25026, configured to display a third information display interface when a trigger operation on the material information query option is detected, where the third information display interface includes at least one alternative element and material information of the at least one alternative element;
a fourth display unit 25027, configured to display a sharing data generation option when a trigger operation on the first target element is detected;
the fourth determining unit 25028 is configured to determine that a shared data generation instruction for the first target element is received when a trigger operation on the shared data generation option is detected.
In another possible implementation, referring to fig. 26, the first obtaining module 2501 includes:
a fifth display unit 25011, configured to display a shared data link in which the second user identifier is shared with the currently logged first user identifier, where the shared data link includes a first target element and shared data generated by the second user identifier according to the material information corresponding to the first target element;
a first obtaining unit 25012, configured to obtain a first target element and shared data when a trigger instruction for linking shared data is received;
a sixth display unit 25013, configured to display a sharing data generation option based on the acquired first target element and the sharing data;
the receiving module 2502, see fig. 26, includes:
a fifth determining unit 25029, configured to determine that a shared data generation instruction for the first target element is received when a triggering operation on the shared data generation option is detected.
In another possible implementation, referring to fig. 26, the generating module 2503 includes:
the second obtaining unit 25031 is configured to obtain material information corresponding to the first target element, and generate first shared data of the first target element according to the material information.
In another possible implementation manner, the first shared data is obtained by processing the material information according to the first template, referring to fig. 26, and the apparatus further includes:
a second obtaining module 2504, configured to, when receiving the template switching instruction, obtain a second template switched by the first template based on the template switching instruction;
the processing module 2505 is configured to process the material information according to the second template to obtain second shared data.
In another possible implementation, referring to fig. 26, the apparatus further includes:
the first display module 2506 is configured to display a shared data editing interface when an editing instruction for the first shared data is received;
the editing module 2507 is configured to edit the first shared data according to the editing operation detected in the shared data editing interface, so as to obtain third shared data.
In another possible implementation, referring to fig. 26, the apparatus further includes:
the second display module 2508 is configured to display a shared data display interface, where the shared data display interface includes the first shared data and at least one candidate element;
a receiving module 2502, configured to determine that a shared data generating instruction for a second target element in the at least one candidate element is received when a selection operation on the second target element is detected;
the generating module 2503 is configured to generate fourth shared data according to the material information of the second target element based on the received shared data generating instruction.
In another possible implementation, referring to fig. 26, the apparatus further includes:
the saving module 2509 is configured to, when a saving instruction for the currently generated shared data is received, save the shared data in the picture database.
In another possible implementation, referring to fig. 26, the apparatus further includes:
a third display module 2510, configured to display an identifier selection interface when a sharing instruction for currently generated shared data is received, where the identifier selection interface includes at least one of an individual user identifier and a group user identifier associated with a currently logged-in first user identifier;
a third obtaining module 2511, configured to obtain a third user identifier selected from the identifier selection interface;
and the sharing module 2512 is configured to generate a shared data link according to the shared data, and share the shared data link to the third user identifier.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
It should be noted that: in the shared data display apparatus provided in the above embodiment, when displaying shared data, only the division of the above function modules is used for illustration, and in practical applications, the function distribution may be completed by different function modules according to needs, that is, the internal structure of the terminal is divided into different function modules, so as to complete all or part of the above described functions. In addition, the embodiment of the shared data display device provided by the above embodiment and the embodiment of the shared data generation method belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiment and are not described herein again.
Fig. 27 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 2700 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), a notebook computer, a desktop computer, a head-mounted device, or any other intelligent terminal. Terminal 2700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, the terminal 2700 includes: a processor 2701 and memory 2702.
The processor 2701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 2701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), a Field-Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA). The processor 2701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 2701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 2701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
The memory 2702 may include one or more computer-readable storage media, which may be non-transitory. Memory 2702 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 2702 is used to store at least one instruction that is used to be possessed by the processor 2701 to implement the shared data generating method provided by the method embodiments of the present application.
In some embodiments, the terminal 2700 may further include: a peripheral interface 2703 and at least one peripheral. The processor 2701, the memory 2702, and the peripheral interface 2703 may be connected by a bus or signal lines. Various peripheral devices may be connected to peripheral interface 2703 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 2704, touch display 2705, camera assembly 2706, audio circuitry 2707, and power supply 2709.
The peripheral interface 2703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 2701 and the memory 2702. In some embodiments, processor 2701, memory 2702, and peripheral interface 2703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2701, the memory 2702, and the peripheral interface 2703 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 2704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 2704 communicates with communications networks and other communications equipment via electromagnetic signals. The radio frequency circuit 2704 converts an electrical signal into an electromagnetic signal to transmit the electromagnetic signal, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuitry 2704 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 2704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 8G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 2704 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 2705 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 2705 is a touch display, the display 2705 also has the ability to capture touch signals on or over the surface of the display 2705. The touch signal may be input to the processor 2701 as a control signal for processing. At this point, the display 2705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 2705 may be one, providing a front panel of the terminal 2700; in other embodiments, the display 2705 can be at least two, respectively disposed on different surfaces of the terminal 2700 or in a folded design; in still other embodiments, the display 2705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 2700. Even more, the display 2705 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display 2705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 2706 is used to capture images or video. Optionally, camera assembly 2706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 2706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 2707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 2701 for processing or inputting the electric signals to the radio frequency circuit 2704 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location on the terminal 2700. The microphone may also be an array microphone or an omni-directional acquisition microphone. The speaker is used to convert electrical signals from the processor 2701 or the radio frequency circuitry 2704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 2707 may also include a headphone jack.
The power supply 2709 is used to power the various components within the terminal 2700. The power source 2709 may be an alternating current, direct current, disposable battery, or rechargeable battery. When power source 2709 comprises a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 2700 also includes one or more sensors 2710. The one or more sensors 2710 include, but are not limited to: acceleration sensor 2711, gyro sensor 2712, pressure sensor 2713, optical sensor 2715, and proximity sensor 2716.
The acceleration sensor 2711 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 2700. For example, the acceleration sensor 2711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 2701 can control the touch display screen 2705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2711. The acceleration sensor 2711 may also be used for acquisition of motion data of a game or a user.
Gyroscope sensor 2712 can detect the body direction and the rotation angle of terminal 2700, and gyroscope sensor 2712 can cooperate with acceleration sensor 2711 to acquire the 3D motion of the user to terminal 2700. From the data collected by gyroscope sensor 2712, processor 2701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 2713 may be disposed on the side frames of the terminal 2700 and/or on the lower layers of the touch display 2705. When the pressure sensor 2713 is disposed on the side frame of the terminal 2700, a user's grip signal to the terminal 2700 can be detected, and left-right hand recognition or shortcut operation is performed by the processor 2701 according to the grip signal collected by the pressure sensor 2713. When the pressure sensor 2713 is disposed at the lower layer of the touch display 2705, the processor 2701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 2705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The optical sensor 2715 is used to collect the ambient light intensity. In one embodiment, the processor 2701 may control the display brightness of the touch display 2705 based on the ambient light intensity collected by the optical sensor 2715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2705 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2705 is turned down. In another embodiment, processor 2701 may also dynamically adjust the camera module's 2706 camera parameters based on the ambient light intensity collected by optical sensor 2715.
Proximity sensor 2716, also known as a distance sensor, is typically disposed on the front panel of terminal 2700. The proximity sensor 2716 is used to acquire the distance between the user and the front surface of the terminal 2700. In one embodiment, when proximity sensor 2716 detects that the distance between the user and the front face of terminal 2700 is gradually decreased, processor 2701 controls touch display 2705 to switch from a bright screen state to a silent screen state; when the proximity sensor 2716 detects that the distance between the user and the front surface of the terminal 2700 becomes gradually larger, the touch display screen 2705 is controlled by the processor 2701 to be switched from a message screen state to a bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 27 does not constitute a limitation of terminal 2700, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
Fig. 28 is a schematic structural diagram of a server 2800 according to an embodiment of the present invention, where the server 2800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 2801 and one or more memories 2802, where the memory 2802 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 2801 to implement the methods provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The server 2800 can be used to perform the steps performed by the servers in the shared data generating method described above.
The embodiment of the present invention further provides a shared data generating apparatus, where the apparatus includes a processor and a memory, where the memory stores at least one instruction, at least one section of program, code set, or instruction set, and the instruction, the program, the code set, or the instruction set is loaded by the processor and has an operation for implementing the shared data generating method of the foregoing embodiment.
An embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the computer-readable storage medium, and the instruction, the program, the code set, or the instruction set is loaded by a processor and has an operation to implement the shared data generation method in the foregoing embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (14)

1. A method for generating shared data, the method comprising:
displaying a shared data link shared by a second user identifier to a currently logged first user identifier, wherein the shared data link comprises a first target element in at least one alternative element and shared data generated by the second user identifier according to material information corresponding to the first target element, and the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area;
when a trigger instruction for the shared data link is received, acquiring the first target element and the shared data, and displaying a shared data and shared data generation option based on the acquired first target element and the shared data, wherein the shared data generation option is used for indicating to jump to an application interface, and the application interface is used for generating the shared data;
when the triggering operation of the shared data generation option is detected, determining that a shared data generation instruction for the first target element is received, wherein the shared data generation instruction is used for indicating generation of shared data of the first target element;
and generating first shared data according to the material information corresponding to the first target element based on the shared data generation instruction.
2. The method of claim 1, further comprising:
displaying a first information presentation interface, wherein the first information presentation interface comprises the at least one position point;
when the trigger operation on a target position point in the first information display interface is detected, determining that a shared data generation instruction of the target position point is received; alternatively, the first and second electrodes may be,
when the triggering operation of the target position point in the first information display interface is detected, displaying a sharing data generation option of the target position point, and when the triggering operation of the sharing data generation option is detected, determining that a sharing data generation instruction of the target position point is received; alternatively, the first and second electrodes may be,
the first information display interface further comprises a shared data generation option, and when a trigger operation on the shared data generation option is detected, a shared data generation instruction for the first target element is determined to be received, wherein the first target element is a target element which is set by default in the at least one alternative element.
3. The method of claim 1, further comprising:
displaying a second information display interface, wherein the second information display interface comprises a material information query option;
when the triggering operation of the material information query option is detected, displaying a third information display interface, wherein the third information display interface comprises the at least one alternative element and the material information of the at least one alternative element;
when the triggering operation of the first target element is detected, displaying a sharing data generation option;
when the triggering operation of the sharing data generation option is detected, determining that a sharing data generation instruction of the first target element is received.
4. The method according to claim 1, wherein the generating of the first shared data according to the material information corresponding to the first target element based on the shared data generating instruction includes:
and acquiring material information corresponding to the first target element, and generating first sharing data of the first target element according to the material information.
5. The method according to claim 1, wherein the first shared data is obtained by processing the material information according to a first template, and after generating the first shared data according to the material information corresponding to the first target element based on the shared data generating instruction, the method further comprises:
when a template switching instruction is received, acquiring a second template switched by the first template based on the template switching instruction;
and processing the material information according to the second template to obtain second shared data.
6. The method according to claim 1, wherein after generating first shared data according to material information corresponding to the first target element based on the shared data generation instruction, the method further comprises:
when an editing instruction of the first shared data is received, displaying a shared data editing interface;
and editing the first shared data according to the editing operation detected in the shared data editing interface to obtain third shared data.
7. The method according to claim 1, wherein after generating first shared data according to material information corresponding to the first target element based on the shared data generation instruction, the method further includes:
displaying a shared data display interface, wherein the shared data display interface comprises the first shared data and the at least one alternative element;
when the selection operation of a second target element in the at least one alternative element is detected, determining that a sharing data generation instruction of the second target element is received, and generating fourth sharing data according to material information of the second target element based on the received sharing data generation instruction.
8. The method according to any one of claims 1-7, further comprising:
and when a storage instruction of the currently generated shared data is received, storing the shared data into a picture database.
9. The method according to any one of claims 1-7, further comprising:
when a sharing instruction of currently generated shared data is received, displaying an identification selection interface, wherein the identification selection interface comprises at least one of a personal user identification and a group user identification which are associated with a currently logged-in first user identification;
acquiring a third user identifier selected from the identifier selection interface;
and generating a shared data link according to the shared data, and sharing the shared data link to the third user identifier.
10. A shared data generation apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring at least one alternative element, and the at least one alternative element comprises at least one of at least one position point in a target geographic area or a preset theme of the target geographic area;
a receiving module, configured to receive a shared data generation instruction for a first target element in the at least one candidate element, where the shared data generation instruction is used to instruct generation of shared data of the first target element;
the generating module is used for generating first shared data according to the material information corresponding to the first target element based on the shared data generating instruction;
the first obtaining module includes:
a fifth display unit, configured to display a shared data link shared by a second user identifier to a currently logged first user identifier, where the shared data link includes a first target element in the at least one candidate element and shared data generated by the second user identifier according to material information corresponding to the first target element;
the first obtaining unit is used for obtaining the first target element and the shared data when a trigger instruction of the shared data link is received;
a sixth display unit, configured to display a shared data generation option based on the acquired first target element and the shared data, where the shared data generation option is used to instruct to jump to an application interface, and the application interface is an interface used for generating shared data;
the receiving module comprises:
and the receiving unit is used for determining that a shared data generation instruction for the first target element is received when the triggering operation of the shared data generation option is detected.
11. The apparatus of claim 10, wherein the receiving module comprises:
the first display unit is used for displaying a first information display interface, and the first information display interface comprises the at least one position point;
the first determining unit is used for determining that a shared data generating instruction of a target position point is received when the triggering operation of the target position point in the first information display interface is detected;
the second determining unit is used for displaying a sharing data generation option of the target position point when the triggering operation of the target position point in the first information display interface is detected; when the triggering operation of the shared data generation option is detected, determining that a shared data generation instruction of the target position point is received;
the first information display interface further comprises a shared data generation option, and a third determination unit is configured to determine that a shared data generation instruction for the first target element is received when a trigger operation on the shared data generation option is detected, where the first target element is a target element that is set by default in the at least one candidate element.
12. The apparatus of claim 10, wherein the receiving module comprises:
the second display unit is used for displaying a second information display interface, and the second information display interface comprises material information inquiry options;
the third display unit is used for displaying a third information display interface when the triggering operation of the material information query option is detected, wherein the third information display interface comprises the at least one alternative element and the material information of the at least one alternative element;
the fourth display unit is used for displaying a sharing data generation option when the triggering operation of the first target element is detected;
a fourth determining unit, configured to determine that a shared data generation instruction for the first target element is received when a trigger operation on the shared data generation option is detected.
13. A shared data generating apparatus, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the operations performed in the shared data generating method according to any one of claims 1 to 9.
14. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the operations performed in the shared data generating method according to any one of claims 1 to 9.
CN201910691320.9A 2019-07-29 2019-07-29 Shared data generation method and device and storage medium Active CN110377200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910691320.9A CN110377200B (en) 2019-07-29 2019-07-29 Shared data generation method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910691320.9A CN110377200B (en) 2019-07-29 2019-07-29 Shared data generation method and device and storage medium

Publications (2)

Publication Number Publication Date
CN110377200A CN110377200A (en) 2019-10-25
CN110377200B true CN110377200B (en) 2022-06-24

Family

ID=68256940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910691320.9A Active CN110377200B (en) 2019-07-29 2019-07-29 Shared data generation method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110377200B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190528B (en) * 2019-12-31 2022-09-16 维沃移动通信有限公司 Brush display method, electronic equipment and storage medium
CN113783909B (en) * 2020-06-10 2024-01-02 腾讯科技(深圳)有限公司 Data demand generation method, device, terminal, server and storage medium
CN114449090B (en) * 2020-11-05 2023-02-03 华为技术有限公司 Data sharing method, device and system, electronic equipment, storage medium and chip
CN114584599B (en) * 2022-03-18 2023-05-16 北京字跳网络技术有限公司 Game data processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963960A (en) * 2009-07-22 2011-02-02 刘旸 Travel route and scheduling generation method and server
CN102193965A (en) * 2010-03-03 2011-09-21 宏达国际电子股份有限公司 Method, device and system for browsing spot information
CN105741091A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Resource sharing method and system as well as resource acquisition method
CN106484830A (en) * 2016-09-29 2017-03-08 北京百度网讯科技有限公司 Position sharing method, device and system
CN107977907A (en) * 2017-11-20 2018-05-01 珠海市魅族科技有限公司 Sight spot detail information inspection method, device, computer installation, storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100269069A1 (en) * 2009-04-17 2010-10-21 Nokia Corporation Method and apparatus of associating and maintaining state information for applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963960A (en) * 2009-07-22 2011-02-02 刘旸 Travel route and scheduling generation method and server
CN102193965A (en) * 2010-03-03 2011-09-21 宏达国际电子股份有限公司 Method, device and system for browsing spot information
CN105741091A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Resource sharing method and system as well as resource acquisition method
CN106484830A (en) * 2016-09-29 2017-03-08 北京百度网讯科技有限公司 Position sharing method, device and system
CN107977907A (en) * 2017-11-20 2018-05-01 珠海市魅族科技有限公司 Sight spot detail information inspection method, device, computer installation, storage medium

Also Published As

Publication number Publication date
CN110377200A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110377200B (en) Shared data generation method and device and storage medium
CN110377365B (en) Method and device for showing small program
CN114205324B (en) Message display method, device, terminal, server and storage medium
CN109168073B (en) Method and device for displaying cover of live broadcast room
CN109327608B (en) Song sharing method, terminal, server and system
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN109167937B (en) Video distribution method, device, terminal and storage medium
CN110932963B (en) Multimedia resource sharing method, system, device, terminal, server and medium
CN108897597B (en) Method and device for guiding configuration of live broadcast template
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
CN110377195B (en) Method and device for displaying interaction function
CN112181573A (en) Media resource display method, device, terminal, server and storage medium
CN111628925B (en) Song interaction method, device, terminal and storage medium
CN114116053B (en) Resource display method, device, computer equipment and medium
CN111711838B (en) Video switching method, device, terminal, server and storage medium
CN113490010B (en) Interaction method, device and equipment based on live video and storage medium
CN112363660B (en) Method and device for determining cover image, electronic equipment and storage medium
CN113395566B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN110750734A (en) Weather display method and device, computer equipment and computer-readable storage medium
CN112052355B (en) Video display method, device, terminal, server, system and storage medium
CN113204671A (en) Resource display method, device, terminal, server, medium and product
CN112822544B (en) Video material file generation method, video synthesis method, device and medium
CN110400179B (en) Identification data acquisition method, device and storage medium
CN113190307A (en) Control adding method, device, equipment and storage medium
CN113609358A (en) Content sharing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant